Inactive [FUN/MECH] Duels v0.7.0 - Arranged PVP between players. [Major Economies][Permissions][1000]

Discussion in 'Inactive/Unsupported Plugins' started by zonedabone, Jun 14, 2011.

  1. Offline

    zonedabone

    NOTE: The plugin has been moved to the bukkitDev site here.


    Duels - A simple plugin to control battles between players - Safe PVP:
    Version: v0.7.0

    Duels controls PVP so that two players can fight only if they have both agreed. It also allows users to define terms for a battle, such as whether or not items are lost on death, what each player stakes, (iConomy) whether or not food can be eaten, if wolves will fight at your side, etc. It is currently under heavy development but testing is highly welcomed and appreciated.

    Features:
    • Blocks PVP between players that aren't dueling.
    • Allows for staking over a duel by participants. (iConomy)
    • Player forfeits match if they log out or run away.
    • Allows keeping of item on death, else puts drops directly in winner's inventory.
    • Controls wolves based on a setting.
    • Controls food use based on duel settings.
    • Messages can be set by a configuration value.
    Downloads:

    Download Duels (WGet)

    Source Code

    Instructions/Wiki

    How To Use:
    • Download Duels.jar and put it in your plugin directory.
    • Restart your server or /reload.
    • Edit the configuration at /plugins/Duels/config.yml to fit your needs.
    • Restart your server or /reload.
    • The plugin is now ready to use!
    • To initiate a duel with someone, type:
    Code:
    /duel challenge <player>
    • The other person will receive a notification. Accept duels with:
    Code:
    /duel challenge <player>
    • Once the duel has been accepted by both people, it is time to configure the duel using any of these parameters:
    Code:
    /duel set stake <money>      - Sets how much money you are staking.
     
    /duel set food <on/off>      - enables or disables food use.
    /duel set wolves <on/off>    - enables or disables wolves.
    /duel set keepitems <on/off> - sets whether you lose your items on death.
    • When you are satisfied with the current duel parameters, use:
    Code:
    /duel confirm
    • Once both players confirm, it's a fight to he death!
    Disabling in certain worlds:


    To disable in worlds, add this to the end of your config:
    Code:
    disabledworlds:
        - worlds
        - go
        - here
    Permission Nodes:
    The permissions nodes are divided into two main sections, user and admin.
    (Nodes with a # are for features that aren't yet implemented)
    • duels
      • user
        • challenge - can challenge others to duels
        • set
          • stake - can set a new stake
          • wolves - can change wolf settings
          • food - can change food settings
          • keepitems - can change keepitems settings
        • #admin - admin tasks
        • #peace - can stop all duels in progress
    To give users access to standard functions, simply give them the following node:

    Code:
    duels.user.*
    For admin tasks, (Not yet added) give users the following node:
    Code:
    duels.admin.*
    Some times, you might want to force a duel parameter to stay at the default setting. (Defined in the config) to do this, you can cancel out the node for that option. For example, if you always want users to lose items on death, (If defined in the config) you could add the following node to users:
    Code:
    -duels.user.set.keepitems
    To Do:
    • General bug fixing. (Pretty much bug free)
    • Add support for bukkit perms. (Can't wait?)
      • Depreciate permissions.
    If you have any ideas for additions, please post them on this thread. If you want to help out, you can fork the project on github and make any changes you'd like. I'll be sure to look at any pull requests!​

    Bugs:
    I currently know of no bugs in particular with Duels, though I'm sure there are some. If you find a problem, please be sure to post a detailed bug report on this thread.​

    Changelog:
    Version 0.7.0
    • Added support for more economies with Register. (iCo4, iCo5, BOSE, Essentials) As more economies are added to register, we will support them.
    Version 0.6.2
    • Added option to allow pvp outside of duels. (noduelpvp)
    Version 0.6.1
    • Added back commands. (No idea how they got removed)
    • Added back force fields. (Disabled by default) Try them out and tell me how they work! (I'm hoping they'll work again with bukkit 928)
    Version 0.6.0
    • Fixed bugs when parsing chat colors.
    • Added highscores support with ELO algorithm.
    • Added support for disabling in certain worlds.
    Version 0.5.0
    • Added permissions support!
    • Added ability to set default duel parameters.
    Version 0.4.0
    • Added configuration system. (Not all messages have been added yet!)
    • Fixed a few bugs. (Less serious this time ;))
    • Cleaned up the code a bit.
    Version 0.3.0
    • Cleaned up item respawn system.
    • Added food control!
    Version 0.2.0
    • Added wolf control.
    Version 0.1.0
    • Initial plugin release.
     
    KragTheDark and kahlilnc like this.
  2. Offline

    fatmarley

    Sorry long time in replying.

    Just wanted to do some updating and then testing.

    The issue persists. This is from boot up of the server.

    Code:
    2011-07-18 11:08:32 [INFO] Duels version 0.7.0 ENABLED (Using permissions)
    2011-07-18 11:08:32 [INFO] [Duels] Payment method found (iConomy version: 5)
    And this is the permission node i have for my users.

    - duels.user.*

    Their is no error or output in my logs when the use the stake command, it just sets them as ready to duel.

    Hope that is enough!
     
  3. Offline

    Matt

    Ok cause im using multiverse. So does the pvp need to be off in the multiverse settings or leave it on and have your plugin handle the pvp?
     
  4. Offline

    zonedabone

    Matt, what do you want to have happen? No pvp except duels? If so just allow pvp in multiverse and leave duels as normal.

    Fatmarley, I think there may be an economy bug if the default stake isn't 0. Be sure this is 0 in the config and try again. Other than that people seem to have success.
     
  5. Offline

    Deanouk87

    Hey there.

    Is it possible to have PvP off while outside of battle, but have the health NOT respawn when users fall or mobs attack?

    Great mod BTW, everyone seems to enjoy it.
     
  6. Offline

    zonedabone

    Hmm... Health respawn is not handled with this plugin. So you want health regen off while outside of duels?
     
  7. Offline

    Syntaxlb

    I have a problem,

    i type : /duel challenge Ybag02
    and if Ybag02 type : /duel confirm ; the plugin say he is not in a duel :s
     
  8. Offline

    zonedabone

    The way that duels are confirmed is a bit different than what you would expect. In order to make it so that the order of people choosing to duel doesn't matter, both people use the same command. To duel someone, p1 types /duel challenge <p2>. p2 then types /duel challenge <p1>.

    Hope this helps!
     
  9. Offline

    Syntaxlb

    Hmm ok, it's work :) !

    No command for view the rank system ?
     
  10. Offline

    zonedabone

    There is but I didn't add it because it's not done.

    I'll try to work on it when I update to bukkit perms.
     
  11. Offline

    gameswereus

    Spout GUI for toggling the options PvP options?
     
  12. Offline

    zonedabone

    I was thinking about that. I was actually thinking of a plugin for general spout config stuff, and then I'll hook into it.
     
  13. Offline

    iMattxC

    this would rock
     
  14. Offline

    zonedabone

    Yeah. I'm trying to think of how it would work. I'm thinking there would just be buttons to set different things, but I'd need to monitor them and pretty much tie them in with what the commands do. So like an on and off button for each option.
     
  15. Offline

    Darkzero413

  16. Offline

    zonedabone

    This plugin requires iConomy. Make sure you install it or else Duels won't work.

    Oh, you use iconomy 6. Duels doesn't support iCo 6, though I should probably add that.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  17. Offline

    Darkzero413

    thanks
     
  18. Offline

    Darkzero413

    any update with iconomy 6?
     
  19. Offline

    zonedabone

    sadly no. I'll have to update at some point. Sorry for the delay.
     
  20. Offline

    Darkzero413

    its kool but thanks for the update
     
  21. Offline

    mahari3

    Do you know when this plugin will be useable for 1.8?
    The reason i am asking is because i tried this version... because you would be surprised by how many plugins work with a version above theirs...
    Anyway when i tried this i got so many errors in console that my computer seriously started so slow down, now i have 6g of ram in my laptop, so this shouldn't happen. i cant copy and paste the errors because it never seems to stop giving them. i was thinking it may be conflicting with some of my other plugins... but i highly doubt that. after i deleted duels and ran my server, there were no errors.
     
  22. Offline

    zonedabone

    Do they happen even when people aren't dueling?
     
  23. Offline

    wdow117

    Could you make a ring of fire X blocks in radius around the duel, and it you leave that ring, you loose instantly?
     
  24. Offline

    zonedabone

    I haven't had time to work on my open source plugins recently. Hopefully once I'm done with development for a server I can work more on this.
     
  25. Offline

    mahari3

    I'd love to see this plugin updated.
     
  26. Offline

    Pixiio

     
  27. Offline

    zonedabone

  28. Offline

    xBorn2play

    This is amazing, however it would be good if it didnt disable pvp everywhere else because then people could either fight normally or choose to duel, maybe some kind of duel arena
     
  29. Offline

    XxDawnsusxX

    Hey does this work in non pvp servers
     

Share This Page