Duels
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.
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.
Links:
How To Use:
Setup
- 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!
Use
- To initiate a duel with someone, type:
/duel challenge <player>
- The other person will receive a notification. Accept duels with:
/duel challenge <player>
- Once the duel has been accepted by both people, it is time to configure the duel using any of these parameters:
/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:
/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:
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
- user
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]
Setting default properties
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
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.
-
View User Profile
-
Send Message
Posted Mar 6, 2017Please update it!
-
View User Profile
-
Send Message
Posted Dec 25, 2016have a duel/pvp idea was wondering if u could help me bring it to life
-
View User Profile
-
Send Message
Posted Jun 3, 2014works for 1.7.2?
-
View User Profile
-
Send Message
Posted Feb 15, 2014Can we remove the "disable PVP for everyone not duelling"?
-
View User Profile
-
Send Message
Posted Sep 28, 2013you permanantly get the notdueling message when you make /duel confirm
-
View User Profile
-
Send Message
Posted Jul 30, 2013Does this work for 1.6.2??
-
View User Profile
-
Send Message
Posted Jun 7, 2013@chasertw123
Working for me on 1.5.2 :)
-
View User Profile
-
Send Message
Posted Mar 19, 2013Does this work with 1.5 If not please update.
-
View User Profile
-
Send Message
Posted Dec 14, 2012@Ekevoo
WEll Duuh
-
View User Profile
-
Send Message
Posted Nov 5, 2012@SilverFox541
pvplogger plugin buddy you should ise it. this plugin works when a layer logs out but his body still is in the gameand when he dies he drops all of his stuff
-
View User Profile
-
Send Message
Posted Oct 16, 2012update pls.
-
View User Profile
-
Send Message
Posted Sep 27, 2012I'm hitting my opponent and nothing happens. Do I have to set PVP to normally enabled?
-
View User Profile
-
Send Message
Posted Sep 21, 2012I would like it there be a commandless way to start a duel, like, say, right clicking a player with a particular item (or none). Configurable, of course.
-
View User Profile
-
Send Message
Posted Jul 13, 2012sometimes players in a duel that know they are about to lose will 'logout' to avoid defeat. It'd be useful/helpful to find a way to discourage this, or have it result in a forfeit.
-
View User Profile
-
Send Message
Posted Jul 8, 2012I cant get this to work, i add the perm - Duels.user.* to my groupmanager globalgroups and standard group file, yet players still dont have perms...
-
View User Profile
-
Send Message
Posted Jun 26, 2012Should update this to also include losing your armour when in a risk fight
-
View User Profile
-
Send Message
Posted Jun 7, 2012Great plugin. Made a guide on how to use it. Its mainly based on how to duel somebody on my server though :)
http://www.youtube.com/watch?v=Vfbf0ybhLtY&feature=plcp
-
View User Profile
-
Send Message
Posted Jun 1, 2012does this plugin still works, when in my server-properties is pvp=false ?
-
View User Profile
-
Send Message
Posted May 12, 2012When i config the messages and try to get one of them ingame it says its not found?
-
View User Profile
-
Send Message
Posted May 11, 2012Just got this with the latest recommended build.
2012-05-11 22:12:26 [SEVERE] Could not load 'plugins\Duels.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: Vault at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:195) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
Update: Seems like you need the plugin Vault. I don't use it, didn't know what it was and didn't see that you needed it in the description. at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)