Catalog npm
Back to packageRELEASE DETAILS

0.1.2

npm

7dtd-telnet-client

Simple Telnet client of 7 Days to Die Dedicated Game Server for Nodejs

7 days to dieautomationclientgameservertelnettypescript
Published17 Jul 2023
Direct dependencies6
Transitive dependenciesNot calculated

README

Current package documentation

Overview

7dtd-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)

Quick Start Guide

Install with npm install --save 7dtd-telnet-client from your project directory.

Basic usage

import ServerManager from '7dtd-telnet-client';

// Create a server manager
const manager = new ServerManager({
    port: 8081,
    host: "localhost"
});

// Send Say command to server when server manager is ready
manager.on('ready', ()=>{
    manager.send('Say "Hello Zombies from Server!!!"');
})

Options

You 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 <property name="TelnetPort"value="XXXX"/> and <property name="TelnetPassword" value=""/>

const manager = new ServerManager({
    port: 8081,                 // Port number of your server
    host: 'localhost',          // Host name of your server
    password: '7daystodie1234', // Telnet password of your server
    showServerOutput: false     // Show server log together
})

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 6

Native requirements
6 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@rollup/plugin-typescript
Environment
{
  "local_name": "@rollup/plugin-typescript",
  "alias": false,
  "peer_metadata": null
}
^11.1.2development
rimraf
Environment
{
  "local_name": "rimraf",
  "alias": false,
  "peer_metadata": null
}
^5.0.1development
rollup
Environment
{
  "local_name": "rollup",
  "alias": false,
  "peer_metadata": null
}
^3.26.2development
ts-node
Environment
{
  "local_name": "ts-node",
  "alias": false,
  "peer_metadata": null
}
^10.9.1development
tslib
Environment
{
  "local_name": "tslib",
  "alias": false,
  "peer_metadata": null
}
^2.6.0development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.1.6development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "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=="
    }
  ]
}

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:08 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:9ea2df4a0c6875f5261ce4f433238cd6d05077ef6bb59e433cc78a151c874e33

Other collected versions

0.1.117 Jul0.1.017 JulView all collected versions →