Better Warp

Better Warp 1.3.01

  • Deprecation fixes
So sorry for the delayed update. University got the better of me during exam season so had to take a step back!
  • Fix teleporting from cargo/hotair/lifts
  • Added CheckParented player check
  • Added CheckHostile player check
  • Added CheckInHelicopter player check
  • Added /rwarp command - warps a player to a randomly selected warp (must have permission)
  • Added "Display list instead of help with /warp" config option
  • Added API method
    Code:
    private JObject APIWarpData(string name)
  • Like
Reactions: Findles and MalS
Added 2 API methods as per requests. If you wish to have any more then please post in the thread what you'd like.
  • private bool APIAddWarp(Vector3 pos, string name, string id, int cooldown, int countdown, string perm = null)
  • private bool APIRemoveWarp(string name)
  • Added an optional UI for /warp list - see below for screenies
    betterwarp-1.jpg betterwarp-2.jpg
  • Added condfiguration option "Use UI for supported commands"
  • Got rid of "duplicate command registered" when plugin is loaded/reloaded. This was only happening because your warp name and warp id were the same. That's fine though, it's fixed now.
  • Optimised the plugin a lot for large servers
Due to CopyPaste breaking with the latest update, some people were unable to have their shops automatically pasted with their map wipe. I have went ahead and added commands to paste the warps now so you can manually paste the paste files with the coords in the config file.
  • Added console command warps.paste <warpname> (requires betterwarp.admin if in-game)
  • Added chat command /pastewarp <warpname> (requires betterwarp.admin)
  • Like
Reactions: MalS
  • Fixed /<id> saying "command not found" but still teleporting
  • Fixed "NullReferenceExcpetion" at OnNewSave()
  • Like
Reactions: MalS
A regeneration of your configuration file is needed for this update.
  • Fixed NRE at command use after reloading plugin several times
  • Fixed that cooldown arg was being used for the countdown in /warp add
  • Added /warp list
  • Added cooldown to gateways
  • Added config option for cooldown for gateways
  • Added "WarpName" to paste information
  • Updated CopyPaste API methods
  • Added CopyPaste version checking
CLICK READ MORE, IT IS IMPORTANT!
There is still a small issue with the CopyPaste accuracy, I have fixed it in the CopyPaste that you can download here: https://www.ryandowding.com/plugins/CopyPaste.cs, or alternatively you can wait until there's a new update from the developer. He's currently away. I will make a video or a very detailed explanation of how the copy paste system works soon since there was some confusion.
  • Like
Reactions: MalS
  • Added permission for gateway, usage is now /gateway add <id> <perm>. The gateway also checks to see if the player has "betterwarp.all". https://gyazo.com/dc37be1fe2fbbf2d206418d6eee9d925
  • Several permission changes for registering / saving permissions for normal warps
  • Added permission "betterwarp.admin", this makes it so the player doesn't have to have auth level to see the admin commands.
  • Like
Reactions: MalS
  • Improved /gateway locate <name>, it now marks it differently if the player is a far distance away. Before it would just overlap the text and look messy.
  • Like
Reactions: MalS