mirror of
https://code.chipmunk.land/Parker2991/NitoriBot/
synced 2026-12-06 01:15:42 -05:00
16 lines
386 B
JavaScript
16 lines
386 B
JavaScript
const mc = require('minecraft-protocol');
|
|
|
|
const client = mc.createClient({
|
|
host: "amy.lat.",
|
|
port: "25565",
|
|
username: "eee",
|
|
version: "1.20.2",
|
|
hideErrors: false,
|
|
})
|
|
// username, playerUUID
|
|
//client.write('keep_alive');
|
|
client.on('init_client', () => {
|
|
// client.write('login_start', { username: client.username, playerUUID: client.uuid });
|
|
});
|
|
//console.log(client.write);
|