nodemc_alts
v1.0.6
Published
Connect to thealtening and easymc alts using node minecraft protocol!
Downloads
5
Maintainers
Readme
nodemc_alts
Install
$ npm install nodemc_alts
Usage
Node Minecraft Protocol
NOTICE : you can still create a node mc protocol object using new nodealt();, but due to the addition of mineflayer support, it is advised that you use new nodealt.nodeprotocol();
Easymc
var mc = require('minecraft-protocol');
const nodealt = require('nodemc_alts');
const alt = new nodealt.nodeprotocol();
var client = alt.easymc(TOKENHERE /* required */,SERVERIP HERE /* required */,PORT /* optional */);
client.on('connect', function() {
console.log("connected pog");
});
//...
TheAltening
var mc = require('minecraft-protocol');
const nodealt = require('nodemc_alts');
const alt = new nodealt.nodeprotocol();
var client = alt.altening(TOKENHERE /* required */,SERVERIP HERE /* required */,PORT /* optional */);
client.on('connect', function() {
console.log("connected pog");
});
//...
FastAlts
var mc = require('minecraft-protocol');
const nodealt = require('nodemc_alts');
const alt = new nodealt.nodeprotocol();
var client = alt.fastalts(TOKENHERE /* required */,SERVERIP HERE /* required */,PORT /* optional */);
client.on('connect', function() {
console.log("connected pog");
});
//...
Mineflayer
Easymc
var flayer = require('mineflayer');
const nodealt = require('nodemc_alts');
const alt = new nodealt.mineflayer();
var client = alt.easymc(TOKENHERE /* required */,SERVERIP HERE /* required */,PORT /* optional */);
client.on('connect', function() {
console.log("connected pog");
});
//...
TheAltening
var flayer = require('mineflayer');
const nodealt = require('nodemc_alts');
const alt = new nodealt.mineflayer();
var client = alt.altening(TOKENHERE /* required */,SERVERIP HERE /* required */,PORT /* optional */);
client.on('connect', function() {
console.log("connected pog");
});
//...
FastAlts
var flayer = require('mineflayer');
const nodealt = require('nodemc_alts');
const alt = new nodealt.mineflayer();
var client = alt.fastalts(TOKENHERE /* required */,SERVERIP HERE /* required */,PORT /* optional */);
client.on('connect', function() {
console.log("connected pog");
});
//...