Go to file
2024-07-08 01:20:54 +03:00
.gitignore first commit 2024-07-01 15:39:17 +03:00
bun.lockb first commit 2024-07-01 15:39:17 +03:00
config.example.json first commit 2024-07-01 15:39:17 +03:00
index.ts autoreconnect 2024-07-08 01:20:54 +03:00
package.json first commit 2024-07-01 15:39:17 +03:00
rcon.ts first commit 2024-07-01 15:39:17 +03:00
README.md fix readme 2024-07-01 15:39:40 +03:00
tsconfig.json first commit 2024-07-01 15:39:17 +03:00

autowhitelist

This ts project automatically whitelists people to a minecraft server from a discord. It's very very simple. Supports multiple users in one message, e.g "USERONE", "USERTWO". This isn't configurable, but quite easy to remove.

All whitelists can also be removed by just deleting the message, helping both users incase username changes or other issues, and staff.

Run bun i, copy config.example.json to config.json and change all of the settings. The channel option is the channel ID, which you can copy by using developer mode on discord. Then, just start the bot. If you get something as such from the bot, then everything's done right:

RCON connected.
RCON authenicated.
Ready! Logged in as Slop Bridge#2702

There is also an option to get rid of nicknames changes. Set "changeNicknames" to "false".

This project was created using bun init in bun v1.1.13. Bun is a fast all-in-one JavaScript runtime.