Releases: Niestrat99/AT-Rewritten
i wanted to add dynmap support but ended up rewriting almost everything
Edit: beta.1 on its own may not work, try beta.1-all if it fails.
You heard me, I originally said I wanted this done sometime in the summer of 2022 but 9 months later having mental breakdowns over working conditions, running two 60-player MC events, completely revising my coding style, developing an addiction to automation tools, putting narcs in their place and taking a week's vacation to just loosen up and spend time with @Niestrat99, AdvancedTeleport v6 is now available for beta testing! I sincerely apologise for the delay and thank you for your patience.
V6 IS ONLY COMPATIBLE WITH VERSION 1.16 AND ABOVE RUNNING ON JAVA 17.
Major changes and additions include:
- A brand new API with events and methods that can be used in an addon plugin or as an integration. At this time, the API should be final and will have more additions in the future.
- Dynmap and Squaremap support to show home, warp and spawn locations on the map pages, including the ability to customise individual icons.
- Lands, WorldGuard and GriefPrevention support to protect against RTP'ing in claims.
- Per-world RTP ranges. Please note that
- PlayerParticles and generic particles support.
- Dynamic costs, cooldowns, warm-ups and distance limits. A quick run-down of how this works is available here.
- MiniMessage Support. The plugin will natively support MM by default now but still supports Legacy formatting. This may be subject to change.
- Bedrock Forms.
- Automatic spawn redirection to the overworld if you are in the Nether or End.
- Spawns have been migrated to the data.db file.
There is definitely 100% a lot more than in this changelog.
IMPORTANT NOTES:
- This is not production ready. If you are new to AT and wish to use v6, then it should be safe to do so. If you have existing data and want to update, please throw all files from AT into a test server and report any inconsistencies or changes that you notice. You should not lose any data but if you do lose anything, it should only be spawns. If old warps/homes don't appear but are in the database, that is a bug.
- The existing RTP maximum and minimum values in the config.yml are deprecated, please migrate them when possible; I will try and automate this in the future.
There are known issues with this release which should not hinder usability, but in all honesty, I'm too tired of picking this plugin apart right now, I'll follow up with subsequent bugfixes:
custom-warm-ups
went rogue and separated itself from its comment, not sure why it did that. Has no impact on usability./mirrorspawn
will throw an internal error if a non-existent world is used.
Bug Fixes
Bug fixes
Added export and import for Essentials
Important bug fixes regarding Rapid Response
5b11289 Added ignored world generators - Thatsmusic99
da7c4a1 Fixed non-whitelisted worlds loading locations - Thatsmusic99
693a0e1 Fixed NPEs occurring when worlds are loaded - Thatsmusic99
In SNAPSHOT-1 but unmentioned:
28fd426 Added tpr spawn option - Thatsmusic99
6e744ed Added teleport-on-join bypass - Thatsmusic99 (permission: at.admin.bypass.teleport-on-join
)
Rapid Response RTP and Spawn System
-
Implemented AT's new Rapid Response RTP system, which caches a set number of locations that players can teleport to before the command itself is run, combined with v5.3's binary searching algorithm. This feature is only available on Paper servers.
-
Rewrote the spawn system, which allows the setting of multiple spawnpoints and several new commands:
-
/mirrorspawn <To Point>|<From World> <To Point>
- makes it so that when players run /spawn in the "From" world (or the world the person running the command is inside, if they have permission), they teleport to the spawnpoint specified. -
/setspawn [ID]
- Sets a spawn of a specific ID. -
/setmainspawn [ID]
- Sets a specified spawn to the main spawnpoint. All players teleport to this spawnpoint unless they have permissions that override this or even other spawnpoints. Spawnpoints override others if their name matches the name of the world that the player is currently in (e.g. players inworld
will teleport to spawnworld
if it exists rather than the main spawnpointmain
). -
/removespawn [ID]
- Removes a spawnpoint.
A notable permission is at.member.spawn.<Spawn ID>
, which forces players to a specific spawnpoint.
Multiple Requests toggling, warps and titles fix
[ + ] Made the multiple requests feature optional but enabled by default (see allow-multiple-requests) - as per #33 (untested).
[ + ] Added an option deciding as to whether or not the plugin should tell their teleport request has been displaced or expired (notify-on-expire).
[ + ] Fixed warps not deleting fully when doing /delwarp (they did get deleted but still appeared in the /warps list and could be teleported to - following restart they disappeared)
[ + ] Added a "cancelled" title to match with the teleporting title.
[ + ] Fixed titles conflicting when one is sent after the other - now the newest title takes priority.
Titles and Subtitle support, /tpr and /sethome patch
[ + ] Added title and subtitle support in the custom-messages.yml file. Currently a moderately complex feature, this is an example of how it can be used (and is provided by default):
Teleport:
eventBeforeTP: '&b↑ &8» &7Teleporting in &b{countdown} seconds&7, please do not
move!'
# This is an example use for titles and subtitles in the plugin.
# This feature is supported only if you're on version 1.8.8 or newer.
eventBeforeTP_title:
# How many seconds (in ticks) the header should last. This is not including fading.
length: 80
# How many seconds (in ticks) the header should take to fade in.
fade-in: 0
# How many seconds (in ticks) the header should take to fade out.
fade-out: 10
'0': '&7&lTeleporting...'
'20': '&b> &7&lTeleporting... &b<'
'40': '&b>> &7&lTeleporting... &b<<'
'60': '&b>>> &e&lTeleported! &b<<<'
eventBeforeTP_subtitle:
'0': '&bPlease do not move!'
'60': ''
An example of this in action can be seen here - https://gyazo.com/821f1245b4ab03fdadce33e4d42b42d0
[ + ] Made it so that users cannot make any extra /tpr requests by either spamming the command or the sign whilst the plugin is still trying to search for a location.
[ + ] Admins can no longer bypass their homes limit - if they have one explicitly set - using /sethome . This is also a reminder for me to do check /setmainhome too but it's a bit too late on my end of the world.
Fixed /tpa and /tpahere NPE
[ + ] Hotfix for /tpa and /tpahere, which threw an error for a weird reason but has been patched regardless.
Homes fixes
[ + ] Temporary fix for Essentials and AT conflicting when AT has a command disabled, needs further inspection to make sure it's just Essentials and is due to their command system
[ + ] Fixed /homes throwing an NPE.
[ + ] Fixed homes from /homes not sending you to their homes.
[ + ] When homes for a specific player have not loaded yet, the player will be prompted to run the command again.
Pre-release because I realised I was testing it wrong and it's too late for me to bother right now