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.
If you like my work, please consider donating, I would greatly appreciate it.
Permissions
mysqlchecker.notify - Notifies players with this permission about a connection failure.
Config.yml
Connection.log
a sample connection.log file will look like this:
MySQLChecker Repository can be found
here
This plugin is licensed under CC Attribution-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.
Plugin made by a member of
Please leave a comment or rate the plugin, and tell us what you think of it. We would greatly appreciate it
If you like my work, please consider donating, I would greatly appreciate it.
Permissions
mysqlchecker.notify - Notifies players with this permission about a connection failure.
Config.yml
Code (Text):
# Please enter the Host of your MySQL Database here.
Host: 127.0.0.1
# Please enter the port where your MySQL is hosted.
Port: '3306'
# The Username which should be used to auth against the Database
Username: root
# The Password which should be used to auth against the Database
Password: ''
# The name of the database where BungeeAuth's Tables shall be created.
Database: Bungee
# Interval is the time in minutes before the plugin checks for a connection to the SQL Database again.
Interval: 5
# Number of attempts before the server is shut down.
Max Attempts: 3
Host: 127.0.0.1
# Please enter the port where your MySQL is hosted.
Port: '3306'
# The Username which should be used to auth against the Database
Username: root
# The Password which should be used to auth against the Database
Password: ''
# The name of the database where BungeeAuth's Tables shall be created.
Database: Bungee
# Interval is the time in minutes before the plugin checks for a connection to the SQL Database again.
Interval: 5
# 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
Server Shutdown: Tue 2014.10.14 at 10:50:54 PM EDT
This plugin is licensed under CC Attribution-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.
Plugin made by a member of
Please leave a comment or rate the plugin, and tell us what you think of it. We would greatly appreciate it
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
MySQLChecker is a free Minecraft Java mod. Downloaded 2,282 times (via Spigot). Download it and open it directly in the game.