mirror of
https://github.com/PrismarineJS/prismarine-web-client.git
synced 2024-11-24 08:37:51 -05:00
make it work by using auth proxies
This commit is contained in:
parent
a17d3dedbc
commit
5815e03b53
4 changed files with 7 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"defaultHost": "95.111.249.143",
|
||||
"defaultHostPort": 10000,
|
||||
"defaultHost": "join.mineheroes.org",
|
||||
"defaultHostPort": 25565,
|
||||
"defaultProxy": "",
|
||||
"defaultProxyPort": 0
|
||||
}
|
||||
|
|
4
index.js
4
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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue