diff --git a/examples/simple.js b/examples/simple.js index a0c52c1..254b1a1 100644 --- a/examples/simple.js +++ b/examples/simple.js @@ -3,7 +3,9 @@ import { GameDig } from '../lib/index.js' GameDig.query({ type: 'minecraft', - host: 'mc.hypixel.net' + host: 'mc.hypixel.net', + port: 25565, // let us explicitly specify the port + givenPortOnly: true // gamedig will try to attempt multiple ports to ensure success, disable that with this option }).then((state) => { console.log(state) }).catch((error) => {