[Server Script] Warps

[pastebin.com]

Usage

Adds a set of commands based around warping. Players can save their positions with one command and later teleport them with another. Moderators can also add public warp locations that everyone can warp to. The script contains configuration options for limiting each command by players' admin levels.Prints a list of your private and the public warps into chat- (requires permission: useWarpRank)Warp yourself to a warp with the provided name. It prioritises warps on your private list over ones on the public list. You can't use this command if your warp privilege has been disabled.- (requires permission: setWarpRank)Records your current position as a personal warp point with the provided name- (requires permission: setPublicWarpRank)Records your current position as a public warp point with the provided name- (requires permission: setWarpRank)Removes the named warp from your personal warp list- (requires permission: removePublicWarpRank)Removes the named warp from the public warp list- (requires permission: forcePlayerRank)Forcibly teleports the player with the provided id to a public warp with the given name- (requires permission: forcePlayerRank AND forceJailPlayerRank)As with /forcewarp, but also disables the player's warp privileges- (requires permission: setAllowWarp)Sets the targeted player's warp privileges. Set to 0 to disable them from using the /warp command, set to 1 to enable them again.Example command usage:/forcewarp 1 the forum/setwarp homeNotes:I've done a decent amount of testing, but there may still be problems with the script - let me know if you find anything.Having warps with punctuation in the name might break things (or at the very least, might not allow you to warp to them).Feedback/Suggestions for more features are welcome.