[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

    Razzen

    @Deminetix

    Love the plugin, one thing is that when everyones ready they don't get spawnedto arena? I dot know why. I've set the redspawn and bluespawn but nothing. when they hit the iron block it says they are ready and they have chosen a class
     
  3. Offline

    TACTICALboom

    Code:
    17:39:34 [SEVERE] Could not pass event ENTITY_DEATH to Fight
    java.lang.NumberFormatException: For input string: "none"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Integer.parseInt(Integer.java:449)
        at java.lang.Integer.parseInt(Integer.java:499)
        at me.ashconnell.Fight.Fight.giveRewards(Fight.java:563)
        at me.ashconnell.Fight.Fight.removeAndCheck(Fight.java:610)
        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)
    
    grrrrrr
    What dis bout?
     
  4. Offline

    beatcomet

    Go to the config file and remove the none entry, that should fix it
     
  5. Offline

    godhand1942

    If you have falsebook or craftbook you can do the same thing. Have the team spawn set in a room that has a detector near by. Connect detector to X second delayer and delayer to gate. Once ur players spawn, they get sent to room which counts down technically and then the gates open and ur players can rush out
     
  6. Offline

    beatcomet

    You can make a roon 4X4 surrounded by walls so you got 3X3 empty space inside. you place an entity detector and set it on player detector with a range of 2. you connect the lever and the delayer with redstone and set the delay time to 5, and the delay will be connected to a gate made by a porte-something plugin. that is nice, and I will try it right now
     
  7. Offline

    spirit293

    Deminetix... I get java nullpoint expection error/internal error... Can you please help me what the problem is? D:
     
  8. Offline

    TACTICALboom

    Thanks
     
  9. Offline

    beatcomet

    i'm glad I could help, it's a pretty common error. Deminetix will probably fix it in later updates :D
     
  10. Offline

    DeathBanes

    Excellent plugin!
    I'd like to see a chooseable command if you set your config to.
    also different jobs for different teams would be great.
     
  11. Offline

    spirit293

    Caused by: java.lang.NullPointerException
    at org.anjocaido.groupmanager.permissions.NijikoPermissionsProxy.permiss
    ion(NijikoPermissionsProxy.java:241)
    at org.anjocaido.groupmanager.permissions.NijikoPermissionsProxy.has(Nij
    ikoPermissionsProxy.java:224)
    at me.ashconnell.Fight.Fight.hasPermissions(Fight.java:372)
    at me.ashconnell.Fight.Fight.onCommand(Fight.java:214)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
    > THATS HOW ITS STANDING WHEN IM TRYING TO SET WAYPOINTS PLEASE HELP FAST
     
  12. Offline

    embty

    can you it that when players use /fight their inventory must be empty or somthing?
     
  13. Offline

    heroanth2345

    Well, 9.5/10 (Nothing can be perfect)
    BUT THIS IS THE BEST PLUGIN I'VE EVER SEEN IN MY LIFE!
    Anyway:
    • Support multiple Arenas
    Lives - So you can seek revenge
    Save and Restore inventory before/after a Fight
    Would be the first priority (for me...)
     
  14. Offline

    Nytemare3701

    Request: Multiple arenas.

    /setredlounge (name) - adds a red lounge
    /setbluelounge (name) -adds a blue lounge
    /link (red name) (blue lounge) (arena) - you get the idea.
     
  15. Offline

    Fortifier42

    Each time i try to use a command i get a message saying "An internal error occurred while attempting to perform this command.
     

    Attached Files:

  16. Offline

    LlmDl

    Just installed this, incredibly happy with it. Everything worked when I followed the instructions.

    Want to chime in:
    • Would like to see multiple arenas
    • Would like to see the registration fee as an option upon fight start (player type /fight 50, costs 50 coins to join the fight.)
    • Working on the last one, the reward should be the total of all the registration fees divided amongst the winning team.
    • The save+restore inventory when fights are started and ended.
     
  17. Offline

    spirit293

    Same here.... Demi HELP US NOW
     
  18. Offline

    Deminetix

    I think you are using the old permissions. Please look for the forked version phoenix and grab a copy of the latest awesome sauce!

    Taking a break from the plugin as I just got smashed with heaps of client work. Will keep u all updated but for the moment the plugin Is stable if u follow instructions properly and use the posts to troubleshoot ur problems
     
  19. Offline

    yup8

    Request - Rounds
    add a sign with "round numbers" at the lounge .
    each hit on the sign will increase it with 1 , once hitting iron block , it will ask the other team if she agrees.
     
  20. Offline

    Wanderer89

    Awesome plugin, players have been digging it,
    I realize this isn't your responsibility, so it's more a question to other admins out there: I use tombstone and spawncontrol, so when you die in the arena you're warped back to an exact spawn (not sure but thought after the fight you were supposed to be moved to /fight exit), and tombstone creates tombstones for players with their class items when they die, which theoretically could be used in the next fight by the same player.... Any general workarounds/tips?

    Using world-guard to protect the arena, (also can't figure out why lighters don't work for everyone when lighter flag is set to allow)

    Thanks.
     
  21. Offline

    Jakawar

    Hee its me again! i can finaly set Red/blue lounge/Spawn thank you for that! but another problem disappeard, When i type /Fight it says all waypoints need to be setup first. But i already did it :O ? Can someone tell me what i am doing wrong ?
     
  22. Offline

    Deminetix

    /fight exit and /fight spectator
     
  23. Offline

    Jakawar

    Owhh shit how can i be so stupid sorry for wasting your time ther :(
     
  24. Offline

    Fortifier42

    I have used the forked version and it still doesn't work, the same error is occuring!
     
  25. Offline

    EgoPlayer951

    can you make this compatible to Bukkit 766 ?

    lg
     
  26. Offline

    embty

    when using /fight blue/red we get error 503. please help :<
     
  27. Offline

    DeathBanes

    It's not in the plugin yet...
    Anyways, my regular members can't click on the signs for fighting even if I promote them to a moderator.
     
  28. Offline

    genericsauce

    Hey I have a bug/issue. When someone dies in lava my server crashes and my server log when it crashes is
    Code:
    2011-05-14 22:31:56 [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.Entity.X(Entity.java:307)
        at net.minecraft.server.Entity.N(Entity.java:277)
        at net.minecraft.server.EntityLiving.N(EntityLiving.java:116)
        at net.minecraft.server.Entity.p_(Entity.java:192)
        at net.minecraft.server.EntityLiving.p_(EntityLiving.java:230)
        at net.minecraft.server.EntityHuman.p_(EntityHuman.java:90)
        at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:169)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:273)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        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)
    
    Thanks for the plugin and I hope you can solve this issue.
     
  29. Offline

    beatcomet

    Remove the none from the item reward in the config file
     
  30. Offline

    rippan

    Hello, great plugin I just got it up and running!

    Deminetix, is there anywhere I can download your arena map from?

    Or does anyone else got a complete arena map that they wanna share? please =)
     
  31. Offline

    beatcomet

    Well I can make an arena for you, just tell me the size and style you want and as soon as I fihish up I will upload it to mediafire and sendyou a PM.
    I just neet the following information :

    1. General shape : Do you want a round arena or a qube-shaped arena? (you can also add some other shapes even triangle, just tell me what you want)
    2. Enrty fee and rewards : I'm going to send you the map as well as the config file, so you will not need to do anything, just place the files in the right place and you are all set.
    3. Challenging arena : Do you want me to make a challanging arena, or a simple one that will contain low amount of obstacles and more empty space.
    4. Hellish arena : Do you want me to add netherrack and/or soulsand in the arena? adding those type of blocks with the right plugin will make it more interesting. (If you use false book, I will add self-igniting netherrack that will turn on and off randomly)
    5. Classes and items : If you want to add custon classes just tell me which classes and what items do they use and I will add it to the plugin config file.
    6. Spectator seat's area : Where do you want to set the spectator zone (just use simple terms of hight and distance from the arena)
    7. Misc. requests : Write whatever you want me to add if not specified above, and I will do my best.

    After making the arena pleas send me a feedback and tell me what you want me to improve and what were my mistakes.
     

Share This Page