This plugin is mainly for servers that largely depend on MySQL, like servers that use LogBlock or xAuth. It basically checks for a connection to a MySQL database every user specified interval. If it doesn't connect, it sends an error message on the console. After user given attempts to try connecting to the database, it shuts the server down. A connections.log file located in the plugin's data folder will save the time at which the last successful connection was made to the database before failure, and the time the server was shutdown.
- Tested Minecraft Versions:
Please report any issues with this plugin HERE
If you like my work, please consider donating, I would greatly appreciate it.
mysqlchecker.notify - Notifies players with this permission about a connection failure.
Connection.logCode (Text):# Please enter the Host of your MySQL Database here.
# Please enter the port where your MySQL is hosted.
# The Username which should be used to auth against the Database
# The Password which should be used to auth against the Database
# The name of the database where BungeeAuth's Tables shall be created.
# Interval is the time in minutes before the plugin checks for a connection to the SQL Database again.
# Number of attempts before the server is shut down.
Max Attempts: 3
a sample connection.log file will look like this:
Code (Text):Last successful connection: Tue 2014.10.14 at 10:47:53 PM EDT
Server Shutdown: Tue 2014.10.14 at 10:50:54 PM EDT
This plugin is licensed under CC Attribution-NonCommercial-ShareAlike 4.0 International. In very basic terms, Do whatever you want with the code of this plugin, as long as you give credits to the author and/or the plugin itself.
Please leave a comment or rate the plugin, and tell me what you think of it. I would really appreciate it.