Skip to content

10.0.0 Major Update (2nd launch)

Choose a tag to compare

@HoshiKurama HoshiKurama released this 03 Sep 00:27
· 159 commits to master since this release

TicketManager 10: Modularization Update

This is LONG-awaited update, but V10 is finally here! I'm so happy that I could finally finish this many months-long rewrite, so let's get right into things!

Important Information Prior to Update

SE 10 brings two breaking changes:

  • New database schema: V10
  • The Discord Bot and all database types except for CACHED_H2 were externalized and have their own new configs.

TM Migration Tool

This major version has a special migration plugin to make the transition seamless. It will load before TM SE and automatically migrate your config settings to the correct new config locations. It will also migrate all tickets to the new schema. To use, just add it to your plugin folder-- no configuration necessary. Make sure to delete it once it's complete, but it's smart enough not to run again so long as you don't delete ~plugins/tmmigrator/result.SUCCESS

Features

New API

TicketManager finally has an API for users to hook into! Currently there are 2 systems:

  • Events: Allows developers to listen to events
  • Extensions: Provide more in-depth control over the plugin by providing some sort of implementation

Currently there's only one event which listens for ticket creations/modifications and one extension which allows new database types to be added. Developers who wish to code for TicketManager can see information on the API on its GitHub page.

Modularization

Modularization was a large focus on this update. Certain core features are no longer a part of the core plugin:

Instead, these features are now addons which allow users to choose what they need. Download these on their respective GitHub pages.

These new addons live in the new ~plugins/TicketManager/addons folder, allowing server owners to keep track of their TM addons without cluttering their main plugin folder.

Command Overhaul

New Command Parser

TicketManager now uses CommandAPI and Brigadier to handle command parsing. The entire command feedback system has been overhauled to provide much better feedback for syntax and validity.

Redesigned Search Command

The search command has been completely rewritten. It reads much more like a sentence now and has tons of new search options depending on the command. For example: /ticket search where time < 4 day && creator != HoshiKurama searches for tickets created by anyone other than me within the last 4 days. Much easier to read than the previous search command! Additionally, the new command parser system is far smarter and will help you out a lot with tab completions for searches.

Changes to Assign Command

The assignment command from before did a lot of magic behind the scenes. It would attempt to determine the best assignment type and always succeed, even when you might not want it to. For example, if you assigned a ticket to a user but misspelled their name, the assigned user would not receive notifications for it.
Now, users must explicitly state the assignment type. For example: /ticket assign user HoshiKurama will search for any Minecraft user with the name HoshiKurama and fail if one does not exist. This ensures assignments are as intended.

Localization Updates

Sadly with this update, simultaneous localization has been removed. The feature required manual parsing, and the new system handles a fair amount of the parsing. Thankfully, I don't anticipate that this will affect any servers as most tend to prefer one language at a time.

Spigot Receives Proxy Support

The artificial limitations in place for Spigot have been removed. Users can now use Waterfall or Velocity with Spigot servers.

Final Notes

I sincerely apologize for the mess that was this update. There were a LOT of setbacks along the way, as well as multiple rewrites / new code of various sizes and difficulties. Some of you may remember the initial V10 launch, which was a disaster to say the least. There were so many undiscovered problems and enough poor decisions made that I pulled V10 to do more work. I received lots of helpful feedback, which lead to the new migration tool and the addons folder. Now, V10 is a much better product that I hope everyone loves. If you have any feedback or issues, please let me know in the Discord server!

Documentation is still a work in progress for everything, so expect that to be slowly churned out.

Thank you for being patient, and I sincerely hope everyone loves this new chapter in the plugin's life. <3