bedrock-protocol
bedrock-protocol copied to clipboard
Port not changing
Changing the port on the ping, server, and even the client does not change at all.
Code:
const { createClient, ping } = require(bedrock-protocol);
const client = createClient({ host: "localhost", port: 25565, followPort: true, profilesFolder: "./auth" })
// ping({ host: "localhost", port: 25565 }).then(data => { // console.log(data) // })
Console: Connecting to localhost:19132 Dedicated Server (Bedrock level), version 1.21.2
It is using the java port, as i have another server running on the latest version of minecraft, but the 25565 port is also a bedrock just running on 1.21.2