autowhitelist/README.md

19 lines
957 B
Markdown
Raw Normal View History

2024-07-01 12:39:17 +00: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".
2024-07-01 12:39:40 +00:00
2024-07-01 12:39:17 +00:00
This project was created using `bun init` in bun v1.1.13. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.