mirror of
https://github.com/unmojang/node-minecraft-protocol.git
synced 2025-09-27 13:14:41 -04:00
update README
This commit is contained in:
parent
646c7676c6
commit
c1e5e0a994
@ -36,7 +36,7 @@ var client = mc.createClient({
|
||||
port: 25565, // optional
|
||||
username: "player",
|
||||
email: "email@example.com", // email and password are required only for
|
||||
password: "12345678", // encrypted and online servers
|
||||
password: "12345678", // online-mode=true servers
|
||||
});
|
||||
client.on('packet', function(packet) {
|
||||
if (packet.id !== 0x03) return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user