This package has been deprecated

Author message:

No longer maintained. If a new version comes along, it will be very different.

advtxt-telnet

0.0.3 • Public • Published

AdvTxt-telnet

A telnet interface for AdvTxt, used for local testing of your adventures. You know, with friends. There is absolutely no security, and the client's provided username is trusted straight away. This is just for testing!

Installation

npm install advtxt
npm install advtxt-telnet

Usage

Just create a simple JavaScript file that includes your MongoDB connection string as well as the interface.

var mongoUrl = 'mongodb://username:password@localhost/advtxt-test';
var advtxt = new (require('advtxt'))(mongoUrl);
var advtxttelnet = require('advtxt-telnet');

var AdvTxt = new advtxttelnet(advtxt);

Run that with node and you'll be prompted up and running. After that initial prompt, anything you enter will be sent directly to your AdvTxt instance.

Friends should connect to your system's IP at port 6223. The username they enter when prompted will be their username for the full session.

History

  • v0.0.2
    • Update to use AdvTxt v0.0.5-style replies.
  • v0.0.1
    • Initial Release

The MIT License (MIT)

Copyright (c) 2014 Nathan Wittstock

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i advtxt-telnet

    Weekly Downloads

    2

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • fardog