So, Ladies and Gentlemen, we did it!
We're super happy to finally give you the re-written version aka AdvancedTeleport 5.0.0!
This update adds tons of features, as well as some changes and enhancements, but also a few bug fixes.
Beware, the changelog will be a bit longer than usual.
AHEM!
Changelog
- 99% of messages are customisable (including the help menu)
- Added a /back command
- Added per-command payment management, so you can now make players pay for using commands like /home and /warp
- Also added per-command countdowns as well, and if you set the timers to 0, it’ll automatically teleport you
- Added metrics
- Permission changes (for example, tbh.tp.member.tpa will be changed to at.member.tpa in this update)
- Homes limits (using the permission at.member.homes.<limit>)
- Added /atinfo
- Added an admin section to /athelp
- Separate permissions used for clicking a sign (e.g clicking a [Warp] sign won’t require at.member.warp)
- A maximum distance for teleporting to avoid players lagging the server
- Added /home bed which will teleport you to your bed and /home list which is just an alias for /homes.
- Added /tpr <world>, which will select a random location in a separate world.
- Changed how signs work
- You can now set the World name on the second line of the RandomTP sign
- Yaws and pitches are now stored in homes, spawnpoints and warps
- A few bug fixes from older versions
A few things on how some of the new features will work too:
- Configurable messages will be found in a new config called custom-messages.yml.
- The /back command will return you to your previous location like with ordinary Essentials. Upon server restart, your previous location is stored into another file called last-locations.yml and loaded again when the server starts up again.
- Per-command payment is managed in config.yml under the “payments” section in the config. Commands that can have this edited include:
- + /tpa
- + /tpahere
- + /tpr
- + /warp
- + /spawn
- + /home
- + /back
- There are default values for each option, of which are decided by options such as “payments.vault.teleportPrice” for the teleport price (using Vault). Setting the command’s options to default, for example:
- payments:
vault:
tpa:
price: default
enabled: default
- Will take the values from the master options. Valid options for enabled include “true” (enabled, meaning the player will pay for /tpa) and “false” (disabled, meaning the player won’t pay for /tpa), and price accepts any decimal format (e.g 2.00, 1100.913, or 5)
- The per-command countdown timers work in the same fashion as the teleport prices do: there is a master option that decides the default for the rest of the commands. Acceptable options are integers (e.g 6, 10 or 2000 in seconds) or the string “default”.
- Metrics will be seen at https://bstats.org/plugin/bukkit/AdvancedTeleport (that one server was mine and that one player was me)
- Adding the permission at.member.homes.10 to a player will limit their allowed number of homes to 10. Simple concept.
- /atinfo will display information such as plugin version, authors (me and Nie!) and links where you can report bugs to.
- /athelp admin will send you the help menu for admins (requires at.admin.help to view)
- When clicking a sign, you’ll need at.member.<command>.use-sign to use it (at.member.tpr.use-sign for /tpr, at.member.warp.use-sign for /warp and at.member.spawn.use-sign for /spawn), however won’t need permission to the actual command.
- A new option, of which limits the number of blocks you can teleport across, can stop your players from teleporting back and forth across large distances and avoid causing lag/server crashing. Enabling it by default will:
- + Check teleport distances between a player and a destination when using commands from the actual plugin
- + You can exclude some of the commands by disabling the check for them in config.yml.
- However, there is also a “strict” setting, of which when turned on will check EVERY teleport attempt made to make sure they don’t exceed the distance limit.
- With /tpr, if the distance between a selected player and location is bigger than the distance limit, then another location is searched for.
- If you are teleporting to a different world, this limit is ignored.
- When using /tpo and /tpohere, the limit is ignored (the o in /tpo stands for override)
Bug fixes:
- Fixed NPE when typing /home <home name> when you have no homes
- Fixed IAE when typing /spawn
New permissions:
at.member.spawn.use-sign - Allows you to use a spawn sign
at.member.tpr.use-sign - Allows you to use a RandomTP sign
at.member.warp.use-sign - Allows you to use a warp sign
at.member.back - Allows you to use /back
at.admin.bypass.distance-limit - Allows you to bypass the distance limit
at.admin.info - Allows you to use /atinfo
at.admin.sethome.bypass - Allows you to bypass the homes limit