Skip to content

rob9315/2b2wTS

Repository files navigation

This is in beta and is still being developed, all things described in this readme may not be final!

2b2wTS

2bored2wait TypeScript

A proxy to wait out 2b2t.org's way too long queue. All made in TypeScript!

2b2wTS Version Issues Counter Discord Server

Table of Contents

  1. About The Project
  2. Getting Started
  3. How to use
  4. Configuration

About The Project

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

Built With

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

Please optain all required items

Installation

  1. 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.
  2. Open a terminal then clone this repo then cd into folder:
 git clone https://github.com/rob9315/2b2wts
 cd 2b2wts
  1. Run npm install to install the required libraries
  2. Start the program with npm start.

Configuration

  • You can change all credentials and whether you want update messages by simply editing the values in local.js or deleting that file.

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. 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.
  2. Run npm start
  3. Follow the instructions on screen to setup.
  4. Refer to Commands on how to use 2b2wTS from the console. Otherwise keep on reading for the web interface.
  5. Now open a browser and navigate to http://localhost: your web port here (default 80).
  6. Press the "Start queuing" 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.
  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.

Commands

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 or exit will close the application

License

Distributed under the GPL-3.0 License. See this for more information.