MySQL and auto-save for caching entitiy sizes.
Added:
- MySQL support for caching entity sizes.
- Auto-save task for caching regardless of what type used.
Fixed:
- Error thrown when using out of date WorldGuard.
Add the following to the config:
Code (YAML):
# When the server is restarted, all the stack sizes are saved to disk.
caching
:
# Stack data can be saved to disk every x minutes.
# This is useful so that in the event of a server crash, not all stack data will be lost.
autosave:
enabled
: true
# The amount of time between saves, in seconds.
interval
: 150
# Instead of using flat files for storage, a mysql server can be used.
mysql:
enabled
: false
# Server details should be entered below, if enabled above.
server-ip
: localhost
server-port
: 3306
username
: root
password: