Filled MyWarps

Discussion in 'Plugin Requests' started by DrBot, Jul 27, 2018.

  1. Offline

    DrBot

    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."
     
    Last edited: Jul 28, 2018
  2. @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?
     
    Last edited: Jul 27, 2018
  3. Offline

    DrBot

    That's correct! Thanks for making this for me!
     
  4. What do you mean by this btw?
     
  5. Offline

    DrBot

    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."
     
  6. @DrBot
    I understand now, thank you, ill work on it tomorrow since its 3am right now lol
     
  7. Offline

    DrBot

    @Blackwing_Forged Hey, I havent heard from you in a while. Can I get a progress report?
     
  8. @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
     
  9. Offline

    DrBot

    Awesome, thanks for the update!
     
  10. Offline

    DrBot

  11. @DrBot
    Ive had a busy week but yes, almost done
    does the delete warp command also delete it from the essentials warp list
     
  12. Offline

    DrBot

  13. Offline

    SavageAvocado

    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
     
    Last edited: Aug 12, 2018
  14. Offline

    DrBot

    @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...
     
  15. Offline

    SavageAvocado

    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
     
  16. Last edited by a moderator: Aug 13, 2018
  17. Offline

    DrBot

    Thank you both! <3
     

Share This Page