PVP Arena - Team Style PVP Arenaversion: 0.0.5 | Download | Permissions This is the same plugin as Deminetix's Fight plugin, but since he hasn't updated it (on github) since May 10, 2011 and people are asking for it to be fixed/updated and features added we decided to not let this amazing plugin die. Right now we've just done bug fixes and changed the commands, but we do have great things planned and are working on getting multiple arenas working. Below is a modified version of Deminetix's orginal post. This is a continuation of a continuation started by Bradley Hilton located here. Features PVP Arena style! Two Teams (Red and Blue) Customisable classes Easy to set up Permissions support iConomy(v5+) and item rewards support Saving of inventory when joining, restoration on end of game Cuboid arena protection Team killing protection How to use Type /pvparena (or /pa) and you will automatically be assigned to a team (Red or Blue) and teleported to that team's lounge. (Your inventory will be saved, but if server crashes, you'll lose it.) Punch a sign with the class you want to be, your name will be added to an available slot on the sign and the class items will appear in your inventory. Punch it again to remove your name (and the items) if you want to choose a different class. Once your team is ready (everyone has picked a class) punch the Iron Block, when both teams are ready you will be teleported inside the arena, and thus the battle begins! Players that die will be teleported to the spectator area to watch the rest of the fight. When only one team is left standing everyone will be teleported out and the winning team announced! They get bragging rights! How to Set Up Download and put pvparena.jar in your plugins directory. Boot your server to generate the config.yml file in plugins/pvparena directory. Edit the config.yml file and add your own custom classes and rewards, see example below. Add the permissions for users (fight.user) and admins (fight.admin). Boot up your server and set the Waypoints by typing /pvparena <command> (see commands below). Create a sign in each lounge for each class you have added. - The top line is the name of the class you have in config.yml - typed exactly (eg "Ranger" or "Tank"). - The second line is unused so we usually put "------------" to make the class underlined. - The bottom two lines are used for putting the players name on it. Each lounge needs an Iron Block. When it is punched and both teams are ready (chosen classes) the fight will begin. Select the wand you defined in your config to create a cuboid selection area First you need to type '/pvparena region set' Then you need to select one corner by left clicking a block while holding the wand item Next, you need to select another corner by right clicking a block while holding the wand item Now type '/pvparena region save' and you have your arena protection set, configure the arena protection by opening up your config.yml and change the config options. Note: You do not have to have the arena protection enabled; however, if you want the arrows and items that are left in the arena to be removed after each round, you must setup a region. Config.yml Code: classes: Ranger: items: 261,262:128,298,299,300,301 Tank: items: 272,310,311,312,313 Swordsman: items: 276,306,307,308,309 Pyro: items: 259,46:2,298,299,300,301 rewards: amount: 0 entry-fee: 0 items: none protection: enabled: false player: disable-block-placement: true disable-block-damage: true ignition: block-tnt: true block-lighter: true fire: disable-lava-fire-spread: true disable-all-fire-spread: true wand: 280 teams: manually-select-teams: false team-killing-enabled: false randomly-select-teams: true How to Move Your Existing Set Up From Fight to PVP Arena Before reloading or restarting your server, after downloading the pvparena.jar do the following: Go into your plugins folder Locate the Fight folder Rename it to pvparena(yes all lowercase) Restart or reload your server and continue as normal. Commands You can replace /pvparena with the short version of /pa in any of these. Admin Commands /pvparena redlounge - Sets the Waypoint for the Red team lounge /pvparena redspawn - Sets the Waypoint in the arena where Red team starts /pvparena bluelounge - Sets the Waypoint for the Blue team lounge /pvparena bluespawn - Sets the Waypoint in the arena where Blue team starts /pvparena spectator - Sets the Waypoint where spectators go, and where players go when they die in the arena. /pvparena exit - Sets the Waypoint players will go to when they type /pvparena leave /pvparena region set - Enables cuboid selecting for arena protection /pvparena region save - Saves cuboid selection for arena protection /pvparena region edit - Edits the existing cuboid selection for arena protection /pvparena forcestop - Forces a complete stop of a game and teleports players out User Commands /pvparena - Automatically picks a team and warps you to that lounge /pvparena watch - Warps your to the spectator area /pvparena leave - Leaves the team your on, and the fight */pvparena blue - Joins the blue team */pvparena red - Joins the red team * = Only works when 'manually-select-teams' is set to true in the config Permissions fight.admin - Allows you to set up the waypoints and arena protection fight.user - Allows you to fight! NOTE: If the Permissions plugin isn't detected, fight.admin will default to operators and fight.user can be accessed by anyone. To Do Add support for multiple arenas! (it will come within a week depending on how much time I have) Lives.. Makes more sense and make interesting to have more than one life in the game. Make the ready block configurable. Block commands, configurable. Suggestions You tell me! Changelog 0.0.5 - July 15, 2011 - Made it so when the game is finished, if a region is setup for the arena it will remove all the items and arrows that are left in the arena when the game is done - Added more config options, 'manually-select-team' and 'randomly-select-team' and commands '/pa blue' and '/pa red' - Fixed a bug so when a player disconnected while playing a game it would say the player is still in game (still testing, please report bugs) - Fixed another bug so when a player disconnected while in game the game wouldn't end 0.0.4 - July 6, 2011 - Added cuboid arena protection, this includes block placement, block removal, fire spread, lava fire spread, block tnt, block lighter protection - Added team killing protection so you can enable/disable team killing - Hopefully fixed the bug where if you had put 'none' for the items option in the config the plugin would break after one round - Fixed some coding redundancies that I found, which made it more efficient (still needs more work though) 0.0.3 - May 20, 2011 - Thanks to @Carbon131you no longer have to have an empty inventory. BUT to make this happen, you have to hit the respawn button. This will stay like this unless we figure out something different. - Fixed the bug where if a user was on fire when killed, they'd still be on fire when respawned. - We also hopefully fixed the spawn issue where players weren't getting teleported out of the arena. If you're still having problems, please let me know and maybe I can come on your server once and see what's happening. - Also thanks to @Carbon131, the [pvparena] is now [PVP Arena]. I was going to do that, but he beat me to the punch lol 0.0.2 - May 18, 2011 -Worked with the new die/spawn, when you get killed you no longer have to "respwan" - FIXED: Inventory bug, where if you had more than 64 arrows, for example, in your configuration they'd appear later - Added our commands instead, so the two don't conflict... And added a short version, /pa. All original coding goes the the first author of this plugin, and unless he comes back I'm going to continue development of this plugin for the sake of this community.