diff --git a/config.json b/config.json index 46c029b..ea94541 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { - "defaultHost": "95.111.249.143", - "defaultHostPort": 10000, + "defaultHost": "join.mineheroes.org", + "defaultHostPort": 25565, "defaultProxy": "", "defaultProxyPort": 0 } diff --git a/index.js b/index.js index fd577eb..b80f2c9 100644 --- a/index.js +++ b/index.js @@ -142,7 +142,9 @@ async function connect (options) { viewDistance: 'tiny', checkTimeoutInterval: 240 * 1000, noPongTimeout: 240 * 1000, - closeTimeout: 240 * 1000 + closeTimeout: 240 * 1000, + authServer: 'https://mcauth.rom1504.fr', + sessionServer: 'https://mcsession.rom1504.fr' }) hotbar.bot = bot diff --git a/lib/menu.js b/lib/menu.js index 03f11bf..fe2ff6b 100644 --- a/lib/menu.js +++ b/lib/menu.js @@ -288,7 +288,7 @@ class PrismarineMenu extends LitElement {
{ this.password = e.target.value }}> - +
this.dispatchConnect()}> diff --git a/package.json b/package.json index 471170a..2d9335c 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "lit-html": "^1.3.0", "lodash-webpack-plugin": "^0.11.6", "memfs": "^3.2.0", - "mineflayer": "^3.3.3", + "mineflayer": "PrismarineJS/mineflayer#better-yggdrasil", "mineflayer-pathfinder": "^1.6.1", "mocha": "^8.3.0", "os-browserify": "^0.3.0",