This update exists of a
major rework of the entire back-end of the plugin, bringing improvements in the data handling and structure, the interface functionality with the users and more.
Due to the scale of this update, there are
a few small changes in the config- and language files. Be sure to copy your current files somewhere safe, let the plugin regenerate it’s new files and use the old ones to quickly configure the plugin again to your liking.
New Command
Since the data handling and structure was heavily changed. The structure of
your current data will need to adapt as well. To make sure this transition goes as smooth as possible, I’ve added a new command (
/ticket upgrade) that will
automatically alter your data file or MySQL DB to work with the new version. Although this feature has been tested multiple times, I strongly advice to
make a fresh copy of the data before using this command in case something does go wrong. (Be sure to contact me through the RB Games Support Discord if you run into any issues)
TicketAPI
The main reason for this major rework of the back-end of the plugin was to be able to add
a powerful and intuitive API. This API gives developers
access to the tickets and their data,
functions to open, alter and close tickets without player interaction and
lots of custom events to fully customize the use of the ticket system. Check out the new API section on the download page for more information on how it works.
Improvements
To enhance the
security of your data in the plugin, the commands '
/ticket upgrade' and '
/ticket cleardata' will now
only be accessible from the console. Even if you are OP. The permission node ‘shadowreports.admin.cleardata’ was removed due to this change.
Additional bugfixes
- Although the plugin worked fine for versions 1.18, 1.18.1, 1.19.1, 1.19.2, and above, version 1.19 had issues.
These issues are now resolved.
- When using the bungeecord feature, commands sent from the console did not send notifications to other servers.
This issue is now resolved.
Other addition
- Support for 1.17.
- Option to let the plugin synchronise with the data periodically.
- Command (/ticket synch) to instantly synchronise the plugin with the data. (permissionnode: 'shadowreports.admin.synch')