MySQL - SuperRonanCraft/AdvancedModreq GitHub Wiki

Here's the full description of every part of the mysql file! Need the default file? Get it here

Summary

MySQL

Basic mysql settings to set the host/port etc.

  enabled: false
  host: 'localhost' #The ip/host of the database
  port: 3306 #Default port is 3306
  database: 'root' #The database name to write/read from 
  tablePrefix: 'AM_' #Prefix of the table should start with
  username: 'root' #Username of database
  password: 'password' #Password

Timer

Set a timer to automatically download tickets (this adds multi-server compatability) WARNING: The shorter the delay and the bigger the database, performance might drop!

  enabled: false
  ##Amount of time (in minutes) to sync the database (best for multiple servers) 0 will be defaulted to 5!
  time: 5

Debug

Set whether or not to send MySQL debugging messages to the console


DownloadOnReload

Reload the database/tickets on every reload? "false" by default as large databases can cause lag!


Multi-Server

Have multiple servers and you'd like to teleport to a ticket bungee server? Set it up here!

  • Enabled

    Enable the multi-server config?

  • Name

    The name of this servers bungee id

⚠️ **GitHub.com Fallback** ⚠️