SQL Storage, Offline Teleporting, /tpa and /tpahere buttons, Command System and far more...
A lot of stuff in this release so hang on tight!
For the best experience, please reset the custom-messages.yml file. The message layout has been changed and Accept/Deny buttons have been added to /tpa and /tpahere messages.
A few notes I want to make:
- When homes and warps are transferred, all
valid locations are transferred. This is done async after startup so all worlds should've loaded by that time. If you use a multiworld plugin, please make sure all of your worlds are loaded before attempting to run this version.
- /back locations are stored in last-locations.yml but gradually transferred and eventually deleted (if ever) as players join with the new version running.
- Data that fails to get added often ends up in a data fail manager that eventually attempts to re-add the data. If this ends up occurring over and over please inform me.
- This update was heavily tested before being pushed for release, so I consider it safe. It was tested on the most extreme versions, Paper 1.16.5 and Spigot 1.8.8, to confirm it worked across versions that AT supported.
[ + ] Moved the majority of stored data to SQLite/MySQL storage. Settings for this can be changed in the config.yml file.
[ + ] Added /movewarp and /movehome - these commands allow players to move their homes or warps to different locations.
[ + ] /warp set and /warp del have been moved to commands /setwarp and /delwarp
[ + ] Added the ability to disable AT commands (fixes #25). Requires a restart to take effect.
[ + ] /tpblock allows users to add reasons for blocking another user, e.g. /tpblock Thatsmusic99 idiot (not used internally yet)
[ + ] /tpo now teleports users to offline players. (May split into a second command if people don't like this)
[ + ] /tpohere now teleports offline players to the command sender.
[ + ] Warps now store their creators (not internally used yet)
[ + ] Added /setmainhome, which allows users to teleport to their main home using /home only (no arguments) and never lose access to it in the event that limits restrict other homes.
[ + ] If a user's homes limit changes at any point, homes they can access are adjusted to match with the limit they are now on.
[ + ] Homes and warps can have non-alphanumeric names.
[ + ] Toggling teleportation (e.g. /tpoff and /tpon) persists through server restarts.
[ + ] Added markdown messages, which allow you to customise messages with tooltips and similar.
[ + ] Rewrote the layout of AT's messages. It follows a similar theme to HeadsPlus's, but light blue instead.
[ + ] /tpa and /tpahere now have "Accept" and "Deny" buttons added to them, as per popular request. (See the indev screenshots for this!)
[ + ] Fixed no message being sent when doing /homes.
[ + ] Again, as per popular request, only let the "spawn" death option work if a spawn is actually set. Otherwise, Vanilla behaviour takes over.
[ + ] Built up a WIP API for AT, making the plugin easier to handle and program.
[ + ] Fixed a warning printed in console when cost-amount is empty.
[ + ] Fixed a problem with the ignore world rule not functioning correctly.
[ + ] Added an extra note explaining how to disable teleport costs.
And for those who want to see the indev screenshots and videos:
(Stress test for /sethome storage, including long names, SQL injection attempts and completely random characters)
(That being said, not recommended)
(Homes being limited)
(/tpa buttons not working as well as I liked)
(/tpa buttons looking better now)
I didn't manage to get item economy working as I was hoping, but I'll try and make it the first feature I work on for v5.5 or in a minor update for v5.4. That may be better.
Please let me know ASAP if there are any major concerns regarding the update.
Thank you in advance! Will be taking a break from development now because this took far too long to do.