DuelMe
NOTICE: You must use Spigot 1.8.8 - 1.11.2+ for this plugin to work, otherwise it will disable if an unsupported server version is used.
Description
DuelMe is a plugin for server owners that want to allow players to Duel each other. I first made this plugin for use on my own server as the world it is used on is non-pvp with the exception of this plugin so that players can duel each other for fun. This can also be used on a pvp server too with less setup time. If your server is non pvp based there is a small bit of setup required.
Player Commands
- /duel - shows information about plugin
- /duel send <playername> - sends a duel request to a player
- /duel send <playername> <arena> - sends a duel request to a player for a specified arena
- /duel accept <playername> - accepts a duel request
- /duel leave - leave a duel
- /duel list - lists duel arenas with their status(es)
- /duel about - more about this plugin.
Player Permisson Nodes
duelme.player.* - Access to all nodes below
- duelme.player.info - access to the duel command
- duelme.player.accept - allow a player to accept a duel
- duelme.player.send - allow a player to send a duel request
- duelme.player.leave - allow a player to leave a duel
- duelme.player.list - allow a player to list the duel arenas and there status(es)
Admin Commands
- /dueladmin create <duelarenaname> - creates a duel arena with the given name
- /dueladmin list - list the duel arenas
- /dueladmin remove - remove a duel arena
- /dueladmin addkill <player> - adds a player kill (for testing mysql stats)
- /dueladmin adddeath <player> - adds a player death (for testing mysql stats)
- /dueladmin setspawnpoint1 <duelarenaname> - Set a spawnpoint for player1 for a duel in a given arena
- /dueladmin setspawnpoint2 <duelarenaname> - Set a spawnpoint for player2 for a duel in a given arena
Admin permissions
duelme.admin.* - allows access to all permission nodes below
- duelme.admin.info - allows a player to view the info for the duel admin commands
- duelme.admin.create - allows a player to create a duel arena
- duelme.admin.set - allows a player to set locations for the arena
- duelme.admin.remove - allows a player to remove an arena
- duelme.admin.list - allows a player to list the duel arenas
- duelme.admin.addkill - allows a player to add a kill to the stats
- duelme.admin.adddeath - allows a player to add a death to the stats
- duelme.admin.setspawnpoint1 - allows a player to set spawnpoint1 for a given duel arena
- duelme.admin.setspawnpoint2 - allows a player to set spawnpoint2 for a given duel arena
Other Permissions
- duelme.* - allows access to all duel commands - Only give to staff / trusted players!
- duelme.update.notify - sends players notifications of plugin updates
This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
You can disable the stat collection in the plugins config.yml by changing checkforupdates to false.
Features
- Automatic update checker (Can be disabled)
- Allows players to duel each other in a controlled environment.
- Separated inventories. (Toggleable)
- Blocks cannot be broken in a Duel.
- Teleporting out of a Duel is disabled.
- Players drop no items when they die in a Duel. (Toggleable)
- Undisguises players if they are disguised - will be readded
- Toggle-able Duel start announcements
- Toggle-able Duel death message announcements
- Gives players items defined in config or you can use commands to give kits from another plugin such as essentials.
- MySQL Stats
Features to add
Revise source codeUse own block protection methodSet player spawns for arena in gameCountdown to start- Players can be charged an amount to Duel (configurable)
- MySql database to keep track of kills/deaths
Custom rewards for winnerRight click a player to send a duel requestToggleable storage of inventoriesRewards system- enable drops when a player dies
- add a delay or a way for the winning player to get the losing players items.
- add support for iDisguise
- add support for Vanish no packet
Dependencies
- WorldEdit
- Vault
- Spigot 1.8.7
Optional Dependencies
- DisguiseCraft - used to undisguise disguised players during a Duel
Setup
Changelog
click here
Official Dev Website Post
Official Test Server
come duel with us: play.teozcommunity.com
GitHub
Plugin Stats
Dev Builds / Pre Releases
These releases are experimental and may not have completed features and / or may have unpredicted results when ran so it is not reccomended to run these on production servers, but primarily to test the new upcoming features so the releases will be more stable. These builds are NOT approved by the bukkit team
Use so at your OWN RISK! download here: https://github.com/teozfrank/DuelMe/releases
please post any suggestions you may have for this plugin. I'm open to any at all!
If you have found a bug or an error please submit a ticket http://github.com/teozfrank/duelme/issues any bugs or errors submitted below will be removed and not fixed.
@ItzJGomezsPvP
"This plugin doesnt let you use your own kit", You are incorrect, there are plenty of kit plugins such of which are part of essentials. All you do is add the command to give the player that kit at the start of the duel. Its not that I dont want to add more code its just reinventing the wheel adding kit support when other plugins do this just fine.
@KarlKoch
Yeah i wanted the same thing to let every player duel with their kits and i know where i can get the plugin from, if you are interested add me on skype jonathan.gomez652 this plugin doesn't let you use your own kit, why? because the dev doesn't want to add more code..
@teo
I think this is not exactly what i need. Actually it should be like on timolia if you kow the server by any chance.. Like: Player A makes his own kit,saves it, goes to player B and challenge him into a duel. Player B accept and will get the kit from Player A.. In this case both player have the same kit and the same chances..
Try multiple pages. Because if too many people were the problem then just imagine trying to find your friend in a crowd of people. That's why I think this is a good idea
@KarlKoch Yes just give them both the same kit on the starting commands.
@NumeroUnoBaby The problem with a gui menu is its limited to the number of slots.
Is it possible to duel someone and both fight with the same kit?
Nice plugin! I did a video on this plugin a while a go and if you want to see it just let me know. But I want to suggest a feature. Can you add the feature where players can click on an item that will open up a GUI. And inside that GUI there are name tags with names of all the players in that world. Players can then click on which player they want to send a request to and the other player can click on the nametag (maybe change the item after a request has been sent) to accept it. Maybe add a lore of who is already in a game, and maybe "sent request", etc.
@cyberpwn
Great job? Hmm since everyone is bashing this plugin lets start with this ->
Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_8_R2/Packet
This means you are not using the right SPIGOT version. Make sure you read the description and use 1.8.7 SPIGOT, then please come back if you have further issues.
@Triplenox
What problems are you having, have you even tried to contact me to try and resolve the issues? Nope you havn't so please dont leave a "review" because your too lazy to contact me directly. If you leave a problem in the comments I will prob miss it, PM me and I will respond. Dont bash the plugin because of your ignorance.
Just to warn anyone, don't waste your time with this terrible plugin. Every single issue has a problem, and it's just never ending problems. Each version apparently "fixes" something, but it then again breaks another thing. Would not recommend this to anyone wanting a duel plugin.
Great Job
[00:15:40 INFO]: cyberpwn issued server command: /dueladmin create duel [00:15:40 ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'dueladmin' in plugin DuelMe v0.9.14.4 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spigot_server.jar:git-Spigot-044d928-e8c6403] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot_server.jar:git-Spigot-044d928-e8c6403] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:642) [spigot_server.jar:git-Spigot-044d928-e8c6403] at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1135) [spigot_server.jar:git-Spigot-044d928-e8c6403] at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:970) [spigot_server.jar:git-Spigot-044d928-e8c6403] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot_server.jar:git-Spigot-044d928-e8c6403] at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot_server.jar:git-Spigot-044d928-e8c6403] at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot_server.jar:git-Spigot-044d928-e8c6403] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_75] at java.util.concurrent.FutureTask.run(FutureTask.java:262) [?:1.7.0_75] at net.minecraft.server.v1_8_R3.SystemUtils.a(SystemUtils.java:19) [spigot_server.jar:git-Spigot-044d928-e8c6403] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:718) [spigot_server.jar:git-Spigot-044d928-e8c6403] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:367) [spigot_server.jar:git-Spigot-044d928-e8c6403] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:657) [spigot_server.jar:git-Spigot-044d928-e8c6403] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:560) [spigot_server.jar:git-Spigot-044d928-e8c6403] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_75] Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_8_R2/Packet at com.teozcommunity.teozfrank.duelme.commands.admin.CreateCmd.run(CreateCmd.java:99) [?:?] at com.teozcommunity.teozfrank.duelme.commands.DuelAdminExecutor.onCommand(DuelAdminExecutor.java:183) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot_server.jar:git-Spigot-044d928-e8c6403] ... 15 more Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_8_R2.Packet at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91) [spigot_server.jar:git-Spigot-044d928-e8c6403] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) [spigot_server.jar:git-Spigot-044d928-e8c6403] at java.lang.ClassLoader.loadClass(ClassLoader.java:425) [?:1.7.0_75] at java.lang.ClassLoader.loadClass(ClassLoader.java:358) [?:1.7.0_75] at com.teozcommunity.teozfrank.duelme.commands.admin.CreateCmd.run(CreateCmd.java:99) [?:?] at com.teozcommunity.teozfrank.duelme.commands.DuelAdminExecutor.onCommand(DuelAdminExecutor.java:183) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot_server.jar:git-Spigot-044d928-e8c6403] ... 15 more
@tspierer2
The messages are coming it has been asked.. Sorry I cant as it will mess up the current command system.
please add a fully customizable config for ALL messages. Also please replace the '/duel send (playername)' command with '/duel (playername)' .
@Sammo346
Yes use worldguard.
@RedRikudo
I have not tested that feature yet so it may not work. You need to shift and right click by the way not just right click.
When I turn on the rightclicktoduel in the config.yml, this not work in game. I right click on the player and this don't do anything. Can you help me ? Thanks.
Is it possible to disable PVP in the rest of the world whilst allowing people to fight within these arenas?
Thanks!
@xion87
Could you please ellaborate more than that? Step me through how to reproduce the problem? Please report it on the issues on the GitHub page in the future, thanks.
Latest build: all player in duel have 1 hp...
I made a duel plugin EXACTLY like this. Not even kidding. All the commands exactly the same. Except the /dueladmin addkill. Even the /dueladmin commands the same. Great minds think alike? Wtf........ Scary.
@ratg97
not yet...
CAN I CUSTOM MESSAGES?