{"_id":"7dtd-telnet-client","_rev":"3-84d53295ddc0a506ed28e8a230a3766e","name":"7dtd-telnet-client","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"7dtd-telnet-client","version":"0.1.0","description":"Simple Telnet client of 7 Days to Die Dedicated Game Server for Nodejs","main":"dist/index.js","types":"dist/types/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf dist && rollup --config rollup.config.js --configPlugin typescript"},"keywords":["7 days to die","game","telnet","client","server","typescript","automation"],"author":{"name":"bistalink"},"license":"MIT","devDependencies":{"@rollup/plugin-typescript":"^11.1.2","rimraf":"^5.0.1","rollup":"^3.26.2","ts-node":"^10.9.1","tslib":"^2.6.0","typescript":"^5.1.6"},"_id":"7dtd-telnet-client@0.1.0","_nodeVersion":"18.12.1","_npmVersion":"9.7.2","dist":{"integrity":"sha512-pQ/j4iUNaN60ujYxVNjl/CLdtiNKk+lGD/c1kVb6b9RQ7kX3Z0axDiU1v3gIHjs4WbXDZzJlX1+6rolLEMj00A==","shasum":"62e1cc3ed6155c1790cb6801108e64625316bf31","tarball":"https://registry.npmjs.org/7dtd-telnet-client/-/7dtd-telnet-client-0.1.0.tgz","fileCount":4,"unpackedSize":7106,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDChJNNPYwRRM/2SBA2PLl1bANyfJeuAth7gJqOYiKc3wIgRiA/MgSjtdZL+2BYMRp4U9ZoJY+1fUZEG3bSdc3ejQQ="}]},"_npmUser":{"name":"bistalink0325","email":"biteredm@gmail.com"},"directories":{},"maintainers":[{"name":"bistalink0325","email":"biteredm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/7dtd-telnet-client_0.1.0_1689603151024_0.21805376186241943"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.1":{"name":"7dtd-telnet-client","version":"0.1.1","description":"Simple Telnet client of 7 Days to Die Dedicated Game Server for Nodejs","main":"dist/index.js","types":"dist/types/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf dist && rollup --config rollup.config.js --configPlugin typescript"},"keywords":["7 days to die","game","telnet","client","server","typescript","automation"],"author":{"name":"bistalink"},"license":"MIT","devDependencies":{"@rollup/plugin-typescript":"^11.1.2","rimraf":"^5.0.1","rollup":"^3.26.2","ts-node":"^10.9.1","tslib":"^2.6.0","typescript":"^5.1.6"},"_id":"7dtd-telnet-client@0.1.1","_nodeVersion":"18.12.1","_npmVersion":"9.7.2","dist":{"integrity":"sha512-6hgygPrxLO8+aWzZoXvNkNjPrdqrRBgkO7hUzZ9X3BBUm+iLOvVQneNXpzngciQueOaVni5zKgRz3eBOAjs7GQ==","shasum":"d52846b6eb9a4bbd5ac7dd6e769dc3998dfba52d","tarball":"https://registry.npmjs.org/7dtd-telnet-client/-/7dtd-telnet-client-0.1.1.tgz","fileCount":5,"unpackedSize":8305,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfkb+0nYOb8FrHP/TvmVa+WpjrbUv54xPi8hAiq5msXgIgdhn3GQDvsSG6OTMhMip+zXeduV7qKc45hHxF5+2zb/A="}]},"_npmUser":{"name":"bistalink0325","email":"biteredm@gmail.com"},"directories":{},"maintainers":[{"name":"bistalink0325","email":"biteredm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/7dtd-telnet-client_0.1.1_1689604443530_0.02641363530577423"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.1.2":{"name":"7dtd-telnet-client","version":"0.1.2","description":"Simple Telnet client of 7 Days to Die Dedicated Game Server for Nodejs","main":"dist/index.js","types":"dist/types/index.d.ts","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"rimraf dist && rollup --config rollup.config.js --configPlugin typescript"},"keywords":["7 days to die","game","telnet","client","server","typescript","automation"],"author":{"name":"bistalink"},"license":"MIT","devDependencies":{"@rollup/plugin-typescript":"^11.1.2","rimraf":"^5.0.1","rollup":"^3.26.2","ts-node":"^10.9.1","tslib":"^2.6.0","typescript":"^5.1.6"},"_id":"7dtd-telnet-client@0.1.2","_nodeVersion":"18.12.1","_npmVersion":"9.7.2","dist":{"integrity":"sha512-ggAUwsSWIIAwybONGihoViMRGmlGCLu0gs+LDUuanfUQ96cijcQCN9Uo8xsK1TLeeR/8Zi3DfCh6jfQXhewpMA==","shasum":"d5632c2315e843dd8366f304f3766af4e2b84e0d","tarball":"https://registry.npmjs.org/7dtd-telnet-client/-/7dtd-telnet-client-0.1.2.tgz","fileCount":5,"unpackedSize":8337,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICLywg/mJ5EmYv/GlxuDoG74C3EbUCMMzXRU9D9QZQToAiA1Op9pShy5wlr2+PLEZBUAUj/NHpDZagZFzlXVztyqrg=="}]},"_npmUser":{"name":"bistalink0325","email":"biteredm@gmail.com"},"directories":{},"maintainers":[{"name":"bistalink0325","email":"biteredm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/7dtd-telnet-client_0.1.2_1689604590209_0.8399282940159192"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2023-07-17T14:12:30.920Z","0.1.0":"2023-07-17T14:12:31.324Z","modified":"2024-05-15T15:54:58.325Z","0.1.1":"2023-07-17T14:34:03.688Z","0.1.2":"2023-07-17T14:36:30.376Z"},"maintainers":[{"name":"bistalink0325","email":"biteredm@gmail.com"}],"description":"Simple Telnet client of 7 Days to Die Dedicated Game Server for Nodejs","keywords":["7 days to die","game","telnet","client","server","typescript","automation"],"author":{"name":"bistalink"},"license":"MIT","readme":"## Overview\r\n\r\n7dtd-telnet-client is a simple client for nodejs that enables you to send a command to your running Dedicated 7 Days to Die Game Server. (Currently Works with Alpha 21)\r\n\r\n## Quick Start Guide\r\n\r\nInstall with `npm install --save 7dtd-telnet-client` from your project directory.\r\n\r\n\r\n### Basic usage\r\n\r\n```javascript\r\nimport ServerManager from '7dtd-telnet-client';\r\n\r\n// Create a server manager\r\nconst manager = new ServerManager({\r\n    port: 8081,\r\n    host: \"localhost\"\r\n});\r\n\r\n// Send Say command to server when server manager is ready\r\nmanager.on('ready', ()=>{\r\n    manager.send('Say \"Hello Zombies from Server!!!\"');\r\n})\r\n```\r\n\r\n### Options\r\n\r\nYou can find telnet port number and password of your server by checking `serverconfig.xml` file within your server's root directory. They can be found at `\t<property name=\"TelnetPort\"value=\"XXXX\"/>` and `<property name=\"TelnetPassword\"\t\t\t\t\tvalue=\"\"/>`\r\n\r\n```javascript\r\nconst manager = new ServerManager({\r\n    port: 8081,                 // Port number of your server\r\n    host: 'localhost',          // Host name of your server\r\n    password: '7daystodie1234', // Telnet password of your server\r\n    showServerOutput: false     // Show server log together\r\n})\r\n```","readmeFilename":"README.md"}