If you're using MySQL
1. Update and start server
2. Review the MySQL section and configure it correctly
3. The table-prefix option might require you to add an underscore `_` at the end, if your current table names use underscores. Just open the database to check that, but its very likely they do. **Otherwise, your hoppers won't load. **
4. Restart
If you're using SQLite
1. Update and start server
2. The table-prefix option might require you to add an underscore `_` at the end, if your current table names use underscores. Just open the database file to check that, but its very likely they do. **Otherwise, your hoppers won't load. **
3. Restart
Code (YAML):
mysql
:
# Enable this to use MySQL instead of "file based"
# SQLite. For performance improvement, it's recommended to
# use MySQL. If you don't have access to a MySQL server,
# just let this disabled (false).
enabled
: false
address
: 'localhost'
port
: '3306'
database
: 'upgradeablehoppers'
username
: 'minecraft'
password
: 'password'
# It is highly recommended to set a unique table prefix if the plugin shares a database with other plugins.
table-prefix
: 'hoppers_'
- Fixed: Error on player quit with MySQL