Update notifier, Database, New commands and some fun stuff
⭐ New:
Code (Text):
- Player data is now saved in MySQL or SQLite (depends on configuration)
- Active pets are saved in activepets_data.yml file
- You can turn on/off notification when plugin get update
- Pets are now hidden when you enter spectator gamemode (shows again when you change gamemode)
- New commands:
/afropets help <-- show available commands ; permission: afropets.use
/afropets admin about <-- more informations about plugin and configuration ; permission: afropets.admin.about
⚠️Important:You need to add these lines to files! Otherwise, the plugin may not load and errors may appear!
Code (YAML):
# Data storage # Available data storage types: # - sqlite # - mysql storage-type: "sqlite" sqlite:
name: "playerdata.db" mysql:
host: 'localhost'
username: 'root'
password: ''
database: 'database'
table: 'afropets_playerdata'
port: '3306'
useSSL: false