Duel Arena
Duel Arena
Duel Arena allows players to challenge each other to 1v1 fights based on the popular mini-game from Runescape. GUI interface, PvP rule settings and stakes.
Features
- No Commands - Commands are completely optional as users right click players in a certain region to challenge other players
- GUI interface - users setup the game rules in a GUI interface and then stake items in an interface without commands
- The ability to bet any item in minecraft or with in-game cash
- Disallow a wide variety of items, potions, food, and more as part of each battle
- Set up an unlimited number of arenas for players to fight in
- Anti-scamming features during stake/rules screens via countdown screen
- Supports protecting items/players who disconnect or when a server reboots expected or unexpected.
Setup
- Drop the Jar file in plugin directory and ensure you also have Vault, WorldEdit and WorldGuard installed
- Create a region and then type /duel region [name] to set the lobby region
- Type /duel lobbyspawn to create the lobby spawn
- Create each individual arena, this can be surrounded with glass or some other blocks so players cannot escape. You can also make a giant arena with all the smaller arenas inside this arena. Players can only attack their targets during a duel.
- For each arena type /duel create and you will get an arenaID. To set the two spawnpoints type /duel [arenaID] pos1 and /duel [arenaID] pos2 for both player spawns.
Instructions for Playing
- Players can challenge others do a duel by typing /duel [other player] and the other player will get a request. They type the same command to accept the duel. If a lobby and region is setup, players can simply right click each other to accept a duel request.
- Rules - The first screen: rules are restrictions for the fight, these include disallowing: Helm, Chest, Legs, Boots, Ranged weapons, Melee Weapons, Potions, Food, God Apples, and 2X health for longer fight. After the users agree then can lock in and it will take them to the next screen.
- Stakes - users can stake cash or items here by using the icons provided can place bets or place items in the top left corner. Player can bet up to 11 items. Once they agree they can lock-in and the fight will start in a few seconds.
- Fight - players will be teleported to an available open spot (arena) and will fight to the death according to the rules.
- Winner - whoever kills the other player will receive all the items bet and the cash as the reward for killing the other player.
- As a note items will not drop on death, however any food eaten or armor damaged will remain damaged.
Player Commands
- /duel - help for player or admin
- /duel [playername] - sends a request to that player to duel
- /duel forfeit - Resign from current duel
Admin Commands
- /duel region [name] - sets the worldguard region name for the lobby
- /duel lobbyspawn - sets the lobby spawn
- /duel create - creates a new arena and gives you the ID#
- /duel [arenaID] pos1 - sets the 1st spawn in the arena
- /duel [arenaID] pos2 - sets the 2nd spawn in the arena
- /duel delete [id] - removes the arena based on the ID
- /duel list - shows how many arenas are added
- /duel reload - reloads the config
Permissions
- duelarena.player - required for players to duel others either by command or right click in lobby
- duelarena.admin - Required to setup arena and use admin commands
Suggestions
Post suggestions in the comments below and I will do what I can to implement them into the plugin.
To Do
- Enable/Disable Armor/Weapon damage during battle (add to config)
- Enable/Disable Consumable loss during battle (add to config)
- Enable/Disable Remove Potion effects before fight (will disable double health rule as well)
Updates
3/7/14 - Plugin has been approved by Bukkit - please report any bugs in the comments and upload server logs to pastebin.
Donate
If you feel this plugin has benefited your server - Donate to help me out :)
-
View User Profile
-
Send Message
Posted Mar 14, 2014@TheD4n
If he was using a 1.7.2 client that could cause the issue!
-
View User Profile
-
Send Message
Posted Mar 14, 2014@TheD4n
Those are the correct permissions the one that begins with "duelarena", but you have them listed on the plugin description as just "duel" which is what I was saying you should change ;)
Also as far as the commands...it will still only work the other way for me xD Maybe I have a plugin that causes this?
-
View User Profile
-
Send Message
Posted Mar 14, 2014Please check the PM I sent you man!
-
View User Profile
-
Send Message
Posted Mar 8, 2014@TarikBerk
There may be a bug - can you check server logs for an error and upload it to pastebin.
-
View User Profile
-
Send Message
Posted Mar 8, 2014@lecraeman
I checked permissions and duelarena.player is what I have on my server and my code so maybe make sure its all lowercase for now.
Also the command is /duel arenaID pos1 - I checked the code and that is how it is read, try making more than 3 arenas to test this out more.
-
View User Profile
-
Send Message
Posted Mar 8, 2014I tested this plug-in. I don't know if it was because I was op, but I could pick-up blocks from the menu and the player I was staking with could change the rules even after I was locked in.
Make it so it unlocks the player if a rule is changed after you are locked in.
A nice plug-in :)
-
View User Profile
-
Send Message
Posted Mar 8, 2014The permissions are incorrect...they're actually:
duelarena.player duelarena.admin
You also have the set arena positions wrong. It's actually:
/duel pos1 [ARENAID] /duel pos12 [ARENAID]
This is how it is on my server...so unless you changed it since I downloaded the file those need to be corrected ;)
Also, Feel free to let people try it on my server [Play (Dot) pvpcraft (dot) co]. I have it installed, and you can right click people in spawn!
I am also hoping to get a video for it together :D
-
View User Profile
-
Send Message
Posted Mar 8, 2014This reminds me of Runescape :P
-
View User Profile
-
Send Message
Posted Mar 7, 2014@bandit16
I dont think that is working right now and you don't need to set it as its not used.
-
View User Profile
-
Send Message
Posted Mar 7, 2014/duel lobbyspawn doesn't work it says player not found plz help
-
View User Profile
-
Send Message
Posted Mar 7, 2014Nvm, it was approved!
-
View User Profile
-
Send Message
Posted Mar 7, 2014Can you PM this plugin aswell? All other plugins don't have the features that I want. :)
-
View User Profile
-
Send Message
Posted Mar 4, 2014@lecraeman
You will need to set the arenas in a seperate world and then add that world to the faction config that ignores PVP rules.
-
View User Profile
-
Send Message
Posted Mar 4, 2014Having an issue :(
Is there a way to prevent people in your faction from being invincible?
I am using an old version of factions(The one right before MCore).
-
View User Profile
-
Send Message
Posted Mar 4, 2014Still waiting :( man bukkit is SLOW.
-
View User Profile
-
Send Message
Posted Mar 3, 2014Can you PM me a test version of this plugin?
I would love to test it on my server...
-
View User Profile
-
Send Message
Posted Mar 3, 2014Cool, I'm waiting for the download :D
-
View User Profile
-
Send Message
Posted Mar 2, 2014Duel Arena Alpha 0.1 has been released and will be approved shortly!
-
View User Profile
-
Send Message
Posted Feb 11, 2014Hey how long is it going to be until this plugin is ready?
-
View User Profile
-
Send Message
Posted Jan 27, 2014Can't wait for it!