Update 1.7v - Database (MySQL) update
New Features:
- saving the data of players and their backpacks to the database (MySQL)
New files:
Database MySQL documentation
Connection to the database is possible when the administrator changes the value database to true in the config.yml file. The plugin will download the data from the database.yml file and connect to the database.
Monitor the console to make sure that the plugin is properly connected to the database.
The default name of the database is "backinpack". If such a database does not exist, it will be created by the plugin.
The plugin requires permissions from the MySQL user:
- CREATE
- INSERT
- SELECT
- UPDATE
Tabels:
Code (Text):
userdata
⤷ uuid (VARCHAR(36))
⤷ username (text)
⤷ backpack-size (int)
Additionally, tables are created to save data about backpacks and groups
backpack
Code (Text):
Construction:
[uuid]
⤷ pos (int)
⤷ item (text)
Example: 6c3f4e4b-7040-3b51-9216-95930800b3ee
backpack group
Code (Text):
Construction:
[group]:[uuid]
⤷ pos (int)
⤷ item (text)
Example: group:6c3f4e4b-7040-3b51-9216-95930800b3ee
Data items are saved as serialized ItemStack to string.
______________________________________________________________________________________________________
All unmodified files are available on the plugin's home page.
Please, boldly take up discussions in the event of problems, proposals and other issues.
All errors and suggestions will be corrected/added as soon as possible.