A full guide for installing, configuring and running BanManager for use in production on a Minecraft Server
- Java 8+
- CraftBukkit/Spigot/Paper or Sponge for Minecraft 1.7.2+
- Download the BanManager jar from our downloads page and save it in an easily accessible location
- If you're not sure which version you need, try our configuration builder
- Copy the BanManager jar file to your server
pluginsfolder (CraftBukkit/Spigot/Paper) or
- Fully restart your minecraft server
- This is required to generate the default configuration files
- Check your server logs to confirm BanManager enables correctly
Setup shared database (optional)
By default, BanManager stores its data in a file backed in-memory database named H2. This is sufficient for most servers and allows the plugin to work out-of-the-box. However, if you would like to share data, e.g. across a network or use the WebUI, a remote database such as
MariaDB is required.
Once the database is setup/configured, you should have a hostname, a database name, and a username and password.
databases and under the
local section, set
mariadb. Then populate
password with your connection details.
Save the file and then restart your minecraft server. Check the server logs to confirm the plugin has enabled correctly.
BanManager is showing as red in /plugins
Please ensure you have configured the plugin correctly and check either your server log or console for more information
When trying to /ban a player it displays /ban <player> <reason>
The plugin is not enabled, please check your server startup log for more information
BanManager is unable to connect to the database
This can be caused by a number of issues, below lists the most common. If these do not resolve your issue, feel free to request Support.
- Ensure you have created the database. Verify this by logging in with the user you are connecting with (via mysql -p -u) and running
SHOW DATABASES;. If the database is not contained in the results, it either has not been created or the user does not have permission to access it.
- If you are connecting to the database from another server, you need to explicitly grant access to it for the remote ip address as follows:
GRANT ALL PRIVILEGES ON dbname.* TO username@'IP' IDENTIFIED BY 'password';replacing dbname, username and password with your respective details. Then run
FLUSH PRIVILEGES;to ensure they are updated.
- If after verifing the aforementioned checks the plugin is still unable to connect, check the MySQL/MariaDB error logs.