This is the build 86. I publish this as a "pre-release" as I'm not 100% sure everything will work flawlessly, but several servers are running it without problems.
Additions:
- Added database support for player datas. The connection is configurable in config.yml
- Added BossAPI compatibility for "kill mobs" stage type
- Added a search function in all Paged GUIs to find more easily... what you're searching!
- Potions names are now supported for vanilla translation
- Added Scoreboard Ccore requirement
- New "comparison method" for some requirements:
- Affects XP Level, Job Level, McMMO Combat Level, McMMO Skill Level, Scoreboard Score
- 5 values accepted for this: EQUALS, DIFFERENT, LESS, LESS_OR_EQUALS, GREATER_OR_EQUALS (default value). The requirement will be fulfilled (or not) depending on the target value and the chosen comparison method.
- Included bStats Metrics
- Added an option to ignore case in Write in Chat Stage
- Quest item shown in the Quests Menu can now be configured per-quest
- Quest description now appear in quest choose menu
- Added /quests resetQuest <questID> to reset all players' datas about the specified quest
- Translations status:
- German (de_DE): 50%
- Italian (it_IT): 91%
- Portuguese (pt_PT): 88%
- Spanish (es_ES): 67%
- Swedish (sv_SE): 31%
Changes:
- Player datas storage has been completely reworked:
- Datas are now linked to the player and not the quest; it means that quest files no longer stores player datas and can now be edited when the server is going
- There are now two different storage systems:
- YAML file per-player in a specific directory under /plugins/BeautyQuests, datas are saved at logout. enabled by default
- SQL database, datas are saved pretty instantly and can be retrieved on several servers (the same player cannot be present on two servers are the same time) to be enabled in config.yml
- You can migrate datas from YAML to SQL with the command /quests migrateDatas (more informations below)
- Mobs handling system has been reworked to be cleaner, better, faster, stronger. Developers can now easily add their own mobs with the new API.
- Quest tracker (scoreboard) now automatically switches to the updated quest.
Fixes:
- Fixed a lot of color problems in text editors
- Fixed some refreshing problems with scoreboard
- Fixed sounds on 1.8
- Fixed some bugs with HolographicDisplays
- Fixed some bugs with the "new branch" item and pages in Stages GUI
- Added missing 1.15 materials
- Big code cleanup
- Fixed bugs with older and newer versions of MythicMobs (backward compatibility is not a thing with this plugin )
How to migrate datas from YAML to SQL:
- If you are updating from an older version of BeautyQuests (ex. 0.16), don't setup anything about databases in config.yml and start the server. Once everything has started without problem, shutdown.
- In config.yml, setup the credentials to connect to your database, but don't touch the "enabled" thing, let it on false. Start the server.
- This operation may take a long time, depending on how much datas were previously on your server. Don't login on your server and execute from the console /beautyquests migrateDatas. A message should popup at the end of the operation. Shutdown the server.
- Go back in config.yml and set "database.enabled" to true. Start the server. You're done!