Configuration/SQL.yml

http://s10.postimg.org/x6msrhozd/My_Z_4.png

The configuration for SQL is very small and self explanatory. If you do not wish to use the SQL feature in MyZ, don't worry about this file. If you do, however, continue on.

MySQL has a couple downsides in MyZ. Even when MySQL is enabled, player data is saved to flatfile (/plugins/MyZ/userdata). MySQL support in MyZ caches values for speed, but this results in - essentially - twice as much memory being used to store the data of online players. Performance decrease should be minimal to not-noticeable, but be mindful of this anyways.

Every value (except one) in SQL.yml is unique to you - and each can be found from your MySQL database provider. Simply get in contact with your provider if you don't know how to fill in any of the fields.

behaviour

MySQL can take on one of two actions.

Userdata->MySQL

  • When the server starts, the values from the userdata flatfiles will be pushed to the MySQL database.

MySQL->Userdata

  • When the server starts, the values from the MySQL database will be pushed to the userdata flatfiles.

Comments

Posts Quoted:
Reply
Clear All Quotes