Ein Discord Bot, der die Minecraft Namen der Nutzer speichert und diese auf einem Pterodactyl Server whitelisted.
Find a file
SpagettiFisch fb80cd8622 fixed formatting (again)
Signed-off-by: SpagettiFisch <spagettifisch@noreply.git.spafi.eu>
2024-06-12 14:56:07 +00:00
modules Bot can now be used to whitelist people 2024-06-12 16:33:22 +02:00
.gitignore Bot can now be used to whitelist people 2024-06-12 16:33:22 +02:00
main.py Bot can now be used to whitelist people 2024-06-12 16:33:22 +02:00
README.md fixed formatting (again) 2024-06-12 14:56:07 +00:00

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]

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.