ENV¶
Rename example.env
to .env
.
It should look like this:
DISCORD_TOKEN=
DB_HOST=
DB_USER=
DB_PASS=
DB_NAME=
PTERO_HOST=
PTERO_CLIENT_KEY=
SPIGOT_EMAIL=
SPIGOT_PASSWORD=
Options¶
DISCORD_TOKEN
DISCORD_TOKEN¶
Create a new bot application on the Discord Developer Portal and copy the token.
DB_HOST
DB_HOST¶
You need to create a MySQL or MariaDB database. You don't need to create any tables, it will be done automatically. For a non-standard port, append :port
(eg: 127.0.0.1:3306
)
PTERO_HOST
PTERO_HOST¶
The address for your Pterodactyl installation - eg: https://panel.example.org
PTERO_CLIENT_KEY
PTERO_CLIENT_KEY¶
Create a new API key at /account/api
(panel.example.org/account/api)
SPIGOT_EMAIL
SPIGOT_EMAIL¶
Optional
Only required if you have premium plugins. The email address for your SpigotMC account.
SPIGOT_PASSWORD
SPIGOT_PASSWORD¶
Optional
Only required if you have premium plugins. The password for your SpigotMC account.
2FA is not supported.
Last update:
January 9, 2021