Ein Discord Bot, der die Minecraft Namen der Nutzer speichert und diese auf einem Pterodactyl Server whitelisted.
Find a file
SpagettiFisch e87d01f457 updated example_config.json
Signed-off-by: SpagettiFisch <johmewu@gmail.com>
2024-06-12 19:02:56 +02:00
config updated example_config.json 2024-06-12 19:02:56 +02:00
modules added a function for stopping the bot 2024-06-12 18:59:54 +02:00
whitelist/example whitelist/example/whitelist.json hinzugefügt 2024-06-12 15:01:47 +00:00
.gitignore updated .gitignore 2024-06-12 17:06:10 +02:00
main.py added a function for stopping the bot 2024-06-12 18:59:54 +02:00
README.md updatet README 2024-06-12 19:01:45 +02:00

Original Code https://github.com/Blizzor/blizzbot

For setup:
Run the setup.py file and follow the instructions. After this you should find some file named /whitelist/pterodactyl.txt there you need to insert the server id(s) of the server(s) you want to sync the whitelist with and the path for the whitelist (should be 'whitelist.json' for Minecraft). The server's id is the first part of its UUID / Docker Container ID or just https://[your-panel-url]/server/[this part] on its dashboard site. Finally, you just have to create a new schedule in your pterodactyl panel to execute the command whitelist reload every now and then to update the sync the whitelist on your server.

Pterodactyl API-key:
You have to go to https://[your-panel-url]/admin/api and create a new key. Read and Write acces for Servers should be enough but I recommend just checking it for every category. You also need to specify a description. You then want to go to https://[your-panel-url]/account/api and create another key, there you have to insert the same description as before. This is the key you need to copy and then use for your setup.