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.
Find the sql section and enter your MySQL credentials.
Change the driver to MySQL.
Enter your MySQL server ip, database name, username, and password.
Copy
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: ''