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.
Spigot 1.7.10 and Last DuelMe build give me this error. Any solution_
[03:49:45 ERROR]: Error occurred while enabling DuelMe v0.9.11.4 Beta (Is it up to date?) java.lang.NoSuchMethodError: org.bukkit.scheduler.BukkitScheduler.runTask(Lorg/bukkit/plugin/Plugin;Lorg/bukkit/scheduler/BukkitRunnable;)Lorg/bukkit/scheduler/BukkitTask;
at com.teozcommunity.teozfrank.duelme.main.DuelMe.checkForUpdates(DuelMe.java:155) [?:?] at com.teozcommunity.teozfrank.duelme.main.DuelMe.onEnable(DuelMe.java:88) [?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) [spigot.jar:git-Spigot-1544] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:329) [spigot.jar:git-Spigot-1544] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-1544] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.java:476) [spigot.jar:git-Spigot-1544] at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.java:394) [spigot.jar:git-Spigot-1544] at net.minecraft.server.v1_7_R4.MinecraftServer.n(MinecraftServer.java:360) [spigot.jar:git-Spigot-1544] at net.minecraft.server.v1_7_R4.MinecraftServer.g(MinecraftServer.java:334) [spigot.jar:git-Spigot-1544] at net.minecraft.server.v1_7_R4.MinecraftServer.a(MinecraftServer.java:290) [spigot.jar:git-Spigot-1544] at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.java:210) [spigot.jar:git-Spigot-1544] at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:458) [spigot.jar:git-Spigot-1544] at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1544]
@topchoboy
This was broken when i moved over to the new death system, I will fix this for the next release in the next few days, for now please use seperateinventories: true for the time being :)
@Lightning_Dog
Im sure I could when I get the major bugs out of the way :)
@surechoice
Try the latest version, I have tested and arenas save and load fine.
@LilOu1227
just use /give <itemid>
also it is not possibe to auto equip armour yet, each player has to do that manually.
@topchoboy
Same problem =/
Diamond armor and potions would be nice, not the kit that is in default settings (wooden sword and leather armor)
there is a way to equip the armor automatically to start the duel?
l turn seperateinventorys to false and no give item in arena. l want player go whit own inventories to the arena version :1.7.9 0.9.9
Great! I will test this out later.
@madtomic
DuelMe 0.9.11.3 Beta for 1.8 (39 mins ago)
Also on 1.8.x =P
This works on 1.7.9
I am using spigot 1.7.10 When I create an arena and set it, and when I reload the plugin or restart the server, the arenas are not saved or deleted. I tried doing it a few times but the same result. I also tried making a database. Still the same thing. I tried the dev build. it still keeps on deleting the arenas or they don't get saved. Please help
Can you add a /match possibility to allow random matches?
@Rapidin02
You mean to have a configurable amount of rounds? Why would you want to allow players to break / place blocks?
@ThsShadyOneHD
@leontin2012
Please try the latest dev build on GitHub, these are pre releases and have NOT been approved by the bukkit team, use at your own risk!
Please help me! :( http://pastebin.com/3yMQhftJ
I can duel send and everything else BUT not duel accept. It gives this error.
- An error occurred with this command. Please recheck what you typed!
Please help asap
Could you add the feature to autorestart the arena when the match finishes? Allow players to place and destroy blocks and replace or remove those same blocks to return the arena to its original state.
creating a arena gives no error expect ingame which is "An interal error occurred while attempting to perform this command." Lastest spigot verison
@levisn1
Try the latest version that is has just been submitted for approval.
@teozfrank
Doesn't works... i do /duel and the server answer in chat with "/duel".
[23:01:57 INFO]: This server is running CraftBukkit version git-Spigot-1486 (MC: 1.7.9) (Implementing API version 1.7.9-R0.2-SNAPSHOT)
http://pastebin.com/DCfrYExm
Great plugin! Could add some better functionality though like a scoreboard or a variable to add to the plugin ScoreboardStats. Also it doesn't alter game mode once put in the arena. This causes problems because you can't switch because of the command block.
@wesley023
have you setup the spawnpoints for each arena?
It's still TPing people to random places :/
@Joshy54100 The plugin has this feature;
Its in the main config file change seperateinventorys to false.