make it work by using auth proxies

This commit is contained in:
Romain Beaumont 2021-03-27 20:37:05 +00:00
parent a17d3dedbc
commit 5815e03b53
4 changed files with 7 additions and 5 deletions

View file

@ -1,6 +1,6 @@
{
"defaultHost": "95.111.249.143",
"defaultHostPort": 10000,
"defaultHost": "join.mineheroes.org",
"defaultHostPort": 25565,
"defaultProxy": "",
"defaultProxyPort": 0
}

View file

@ -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

View file

@ -288,7 +288,7 @@ class PrismarineMenu extends LitElement {
</div>
<div class="user-box">
<input id="password" type="text" name="" required="" value="${this.password}" @input=${e => { this.password = e.target.value }}>
<label>Passwords</label>
<label>Password</label>
</div>
<a id="play" href="#" @click=${() => this.dispatchConnect()}>
<span></span>

View file

@ -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",