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.