A proxy to wait out 2b2t.org's way too long queue. All made in TypeScript!
Table of Contents
This is a rewrite in TS of the very popular 2bored2wait project. This can be used to wait out the long 2b2t.org queue without you having to login to the server! It can calculate how much time is left and it has a functional AntiAFK system! This proxy server is controlable through the webserver (that it hosts locally), the console, and the discord bot. A full list of commands is under How to use
To get a local copy up and running follow these simple steps.
Please optain all required items
- A discord bot (optional) (detailed instructions)
- Node 16 Node Downloads
- Git Git Downloads
- Download and install node.js version 16 or above and git. You need git even if you download the repository as zip because it is to install the dependencies via npm.
- Open a terminal then clone this repo then cd into folder:
git clone https://github.com/rob9315/2b2wts
cd 2b2wts
- Run
npm install
to install the required libraries - Start the program with
npm start
.
- You can change all credentials and whether you want update messages by simply editing the values in local.js or deleting that file.
- 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.
- Run
npm start
- Follow the instructions on screen to setup.
- Refer to Commands on how to use 2b2wTS from the console. Otherwise keep on reading for the web interface.
- Now open a browser and navigate to http://localhost: your web port here (default 80).
- Press the "Start queuing" button. The queue position indicator auto-updates, but sometimes it takes a while to start counting (like 1 min).
- Once the queue reaches a low number, connect to the Minecraft server at address
localhost
. - 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.
All commands can be used through discord or simply typed in the console window.
start
will start the queue. It takes between 15-30 seconds for the bot to update with the queue position.stop
will stop the queue.quit
orexit
will close the application
Distributed under the GPL-3.0 License. See this for more information.