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

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

  1. Offline


    Fight - Arena Type Battles
    version 1.1.4 | Download | Source | Requires Permissions
    • 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:
                        items: 261,262:64,298,299,300,301
                         items: 272,310,311,312,313
                         items: 276,306,307,308,309
                         items: 259,46:2,298,299,300,301
                     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.
    • 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
    Very simple permissions structure
    • fight.admin - Allows you to set up the Waypoints
    • fight.user - Allows you to Fight!
    To Do Now
    • Not sure!
    • 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)

    • 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


    anyone is having the same error when use /figth red/blue? error 503?
    Edit: sorry didnt see that the function isnt impalnted yet ::>
  3. Offline



    When the fight is over and someone has won, i get this error;
    2011-05-15 11:06:29 [WARNING] Failed to handle packet: java.lang.NullPointerException java.lang.NullPointerException     at net.minecraft.server.ItemStack.a(ItemStack.java:137)     at net.minecraft.server.EntityHuman.d(EntityHuman.java:536)     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:803)     at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)     at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    My Fight Config is here too;
    Also, if someone types "/fight leave" the people in the arena disconnect and minecraft stops responding. Another thing is that after a certain time, whilst still in battle, they get warped back to the Fight spawnpoint in the arena again, and again and again. Until the fight is over. :|
  4. Offline


    Deminetix Every time i have had a fight and we wanna have one more it stands:A fight is allready in progress. And we gotta restart or reload the server for it to work again. And its often ppl on it so it's not funny for them... What can i do?
  5. Offline

    arron connell

    Hello, I have just installed the plugin and i made a redlounge but when i put /fight redlounge it set error 503 ???? plz can someone help me i have iconomy 5 and phenix permissions
  6. Offline


    check the version of the permissions plugin, download the latest version and make sure you make yourself admin.
    If you already using the latest version of permissions pleas send me the content of your permessions plugin (the yml file)
  7. Offline


    The /home feature is pretty bad for this mod lol needs to be fixed asap, and please make this great plugin work with /fight red/blue.

    Thank you very much,
  8. Offline


    Very nice plugin im configuring it now! I do hope you can add more game modes like in call of duty and make the people spawn again but in 2 different locations so its like call of duty (this prevents spawn killing). Also put search and destroy or maybe capture the flag (block of obsidian so it takes time to capture and forces them to do team work). I hope you can do these things so youll be famous like iConomy or the other big plugin names.
  9. Offline


    What do you mean the /home feature
  10. Offline



    Any help related to my problem?
  11. Offline


    He fixed it the day after I posted that now you cant use any kind of warp till the fight is over.
  12. Offline


    I have the exact same problem. When fight ends, another one can not be started (Fight already in progress)
  13. Offline


    I mean using any kind of TP during battles, But Rythar said it was fixed :> only /figth red/blue left now and this mod is perfect!
    Thank you very much!
  14. Offline


    This Plugin is awesome, thank you for this! It would be cool, if you add Killstreets to get some better items during the fight.
  15. Offline


    This is a great plugin. As like most people I have a suggestion as well.

    To be able to change certain classes movement speeds. Any class with bow/arrow is fairly overpowered, to slow them down a tad more than the other classes would help balance it out.
  16. Offline


    Can't wait for the fix to the "Fight already in progress" bug. My whole server is psyched :D
  17. Offline


    There is a plugin that limits arrow spam, I use McMMO which has it built in. No more rapid-fire bows.
  18. Offline


    Same here m5k D:
  19. Offline


    I asked a friend to add the /fight blue/red but he couldnt compile it to jar or somthing lol. should i upload it and send u the link?

    Ok before that, when a fight is over my server gets restarted for some reason :< Im using essentials 2.2.18 i have feeling its causing some kind of conflict

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


    My server also gets restarted. It seems like it's a problem with ENTITY_DEATH.

    You'll see at the end where it automatically restarts.

    2011-05-16 12:19:40 [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$48.execute(JavaPluginLoader.java:524)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
            at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:119)
            at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:393)
            at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:423)
            at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:156)
            at net.minecraft.server.EntityHuman.d(EntityHuman.java:532)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:815)
            at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-16 12:19:40 [INFO] MikeHonch killed homer_fink wielding stone sword.
    2011-05-16 12:19:40 [INFO] [CONSOLE] Server is restarting. World is being saved.
  21. Offline


    Remove "none "from config file
  22. Offline


    Thanks, I'll try that (not at home right now).

    Another feature that would be nice would have like a point system per death. Like, you kill someone on the other team and you get a point for your team. Or lose a point if you kill one of your own (if you can, I haven't tested much on this plugin yet). So the matches aren't too short if there's only 1v1 or 2v2.
  23. Offline


    lol, our bad. Epic plugin, everyone's having a blast in my server now, thanks a ton :)
  24. Offline


    Yeah, this plugin is a blast. Had a hell of a time doing some arena tonight. :p The classes are a GREAT and fun idea.

    I think the next step should be a capture the flag style game. You could have a gold or diamond block start this style game, instead of iron. So people could either "vote" or a team leader/admin/mod could choose which style.

    It should be pretty really. You can have the flag be a red/blue wool block (since who would use wool in a pvp match?), and you assign "waypoints" for them to bring the opposing flag and place it to win the match. Only the opposing team can remove the block from the starting point. If they die with it in their possession and the flags' team picks it up it goes back to the flag point. If you die during the match you just respawn at the starting point (with your class items) for your team until somebody captures the flag.

    Yeah, you guys probably get sick of these requests, LOL, sorry.
  25. Offline


            items: 259,46:2,298,299,300,301
            items: 272,310,311,312,313
            items: 276,306,307,308,309
            items: 261,262:64,298,299,300,301
        amount: 5
        entry-fee: 2
        items: none
            yaw: 177.89983
            pitch: 8.249878
            z: 54.291136310011694
            y: 66.0
            world: world
            x: -3.3403041331732406
            yaw: -90.60019
            pitch: 25.049873
            z: 55.36756971745356
            y: 66.0
            world: world
            x: 1.949022758880826
            yaw: 85.13403
            pitch: 47.034103
            z: 55.66686609380696
            y: 66.0
            world: world
            x: 35.86525541891969
            yaw: -273.90002
            pitch: 30.299877
            z: 55.78606623575026
            y: 66.0
            world: world
            x: 30.500611148973334
            yaw: 262.92993
            pitch: 51.449993
            z: 37.5
            y: 119.0
            world: world
            x: 22.5
            yaw: 2.0800202
            pitch: 27.501783
            z: 46.06466393817395
            y: 69.0
            world: world
            x: 20.35117022284449
    which "none" did you mean?
  26. Great plugin, some ideas:

    - A way to schedule fight availability. Including global announcement, this will lead to more organised fights.
    - Global announcements to be enabled for events like Start / Winner / Prizes.
    - A command to see who is in the Fight, and on what team
    - Messages to players when their Fee is deducted.
  27. Offline


    I have a problem with this plugin. When I type an admin command the server say [FIGHT]503. Can someone help me, what's wrong? Sorry for my bad english.
  28. Offline


    503 means unknown command. I think you don't have permissions set correctly.

    amount: 5
    entry-fee: 2
    items: none

    That one
  29. Offline


    Thank you very much it worked :)
  30. Hi there. I'd really like to make use of this plugin on my server, but when I try to use the /fight redlounge and /fight bluelounge command, then I get this error message: "An internal error occured while attempting to perform this command".

    2011-05-17 09:55:19 [SEVERE] null
    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:85)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:278)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:682)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:645)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:639)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NullPointerException
    at me.ashconnell.Fight.Fight.hasPermissions(Fight.java:372)
    at me.ashconnell.Fight.Fight.onCommand(Fight.java:208)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
    Can someone help me out?
  31. Offline


    Update permissions here: http://forums.bukkit.org/threads/ad...ow-with-real-multiworld-permissions-766.5974/

Share This Page