TeleportGUI

TeleportGUI 2.0.20

Teleporting now actually works. No idea how I broke this. Thanks to Ol Gregg for bringing it to my attention.
Fixed the "unable to find config value for 'CanTeleportToZone'" error.
Added support for ZoneManager "notp" zones.

Added two new config options:
- CanTeleportIntoZone (default: true)
- CanTeleportFromZone (default: true)

Disabling either of these will block teleporting to/from ZoneManager zones with the "notp" flag set to true.

Thanks to Doc for the suggestion, please bear in mind these changes are currently untested although theoretically should work fine.

I have also made a small tweak so typing "bind <key> tpgui" should now work correctly. I may add a chat message or two for this at some point.
Teleportation with sleepers is here! Yay!

So you now have the ability to teleport to sleepers, and also use the TP here function on them too. You will need the "teleportgui.sleepers" permission (or admin) to use it, and a new button will show up on your GUI next to the cancel/back/here buttons. This changes the UI to showing sleepers, which you can then either teleport to, or toggle on the "here" function to teleport them to you.

It's worth bearing in mind, that due to a sleeper not being able to accept at TPR (duh!) this teleport is instant, with no cooldown or currency charges, so I wouldn't recommend giving this ability to your players; keep it to admins and staff only.

A final thing to note on the topic of sleeper teleportation is that there are currently no chat commands in place for this. I figured that most of you admins are going to be using the GUI anyway, so it would be waste of time to add it to the chat command system too.

I also fixed a bug where the tphere button was getting rendered 'behind' the actual player name button on the large GUI, causing the tphere button to not be clickable. This is now fixed.

I also write a new class for holding players' GUI settings, eg whether they have sleepers enabled, if tphere is enabled, and the page they are on (for the large GUI). This makes adding new functionality much easier to do in the future and also means that settings are remembered between opening and closing the GUI. I could add this to the data file so it's even saved between restarts/reloads but I feel this is a little unnecessary - although let me know if you'd like this!
/tp {x} {y} {z} now works correctly and fixed a bug where the large GUI would always open
Cancelling your teleport in any way refunds your cooldown and Eco/SR money
The old "AllowTeleportIntoBuildBlock" config option is now called "AllowTeleportToBuildingBlockedPlayer" to better describe it's functionality.

I've also re-used this old option, "AllowTeleportIntoBuildBlock", as an option for whether the plugin checks if the player has build priv. in the place they're trying to teleport to. So even if the teleport receiver has build access, if the sender doesn't, they won't be able to teleport.
/tpc now cancels home teleports

Added "CancelAllTeleports" hook, which cancels all tpr's or homes. Feel free to use this in your own plugins.
So TPHere is finally in on the GUI. I decided it didn't look too great to have it always showing, so it's now a toggle button in the top bar (god it's getting a little cramped up there!). As with the others, it will only show if you have the permission.

This is also a precursor to being able to teleport to/from sleepers, I'm going to use the same toggle idea to be able to toggle to a menu of sleeping players. Stay tuned...
A small update today;

- /tp {x} {y} {z} will instantly teleport you to those co-ords. It should work the same way as teleport.topos in console. This is admin only, but I'll add a permission if you guys want.

- Daily limit. Prior to this update the way to disable the daily limit was to set it to 9999, which was messy to say the least. Now, if you set the "DefaultDailyLimit" to -1 it will completely disable it for everyone, hiding the message and making the limit have no effect.

TPHere on the GUI is in the works, but it current looks crap. If anyone has any suggestions to make it look not crap, please let me know.