MyWarps Allows players to create and modify their own warps. Commands /mywarps create <warpname> - Creates a warp. /mywarps delete <warpname> - Deletes a warp. /mywarps move <warpname> - Moves a warp to your location. /mywarps rename <oldname> <newname> - Renames a warp. /mywarps transfer <warpname> <playername> - Transfers ownership of a warp. /mywarps list <playername> - Lists all warps that you own. /mywarps owner <warpname> - Shows you who owns that warp /mywarps help - Shows a list of /mywarps commands Permissions mywarps.use - Permission for create, delete, move, rename, and transfer commands. All other commands are available to everyone Additional Information The create, delete, move, rename, and transfer commands should have a confirmation message and cost associated with them. The create and rename commands should never overwrite a warp. The delete, move, rename, and transfer commands should not work when used on a warp not owned by them. Warps should be added to the essentials warps so players can warp to them with /warp and admins can delete them with /delwarp if needed. All messages and command costs should be configurable. I need this for a 1.13 Spigot server. Feel free to put this plugin up on Spigot or Bukkit once you're done. Config (I wrote the config to clarify and maybe make it a little easier for you. Feel free to change stuff about the config if you think you can organize it better or if there's something missing.) createcost: 100 deletecost: -50 movecost: 25 renamecost: 25 transfercost: 0 createconfirm: "Are you sure you would like to create warp %warpname% for %createcost%? Type /mywarps confirm to confirm." createsuccess: "You have created a warp!" createalreadyexists: "A warp with that name already exists." createnofunds: "You do not have %createcost% needed to create that warp." deleteconfirm: "Are you sure you would like to delete %warpname% for %deletecost%? Type /mywarps confirm to confirm." deletesuccess: "You have deleted a warp!" deletenofunds: "You do not have %deletecost% needed to delete that warp." deletenotowned: "You do not own that warp." moveconfirm: "Are you sure you would like to move warp %warpname% to your current location? Type /mywarps confirm to confirm." movesuccess: "You have moved a warp!" movenofunds: "You do not have %movecost% needed to move that warp." movenotowned: "You do not own that warp." renameconfirm: "Are you sure you would like to rename warp %oldname% to %newname%? Type /mywarps confirm to confirm." renamesuccess: "You have renamed a warp!" renamenofunds: "You do not have %renamecost% needed to rename that warp." renamenotowned: "You do not own that warp." renametakenname: "A warp with that name already exists." transferconfirm: "Are you sure you would like to tranfer ownership of %warpname% to %playername%? Type /mywarps confirm to confirm." transfersuccess: "You have transferred ownership of a warp!" transfernofunds: "You do not have %transfercost% needed to transfer ownership of that warp." transfernotowned: "You do not own that warp." owner: "That warp is owned by %owner%." ownernone: "That warp is not owned by anyone."
@DrBot I will make this, so for the transfer, say i had a warp name diamond i could do /mywarps transfer diamond Bob and Bob will then get the diamond warp in his warps and deleted from mine?
So let's say player1 owns a warp named diamond. If player2 does /mywarps create diamond, instead of deleting player1's warp, reply with "A warp with that name already exists."
@DrBot I dont have time in the beginning of the week but i have Thursday Friday and Saturday off so thats when i work on it. I should have it done tomorrow or Saturday
@DrBot Ive had a busy week but yes, almost done does the delete warp command also delete it from the essentials warp list
https://www.dropbox.com/s/an87st1p5c1hqnn/MyWarps.jar?dl=0 Permissions: /mywarps create : mywarps.create /mywarps delete : mywarps.delete /mywarps confirm : mywarps.confirm /mywarps list : mywarps.list /mywarps help : mywarps.help /mywarps move : mywarps.move /mywarps owner : mywarps.owner /mywarps rename : mywarps.rename /mywarps transfer : mywarps.transfer
@SavageAvocado Oh wow thank you! I've already noticed a couple small bugs with yours but nothing too big. I'll play with it a tad more to see if I can find a few more and I'll send it to you probably in a couple days. I feel kinda guilty accepting this as Blackwing_Forged had been working a lot and said he was almost finished...
You don't have to use it. I was just bored, and I rushed anyway. I wanted to finish it before I had to got to work. Sent from my SM-G920P using Tapatalk
@DrBot Ill still post mine. Im at work right now but once i sleep and get up ill finish it @DrBot I haven't had much time to test it so i hope this works first time https://www.dropbox.com/s/kn4ihi3ii8nohvq/MyWarps.jar?dl=0 EDIT by Moderator: merged posts, please use the edit button instead of double posting.