Using LeaderOS
Punishments
You can share Bans, Kicks, Mutes and Warnings tables on your website. This data is taken from the LiteBans or AdvancedBan plugin.
What are the supported Ban plugins?
We currently support LiteBans and AdvancedBan.
How can I set up Punishments module?
- Install a supported Ban plugin on your Minecraft server. What are the supported Ban plugins?
- Connect the Ban plugin to a MySQL server.
- Go to Dashboard > Settings > Punishments and select a supported Ban plugin.
- You can connect to the same MySQL server with the website or a different one. If you want to use the different MySQL server, enter the credentials for this server.
How to connect LiteBans to a MySQL server?
- Install LiteBans on your Minecraft server.
- Open the config.yml file in the LiteBans folder.
- Find the sql section and enter your MySQL credentials.
- Change the driver to
MySQL
. - Enter your MySQL server ip, database name, username, and password.
sql: # H2, MySQL, MariaDB, and PostgreSQL are supported database drivers. driver: MySQL ## MySQL/PostgreSQL settings ## # If using H2, the database will be stored in the LiteBans plugin folder, # and most of these settings won't apply. # Database server address. address: MYSQL_SERVER_IP:3306 # Database name, username and password. database: 'litebans' username: '' password: ''
- Change the driver to
- Restart your server.
How to connect AdvancedBan to a MySQL server?
- Install AdvancedBan on your Minecraft server.
- Open the config.yml file in the AdvancedBan folder.
- Set true the UseMySQL option.
- Find the MySQL section and enter your MySQL credentials.
- Change the driver to
MySQL
. - Enter your MySQL server ip, database name, username, and password.
UseMySQL: true MySQL: IP: MYSQL_SERVER_IP DB-Name: MYSQL_DATABASE_NAME Username: MYSQL_USERNAME Password: MYSQL_PASSWORD Port: 3306
- Change the driver to
- Restart your server.