Skip to content

Releases: Niestrat99/AT-Rewritten

i wanted to add dynmap support but ended up rewriting almost everything

27 Mar 19:59
Compare
Choose a tag to compare

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

09 Jun 13:27
Compare
Choose a tag to compare

c689299 Committing war crimes in plugin development part 2: Electric Boogaloo Fixed the "Nag Author" spam that occasionally occurred when the plugin is disabled.
4db5ec9 The plugin now tells the player they have no homes when using /home (if they don't have any, of course).

Bug fixes

07 Jun 08:15
Compare
Choose a tag to compare

1b53788 Fully fixed item payments and added messages for them
50982b7 Fixed NoDefClassFoundWhatever when Essentials is not installed
6da02b9 /home now teleports you to your bed when you have no other homes and no arguments are specified.
7abb76d Added config documentation for item payments

Added export and import for Essentials

27 May 09:31
Compare
Choose a tag to compare
Pre-release

fe2b0ab Added /at core command and its subcommands
ad57d67 Added plugin hook manager + Essentials hook
894109e Added item payment method (UNTESTED)

Important bug fixes regarding Rapid Response

10 May 16:47
Compare
Choose a tag to compare

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

09 May 09:48
32df790
Compare
Choose a tag to compare
Pre-release
  • 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 in world will teleport to spawn world if it exists rather than the main spawnpoint main).

  • /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

20 Mar 09:17
Compare
Choose a tag to compare

[ + ] 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

15 Mar 21:32
Compare
Choose a tag to compare

[ + ] 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

09 Mar 15:13
Compare
Choose a tag to compare

[ + ] Hotfix for /tpa and /tpahere, which threw an error for a weird reason but has been patched regardless.

Homes fixes

05 Mar 22:53
Compare
Choose a tag to compare
Homes fixes Pre-release
Pre-release

[ + ] 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