Filled Player Duel

Discussion in 'Plugin Requests' started by XxDawnsusxX, Apr 4, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    XxDawnsusxX

    Plugin category: Fun

    Minecraft version: 1.11

    Suggested name: Duel

    What I want: Pretty simple idea, taken by the idea of Wynncraft, you shift + right click a player to start a duel, with a message saying "player has requested to duel you" and if they do the same, the duel will be on. With a 5 second count down, they can battle it out to see who is the strongest.

    Ideas for commands: Not needed

    Ideas for permissions: Not needed

    When I'd like it by: Anytime
     
  2. More Information.
    Battle in an Arena..? Battle where they are..?
    Deactivating Players..? such like that
     
  3. Offline

    Horsey

    Hey! I decided to try making the plugin, and I have finished the duel challenge and duel accept, but I'm not sure what you mean by 'duel'. How exactly would you want that implemented?
     
  4. Offline

    XxDawnsusxX

    Oh so the concept of duel is just to have a player battle another player 1v1 pvp on the spot they're at.

    Yeah forgot to add more description sorry!

    Oh so the concept of duel is just to have a player battle another player 1v1 pvp on the spot they're at.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
  5. Offline

    Horsey

    @XxDawnsusxX Wait but what exactly do you want to add so that they can duel?
     
  6. Offline

    XxDawnsusxX

    Nothing too special, no arenas needed, no commands. Just a simple shift + Right click to send a request to the opposite player, when they do the same, it'll then make it so only those two can battle it out 1v1.
     
  7. Offline

    Horsey

    @XxDawnsusxX Are there any other plugins that prevent them from pvping without challenging each other to a duel?
     
  8. Offline

    XxDawnsusxX

    Well I was just overthinking this, so I have Factions & WorldGuard, and it would prevent pvp in spawn (which was an ideal area to do this) i'll think of something to allow this to happen, unless theres a way you can make it bypass?
     
  9. Offline

    Horsey

    @XxDawnsusxX Worldguard unfortunately, would directly disable the pvp :(
    I would suggest that you create an arena where players can duel, and then I could make it so that only players who are dueling each other can deal damage, because for some reason I find that really cool :p
     
  10. Offline

    timtower Administrator Administrator Moderator

    @Horsey Worldguard has a PVP flag, you can set it up to allow pvp even within a non-pvp area
     
  11. Offline

    XxDawnsusxX

    If that can be done, then hell yeah!
     
  12. Offline

    martian3333

    @XxDawnsusxX
    There are a couple of details I'm wondering about that may come into play.
    1. Should the duel area only be a certain size so if someone runs away mid duel they forfeit?
    2. Does the loser die and drop all their stuff or die and keep all their stuff?
    3. If they don't die are they left at like 1/2 heart or something?
     
  13. Offline

    XxDawnsusxX

    @martian3333
    1. Okay, so possibly from their position, any distance further then lets say 30 blocks, it will warn them that they're "leaving the duel and will lose upon going any further". 40 blocks it will disqualify them making the opponent win.
    2. It will keep their inventory, just a quick duel testing who is stronger with their items.
    3. It will kill them, but make it tp them back to the first duel spot?
     
  14. Offline

    Horsey

    @timtower Mind telling me how? As far as I can see, that would require you to set pvp to true, which would allow everyone on the server to pvp.
     
  15. Offline

    martian3333

    @Horsey
    You would need to create a child region inside spawn with PVP allowed and a higher priority than the spawn region. That would only allow dueling inside that smaller area. You would then need to remove the region after the duel ended.
     
  16. Offline

    Horsey

    @martian3333 I dont think that's possible to implement from the plugin...
     
  17. Offline

    martian3333

    @Horsey
    It is. I made a plugin a while back that hooked into WorldGuard. It did all sorts of region manipulation.
     
  18. Offline

    Horsey

    @martian3333 But even if I did create a child region, wouldn't anyone be able to enter it and then pvp?
     
  19. Offline

    martian3333

    @Horsey
    Hmmm.... you would need to catch damage events, check if they are inside that duel region and check to see if they were caused by one participant to another participant. If not, cancel the damage event.
     
  20. Offline

    Horsey

    @martian3333 Seems overly complex :p I think just having them tp'd to an arena, then tp'd back would be bettter
     
  21. Offline

    XxDawnsusxX

    I dont want that though lol I would of downloaded a plugin that already does that by now.
     
  22. Offline

    Horsey

    @XxDawnsusxX No worries! I just found a good way to do it!
     
  23. Offline

    XxDawnsusxX

    Put it to the test and surprise me with yo magic!
     
  24. Offline

    Horsey

    Sure xD
    The plugin is done, but untested
    BTW the compiled plugin is at: <EDIT by Moderator: redacted ad heavy url>
     
    Last edited by a moderator: Apr 7, 2017
  25. Offline

    martian3333

  26. Offline

    XxDawnsusxX

    May have to bump this. Horsey discontinued it, gave me all the coding for someone to keep going. So any takers want to continue on or start fresh, i'd still want someone to do this for me :)
     
  27. Offline

    martian3333

    @XxDawnsusxX
    I'd be glad to continue this project based on Horsey's plugin.
     
    XxDawnsusxX likes this.
  28. Offline

    martian3333

  29. Offline

    XxDawnsusxX

    Holy moly!!! This is so goood, thanks so much!
     
  30. Offline

    martian3333

    @XxDawnsusxX @Horsey

    You're welcome, let me know if any changes need to be made. Thank you Horsey for the great starting point.
     
Thread Status:
Not open for further replies.

Share This Page