[INACTIVE][FUN] Fight v1.1.4 - Arena Type Battles [740]

Discussion in 'Inactive/Unsupported Plugins' started by Deminetix, May 5, 2011.

  1. Offline

    Deminetix

    Fight - Arena Type Battles
    version 1.1.4 | Download | Source | Requires Permissions
    Features
    • PVP Arena style!
    • Two Teams (Red and Blue)
    • Customisable classes
    • Easy to set up
    • Almost commandless (one to join, one to watch)
    • Permissions support
    • iConomy(v5+) and item rewards support
    Arena Setup Suggestion



    How to use
    1. Type /Fight and you will automatically be chosen a team (Red or Blue) and teleported to that team lounge.

    2. 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.

    3. Punch it again to remove your name (and the items) if you want to choose a different class

    4. 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, BATTLE BEGINS!

    5. Players that die will be teleported to the spectator area to watch the rest of the fight

    6. 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
    1. Download and put Fight.jar in your plugins directory

    2. Boot your server to generate the config.yml file in plugins/Fight directory

    3. Edit the config.yml file and add your own custom classes and rewards, here is an example:
      Code:
                classes:
                    Ranger:
                        items: 261,262:64,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
                                                            
      - Items must be written: <itemID>:<amount>
      - If no item amount is specified it will be 1
      - Seperate each item with a comma

    4. Add the permissions for users (fight.user) and admins (fight.admin)
      Permissions is REQUIRED

    5. Boot up your server and set the Waypoints by typing /Fight <command> (see commands below)

    6. 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 i put "------------" to make the class underlined
      - The bottom two lines are used for putting the players name on it.

    7. Each lounge needs an Iron Block. When it is punched and both teams are ready (chosen classes) the fight will begin.

    8. I recommend using WorldGuard or something to protect your arena from being destroyed.

    9. If you want destructible terrain inside the actual arena, you should use WorldEdit's blueprints commands to save and load the finished blueprint after each fight. I may try to incorporate this into Fight in the future.
    Commands
    • Admin Commands

      /Fight redlounge - Sets the Waypoint for the Red team lounge

      /Fight redspawn - Sets the Waypoint in the arena where Red team starts

      /Fight bluelounge - Sets the Waypoint for the Blue team lounge
      /Fight bluespawn - Sets the Waypoint in the arena where Blue team starts

      /Fight spectator - Sets the Waypoint where spectators go, and where players go when they die in the arena.

      /Fight exit - Sets the Waypoint players will go to when they type /Fight leave

    • User Commands

      /Fight - Automatically picks a team and warps you to that lounge
      /Fight watch - Warps your to the spectator area
      /Fight leave - Leaves the team your on, and the fight
    Permissions
    Very simple permissions structure
    • fight.admin - Allows you to set up the Waypoints
    • fight.user - Allows you to Fight!
    To Do Now
    • Not sure!
    Suggestions
    • Destructible terrain that reloads after a Fight finishes
    • Support multiple Arenas
    • Save and Restore inventory before/after a Fight
    • Leaderboards
    • Lives - So you can seek revenge!
    • Manually choose team (with command /Fight <Blue/Red>) (optional to admin)
    Changelog

    • v1.1.4(12th May 2011)
      When player disconnect/logout/crash player is removed from team properly and you can still fight again!
      Players get health refilled after a fight
      Hopefully a lot of bugs are gone with this build.
    • v1.1.3 (11th May 2011)
      When a player disconnect/logout his name is removed from signs
      You can no longer teleport out of a fight using /home or /spawn or anything else
      Entry fees for iConomy users - in config file under the node rewards.entry-fee is now charged to player who join a team
    • v1.1.2 (9th May 2011)
      Parentheses bug with rewards system - Now correctly configures config file on first run (do not use parenthesis)
    • v1.1.1 (9th May 2011)
      Fixed bug where respawned players permanently go to spectator area
      Added an Exit waypoint - Players go here when they type /Fight Leave
    • v1.1.0 (9th May 2011)
      Added iConomy support and item rewards for the winning team
      Fixed all major bugs, no item cheats, no problems with fights
    • v1.0.2 (7th May 2011)
      You can no longer drop items
      Fixed a bug when players used /Fight before setting waypoints

      Inventory now gets cleared properly when a fight finishes
    • v1.0.1 (7th May 2011)
      Fixed a bug with config file
    • v1.0 (6th May 2011)
      Initial Release
     
    frastie, PinkHell, jjoonn222 and 6 others like this.
  2. Offline

    deathclaw2

    It says " Error 505" WTF does that mean? I love the idea for this plugin though its really baddass! But its not leting me set the waypoints.
     
  3. Offline

    tha d0ctor

    Same here

    Fights never end, you need a command that ends the fight or something or some better listener that recognizes when everyone is dead and resets the fight based on that
     
  4. Offline

    andrew44553

    Can you make this compatible for 860? Thanks! :D
     
  5. Offline

    Robeth

    Hi i get an error also. Everything i Do I Get An Error. Waypoint: No code, Just INTERNAL ERROR. Spawn: still no code... Fight Help: ERROR CODE:503
     
  6. Offline

    Redyugi

    Been using it on my server all day. CB 860.
    We need more information then that.
    Also Error 503 is when you have an invalid command. Make sure you are typing them right.
     
  7. Offline

    andrew44553

    Hmm, I'll try and figure it out.

    I really want this plugin, but Permissions is a pain to install, can you make it without permissions? :DD

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  8. Offline

    Bradley Hilton

    Rytharr, pivotcrafter and LlmDl like this.
  9. Offline

    Sushichopf

    I can't set the Waypoints! An internal Error occured while attempting to perform this command.. When I open the chat chronic:
    Hi.. I want to set the waypoints, but i only get the error code: An internal Error occurred while attempting to perform this command.. In the chat chronic there's writed:
    org.bukkit.command.CommandException: Unhandled exception executing command 'fight' in plugin Fight v1.1.4
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:287)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:712)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:671)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    at me.ashconnell.Fight.Fight.hasPermissions(Fight.java:372)
    at me.ashconnell.Fight.Fight.onCommand(Fight.java:196)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
     
  10. Offline

    paste120

    This is awesome, on my server we just built an arena :D

    Would it be possible to expand it to 4 teams? or a configurable amount?
     
  11. Offline

    Redyugi


    Ask in that thread. This one is done with for now
     
  12. Offline

    godgodgodgo

    Can't people just use /spawn or /home?
     
  13. 2011-06-20 12:07:50 [SEVERE] Could not pass event ENTITY_DEATH to Fight
    java.lang.NumberFormatException: For input string: "none"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Integer.parseInt(Integer.java:481)
    at java.lang.Integer.parseInt(Integer.java:514)
    at me.ashconnell.Fight.Fight.giveRewards(Fight.java:563)
    at me.ashconnell.Fight.Fight.removeAndCheck(Fight.java:635)
    at me.ashconnell.Fight.FightDeathListener.onEntityDeath(FightDeathListener.java:39)
    at org.bukkit.plugin.java.JavaPluginLoader$53.execute(JavaPluginLoader.java:612)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:146)
    at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:393)
    at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:432)
    at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:184)
    at net.minecraft.server.EntityHuman.d(EntityHuman.java:542)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:863)
    at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:223)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  14. Offline

    Redyugi

    @godgodgodgo and @eastonch
    Both of you are idiots. It has been said twice on this page. At least read the most recent page of the thread before posting. And now it's three times.
     
    Bradley Hilton likes this.
  15. Offline

    godgodgodgo

    cool
     
  16. Thank you for calling me an idiot. I was mearly submitting a bug. For the OP to fix.
     
  17. Offline

    Redyugi

    You are welcome. You just proved you needed to be. The OP has been AFK for a long while now. If you read at all, you'd know that, and wouldn't be submitting a bug on this page. :)
     
  18. -
    http://www.craftyn.com/bukkit/pvparena/download.php?f=pvparena.jar

    Failure to load... :/ Therefore i cannot update, and thish as the same bug as i am getting. I'm gonna try iFight
     
  19. Offline

    Bradley Hilton

    And to think you haven't said that on the forum that that link belongs too, I'm agreeing with Redyugi here.

    I just tried here at work and that link worked fine for me.
     
  20. Yeah, it works for me now. - My net went funny, i apologise - Could you please make it, so it doesnt crash on death? :D - Seems i have the same issue as one of your other posters.
     
  21. Offline

    Bradley Hilton

    Post in that forum, not this one, the error report.
     
  22. Offline

    terkv

    Take MobArena as an example, like with the region, could you please add like, region1 etc? :), as ppl cant destroy things in the arena :), if you dont know how, just contact the mob arena developer!

    Please add protect region to it! :)
     
  23. Offline

    Redyugi

    READ THE COMMENTS ABOVE YOURS!!!!!
     
    Bradley Hilton likes this.
  24. Offline

    timzer3

    This is one of the plugins i would really like on my server but would you be able to make optional team names so that factions could name their team there factions name and would you be able to make it that a team can make itself private so that only invited members can join. And i know this is a lot of stuff but would you be able to stop players dropping items in the arena.
    Thanks
     
  25. Offline

    Redyugi

     
  26. Offline

    blacknedvertigo

    One sujection... I have on my server one Class the Healer and he have eat but he cant give items... leave a option for desativate that "warning"...
    or if you can do that
    Put restractions on pickup other items ....
     
  27. Offline

    LokiDarkfire

    ive seen alot of plugins with auto generate, like tetris and mob arena would it be possible for you to add an autogenerate feature to this? your arena looks amazing would love to have it on my server! xD
     
  28. Offline

    Ross Gosling

    Is there any way you could make a version that doesnt require permissions?
     
  29. Offline

    Arkian123

    And how i do this? ^^ Thx for Help ;)
     
  30. Offline

    douboy20

    I did everything but whenever I try to put the Red lounge in, it says error 503. help?
     

Share This Page