Setting up LiteBans on your Minecraft server using MySQL requires a few additional steps compared normal. Mainly, this article will focus on the database and plugin configuration for LiteBans for Minecraft. Here's how to set up LiteBans on a Minecraft server using MySQL.
🛑 Warning: LiteBans requires you to set your server version to PurPur, Paper, or another Spigot fork. Without a server version with plugin support, this will not work.
Step 1: Download LiteBans on SpigotMC
LiteBans is a paid plugin for Minecraft. We recommend only downloading from the official source.
Once you have downloaded LiteBans from an official source, you will need to add it to your Minecraft server. The easiest way to do this is to use the File Manager built into the SimpleGameHosting Panel.
Step 2: Adding LiteBans to Your Server
First need to access the SimpleGameHosting Control Panel.
1. Navigate to panel.simplegamehosting.com and enter your login credentials in the provided field and click the Login button.
👋 Trouble loggin in? If you haven't logged into the panel before, check out this guide on setting up your account and accessing the panel.
2. After logging in successfully, you’ll be taken to the Console tab for your server. If you have more than one server, you’ll first see a dashboard listing all your available servers. Just click on the one you want to manage.
3. Make sure to turn the server offline on your Console tab by pressing the Stop button.
🛑Wait: Before you continue, make sure that your server has fully shut down. Once complete, you will often see the console display "Server marked as offline...".
4. In the File Manager, locate the plugins folder. Drag and drop the LiteBans.jar file from your computer into this folder to upload it to your server.
5. Once the file is uploaded, go back to the Console tab in the control panel and click the Start button to start your server. This will generate the necessary configuration files for LiteBans in the plugins folder.
🤔Need more help? View our full guide on adding How To Add Plugins to Your Minecraft Server!
Step 3: Create a New Database
Now it is time to set up a new database for your server. While still on the SimpleGameHosting panel,
1. Go to the Settings page from the menu bar.
2. Next, click on the Databases tab in the sub-menu.
3. Then, click the New Database button.
4. Give your new database a name such as LiteBans or something similar, then click Create Database. Leave the Connections From box blank and confirm by clicking Create Database again.
Once the database has been created, it will appear in the list. Click the eye icon next to the new database to reveal the database credentials.
Make a note of these, as you will need them later.
Step 3: Configuring LiteBans Plugin
To complete this step, you will need the following information from the Database page on the Panel:
- Database Name
- Database Username
- Database Password
- Database Endpoint
1. Navigate back to the File Manager on the Panel. From here, open your Plugins folder and find the folder (NOT the .jar file) for LiteBans.
2. The file path at the top of the File Manager should read:
/home/container/plugins/LiteBans
3. From here, open the file named config.yml. We'll focus primarily on the 'SQL' section of this config file. These are the items you need to change. Do not change any other lines other than the ones shown.
driver:
MariaDB
address:
Shown as 'Endpoint' in Database
database:
Name Shown in Database
username:
Shown in Database
password:
Shown in Database
4. Be sure to input the correct information shown in the Database. Remember, you can navigate to the Database page on the Panel and hit the eye icon to view this information.
5. Hit the Save button on the config editor, and restart your server.
You now have LiteBans with MySQL working on your Minecraft Server!
If you need help, don't hesitate to reach out to our support team by submitting a Support Ticket or contacting us directly via LiveChat!