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 [I]testing[/I] is highly welcomed and appreciated.
/duel challenge <player>
/duel challenge <player>
/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.
/duel confirm
To disable in worlds, add this to the end of your config:
disabledworlds:
- worlds
- go
- here
The permissions nodes are divided into two main sections, user and admin. (Nodes with a # are for features that aren't yet implemented)
To give users access to standard functions, simply give them the following node:
duels.user.*
For admin tasks, (Not yet added) give users the following node: [code]duels.admin.*[/code]
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:
-duels.user.set.keepitems
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!
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.