Pork2b2tBot
This is a web overview of 2b2t. It’s still under contruction, and a lot of things are broken or unimplemented. You can view the source code here.
Please report any bugs or feature requests at here. Thanks!
The web overview can be seen here
Help
Here’s a few simple things to rembember:
- All actions, ingame or on the site, have a 5 second cooldown.
- When sending a message ingame, the bot only sends 1 message per second to avoid getting kicked. Just because you don’t recive a reply instantly, doesn’t mean it won’t happen! Try waiting a few seconds.
- Inactive users on the site are logged out after 10 minutes, and won’t recive messages.
- Accounts that aren’t logged in with for 30 days are invalidated, and will have to be registered again (not that it’s that difficult lol)
When using the bot ingame, you’ll need to rembember this syntax:
/msg 2pork2bot <target player name> <message to send>
This command will send a message to a player logged into the website, by their name. Keep in mind that logged in users are automagically logged out after 10 minutes of inactivity.
An example can be seen here:
/msg 2pork2bot torogadude hello there!
This would send “hello there!” to torogadude, assuming he’s logged in on the site.
On the site (here), you can do as follows:
Registration
- Enter your IGN in the first text box, and your password you want to use in the second one.
- Press “Log in”. You’ll be sent a command, that you need to send ingame on 2b2t. Keep in mind that this confirmation command expires after 10 minutes or the bot restarting, but you can always run step 1 again :P
- After running the command 2pork2bot will send you back here. Refresh the page and use the same IGN and password, you’ll get a new interface.
Sending chat from the site
After registering and logging in, you’ll be able to send messages.
- Enter the name of the user you want to message in the first text box.
- Enter your message in the second one.
- Press “Send”
- The user will get your message ingame! (if they’re logged in to 2b2t, that is :P)
Changing your password
If you forget your password to log into the site, you can join 2b2t and issue the following command:
/msg 2pork2bot changepass <new password>
I don’t feel any further explaination is required for this.
Known bugs
- Ping in tab list shows incorrectly
Unimplemented (planned) features
- Graphs! (player online times, when players are most active, etc.)
- Desktop notifications when a DM is recieved
Credits
- torogadude for the name (2pork2bot)
- Steveice10 for making PacketLib and MCProtocolLib, this wouldn’t be possible without you :D
- The guy who made this, for colored text
- The many people on StackExchange who helped me learn JavaScript for this
- This, for client-side password hashing