This repository has been archived by the owner on Oct 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Community suggestions: password, restart
also: config for minecraft version, and auto-opening of the webpage.
- Loading branch information
Themoonisacheese
committed
Jun 2, 2019
1 parent
e0f59a2
commit 925cb0e
Showing
6 changed files
with
82 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,29 @@ | ||
# 2bored2wait | ||
A proxy to wait out 2b2t.org's way too long queue. | ||
|
||
|
||
# How to install | ||
1. Download node.js and install it. On non-windows platforms, you also need npm. | ||
2. Download this repository with the green button (top right of this page). If you downloaded it as zip, unzip it. | ||
3. Open a terminal and navigate to the folder you downloaded it | ||
4. Run `npm install` | ||
5. Copy secrets.json.example and name it secrets.json. Fill out your minecraft information in the file. Note that you must use your email adress and not your minecraft username. | ||
6. If you so wish, edit the configuration in config.json. | ||
7. For trust reasons, this tool does not update automatically. Check back here once in a while to see if there are any updates. | ||
|
||
|
||
# How to use | ||
1. read the code to ensure i'm not stealing your credentials. i'm not, but you shouldn't take my word for it. | ||
2. run `npm install` | ||
3. Copy secrets.json.example and name it secrets.json. Fill out your minecraft information in the file. | ||
1. read the code to ensure i'm not stealing your credentials. i'm not, but you shouldn't take my word for it. If you don't know how to read it, downloading stuff off the internet and giving it your password is probably a bad idea anyway. | ||
4. run `npm start` | ||
5. open a browser window and go to http://localhost (or the adress of the server if you're hosting it elsewhere. yes, this works. just ensure you opened ports 80 (web) and 25565 (minecraft) on your router). | ||
5. a browser window should open. You can close it if you want at any moment, and you can access it again at adress http://localhost | ||
6. press the "Start queing" button. The queue position indicator auto-updates, but sometimes it takes a while to start counting (like 1 min). | ||
7. once the queue reaches a low number, connect to the minecraft server at address `localhost`. Currently, you have to connect BEFORE reaching the end of the queue or you will not spawn in the world correctly (I'm told that sneaking around and right-clicking things eventually makes you spawn correctly but I was not able to verify that). | ||
8. after you log off, click the "stop queuing" button. this is really important, as you will not actually disconnect until you do that. | ||
8. after you log off, click the "stop queuing" button. This is really important, as you will not actually disconnect from 2b2t until you do that. | ||
|
||
# Plans for the future | ||
- make the proxy disconnect when you log off | ||
- add some QOL features, such as anti-sign ban or anti-book ban | ||
|
||
# Known issues | ||
- starting the queue will revoke your minecraft token. this means that you will not be able to join normal minecraft servers until you restart the game | ||
- starting the queue too many times in a row can sometimes boot you out of your minecraft account (starting the queue or connecting in the minecraft client will tell you "wrong email or password"). to fix this, log in to your account at minecraft.net, then restart minecraft. both of these issues are limitations put in place by mojang to prevent account stealing, and are not fixable. | ||
- Some people report not being able to ride animals using this proxy. | ||
- 2b2t sometimes bugs out and removes you from the queue without telling you. In this case, your queue position will no longer move. Reconnect to fix this. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,8 @@ | |
"ports":{ | ||
"minecraft":25565, | ||
"web":80 | ||
} | ||
}, | ||
"openBrowserOnStart": true, | ||
"password":"", | ||
"MCversion":"1.12.2" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters