[FUN] MobArena v0.96.8 - Become a mob-fighting gladiator! [1.7.x, 1.8.x]

Discussion in 'Archived: Plugin Releases' started by garbagemule, May 30, 2011.

  1. Offline

    garbagemule

    [​IMG]

    MobArena - Become a mob-fighting gladiator!
    [​IMG] Latest build: v0.96.7 (1.7.x)
    [​IMG] Wiki
    [​IMG] IRC Channel
    [​IMG] Source

    BukkitDev Project Page - Find MobArena on dev.bukkit.org here: LINK.

    ------------------------------

    Old description (open)
    If you enjoy fighting monsters for glorious prizes or just the sheer thrill of battle, you and your friends can now join forces against hordes of Minecraft evils in the exciting gladiator-style survival mini-game MobArena!

    Heavily inspired by Deminetix' Fight-plugin, MobArena is a PvE-take on arena-gameplay, with a similar class-based system. Instead of fighting other players, you team up with them to beat oncoming waves of monsters, earning rewards in the process. MobArena can be played alone, or with as many friends as you like!


    Features:
    • Fight oncoming waves of monsters
    • Play alone or team up with friends
    • Earn glorious prizes
    • Customizable classes, rewards and waves
    • Easy to set up
    • Extremely easy to use
    • Very few user commands
    • Supports Permissions and all major economies
    • Supports Spout
    • Supports Heroes
    Note: When you post a bug report, please provide a stacktrace/error from the server log/console window. Post this stacktrace in either a pastebin, a pastie, or a CODE-block! The same applies for config-files, permissions-files, etc! Please don't put them directly in your posts, as they become gigantic and annoying to read. If you don't follow this guideline, I might ignore your post!


    Wiki - Instructions, commands, FAQ, etc.
    I have set up a Wiki for MobArena. It contains a bunch of information and guides on how to set up and customize arenas, an overview of all the commands, how to set up Permissions, as well as frequently asked questions.

    New: MobArena now has its own IRC channel (#mobarena @ EsperNet). Click here for a web-based IRC client. Feel free to stop by to get help setting everything up if you really don't understand the Wiki and the instructional video, or to have a chat about MobArena (or anything else, for that matter) :)

    Relevant links:
    Videos:
    Getting started with MobArena, by Flamers
    Flamers made this really easy-to-follow, simple video of how to get started with MobArena. It covers installing the plugin, defining an arena region and setting up basic leaderboards, as well as a few pointers for arena design.
    Old instructional video (open)
    Instructional video for setting up MobArena:

    Note: This video was made for v0.67, but all the in-game instructions still work the same for the latest versions. The config-file has changed, so make sure to read the Wiki on how to set it up.
    More Videos (open)
    Review of MobArena by plugin reviewer jamescosten (v0.84):

    Note: My nickname "garbagemule" is pronounced "garbage mule", as in "trash donkey" ;)

    Hilarious showcase of MobArena by Daniel James and Daniel Cherry (v0.92.3):


    Delios showing off his beautiful arena setup:


    slowmonkey1227 in his interesting "island" arena: YouTube
    French video by avalondrey (v0.87.3): YouTube
    German video by blutherz and his friends (v0.91.2): YouTube



    Troubleshooting:
    To avoid wasting not only your own time, but mine as well, I expect everyone to do some extensive troubleshooting before posting bug reports. What does this mean?

    Try MobArena on a fresh server.
    MobArena works perfectly fine when I release it. Sure, there are a few bugs, but it works. If it doesn't work for you, something is most likely wrong on your end. Set up a local test-server, and verify that MobArena works before claiming that it doesn't. When you have verified that MobArena does indeed work, you can start adding other plugins and settings until something conflicts.

    Disable other plugins.
    The first thing you need to do is disable all other plugins. If you can't reproduce the bug with other plugins disabled, you know that you have a conflicting plugin. Now perform a binary search on the other plugins, or if you don't know how to do that, just add a couple of plugins back to the plugins-folder, try to reproduce the bug, and if you can't, the conflicting plugin must be in the remaining set of plugins.

    Write down reproduction steps.
    Figure out the exact steps to reproduce/trigger the bug. I need precise steps, and as much information as possible, because there are often many things that could be going on. An example of reproduction steps could be:
    1. Type /ma join
    2. Punch the Archer class sign
    3. Wait for someone else to join
    4. Punch the iron block
    5. Type /ma leave before the other player picks a class

    Check the console window/server.log
    Make sure you check the server.log file for any MobArena errors or exceptions. If you find any, copy the ENTIRE exception (including all the lines that say "at com.garbagemule.MobArena...") and paste it (with the other information) in a CODE-tag here in the thread.


    Donations:
    I develop MobArena for the fun of it and the positive feedback is all it takes to make me happy, but a few people have asked for a link, so if you're one of them, here's a link: Donate - You can donate as much as you want, even down to a few cents! If I get enough donations, I will spend the money on an extra Minecraft account to aid me in developing/testing/debugging MobArena :)


    Changelog:

    Version 0.94.3.24
    • Updated for CB 1337.
    • The repair-delay node is now unused! The reason for this is that it is now possible (with the release of 1317) to cancel block damage in explosions, and still retain the animation and sound! This also means that arenas should be fully pistons-compatible (for arenas that don't use soft-restore or force-restore)! I'm hoping to see some screenshots and videos of shifting arenas! :)
    • You can now right-click signs in the lobby! I finally found a super easy solution to the improperly updating inventory issue with right-clicking class signs. The result is that players can now left- or right-click as they please. This should solve all issues related to players not being able to choose classes, due to spawn region and WorldGuard/Factions/whatever conflicts.
    • It is no longer possible to warp out of the lobby.
    • New per-arena setting: final-wave - Allows for setting a final wave, meaning on that wave, the arena will end, regardless of how many players are alive.
    Version 0.94.3.11 (open)

    • v0.94.3.11 - Updated Register, built against CB 1240.
    • v0.94.3.8 - Added basic leaderboards.
    • v0.94.3.6 - Fixed MagicSpells support - MobArena no longer supports MagicSpells pre-v1.1!
    • v0.94.3.5 - Fixed a bunch of bugs introduced with CB 1185, as well as a couple of minor MobArena bugs.
    • Updated for CraftBukkit #1185
    • Updated economy support (now supports iConomy 6).
    • Added the three new mob types, Enderman/Endermen, CaveSpider/CaveSpiders, Silverfish. They can be used just like the other mob types in the waves.
    • Endermen cannot pick up arena blocks (this is why).
    • Endermen cannot place blocks in arena regions.
    • The per-class permission syntax has been fixed and changed slightly. The Wiki has been updated (clicky).
    • Fixed MagicSpells issues.
    Version 0.94.2 (open)

    • Redstone circuits now work properly in arenas.
    • Lightning now properly strikes on spawnpoints on special waves.
    • Fixed an issue where players somehow warping/cheating out of the arena world get kicked from the server when discovered.
    • Added MagicSpells support. Use the magicspells.yml file to ban certain spells from the arena either for the whole session, or only during boss waves.
    • Fixed the Heroes death conflict. MobArena and Heroes should now play nice together. Further Heroes support is planned for upcoming releases.
    • [COLOR=#1000000]MobArena will no longer support the discontinued Permissions 2.x and 3.x permission systems.[/COLOR] Recommended permissions systems include PermissionsBukkit (defacto standard) or PermissionsEX.
    Version 0.94.1 (open)

    • Added two new boss abilities: 'shuffle-positions' and 'flood'. Try them out!
    • Players disconnecting/crashing during an arena session no longer get corrupted data files due to economy rewards.
    • Weapon durability is now correctly set to "unlimited".
    • Item sub-types (cocoa beans, bonemeal, colored wool, etc.) now work again.
    • Players can no longer join the arena without first picking a class.
    • MobArena now works with spawn-monsters=false again.
    Version 0.94 (open)

    • Completely revamped the waves system! Undeniably the biggest feature in MobArena since multiple arenas in v0.92, the new customizable waves are guaranteed to bring much more awesomeness to your MobArenas. The waves system brings two new wave types, swarm waves and boss waves. The latter is a very elaborate feature, and the whole waves system has been given its own page on the Wiki. Note: MobArena will ignore all old wave settings, but use sane defaults.
    • Revamped the logging system. Instead of logging: true, you can now use logging: yml/xml. The logging system will now keep track of the last session only, but also maintain a collection of 'totals' for each arena. The idea behind these easy-to-parse files is making the stats available on server web pages.
    • Added SuperPerms/PermissionsBukkit support. Note that specifying mobarena.arenas.* and mobarena.classes.* probably won't work, but these nodes are given to everyone by default.
    • Added Spout support. Currently, the only Spouty thing MobArena does is print (some) announcements as notifications/achievements. This should limit the amount of "chat spam" that MobArena produces. Other Spout-features are planned, but don't expect something crazy. Note that MobArena does NOT require Spout!
    • Monsters will no longer target pet wolves. This is a major nerf to pet classes, but they were very overpowered as it was.
    • Fixed item amounts greater than 64 sometimes bugging out. You should now be able to put arrow:1024 for your Archer classes :)
    • Fixed players losing their stored items and/or earned rewards upon disconnecting from the arena.
    • Fixed blocks not restoring when burned by fire.
    • Fixed an issue with entry fees. They should no longer cause any problems.
    • Fixed slimes. That's right! Slimes that spawn as a result of bigger slimes splitting upon death are now considered arena monsters. This also means that Slimes no longer drop slime balls; as intended.
    • Revamped the repairing algorithm. It is now MUCH more sophisticated, and is capable of repairing not only signs and containers, but also torches, doors and beds. Redstone -should- repair properly as well, but it is still slightly buggy.
    • Added support for restorable containers. Registered chests, dispensers, and furnaces will have their contents stored upon arena start, and restored at arena end. This is useful for providing the arena players with chests with e.g. upgrades or food.
    • Added new commands (for the feature above) - /ma addcontainer <name>, /ma delcontainer <name>, /ma containers. These commands work much like the the spawnpoint commands. To add a container, simply look at the container and type /ma addcontainer <name>.
    Changelog (continued)
     
    apes, chakyl, Steffion and 64 others like this.
  2. i need help, have a bug... i punch a sign who i became Arrow:640 ... it works... when i punch a other sign... it is ok... but when i punsh again the sign with the arrow i became 64 arrows.... why?

    Update: uploade my config
     
  3. Offline

    topsub

    After wave 4 the special i get this error:


    Code:
    [WARNING] Task of 'MobArena' generated an exception
    java.lang.IllegalArgumentException: n must be positive
            at java.util.Random.nextInt(Random.java:250)
            at com.garbagemule.MobArena.MAUtils.getRandomReward(MAUtils.java:575)
            at com.garbagemule.MobArena.MASpawnThread.addReward(MASpawnThread.java:134)
            at com.garbagemule.MobArena.MASpawnThread.run(MASpawnThread.java:96)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    


    What else would you need to debug? my Config file?
     
  4. Offline

    garbagemule

    @matthewpipie - The feature is implemented. That's a very, very old post you quoted :p You -cannot- use '0' as an item! That's the equivalent of trying to put air in the player inventory (which can crash the client/server). If you don't want any extra armor pieces besides 316, you need to put it in apostrophes. So your armor branch should read armor: '316', or simply use the Material type.

    @FireFreak111 - I'm not sure if SQL would increase performance or not, however I really don't think it would affect I/O errors. All database systems are file-based, so I don't think it would minimize any amount of errors in that regard. Commands to set arena settings is no bad idea! I'll look into it :)

    @Thanatos - This is a known issue. If you put arrow:64, arrow:64, etc. instead, it should work (according to reports from other users).

    @topsub - If you get that error exactly at wave 4 every time, you should take a look in your config-file in either rewards.waves.after.'4' or rewards.waves.every.'4'. Your problem is most likely an invalid item. Your server console should also say something like "Could not create item 'blabla'" when you load MobArena/restart the server.
     
  5. Offline

    Kartus

    /cm init doesn't work. can you please make commands with spaces between words also castable?
     
  6. Offline

    zipfe

    Yep. It worked like once for one player, then it was back to only one stack of arrows. adding arrow:64 a couple of times instead of arrows:256 fixed that.

    PS: 0.93.1 works fine with CB#996
     
    garbagemule likes this.
  7. Offline

    garbagemule

    @Kartus - Try without the forward slash :)

    @zipfe - Good to hear. Agnate suggested a way to allow higher numbers, but I haven't had time to test it out yet. I will as soon as I find time for it though :)
     
  8. Offline

    GameOverRules

    My arena was already set up and I was trying to put on that setting so I tried putting on the setting and then making the region and it worked I don't know if it was a a fix or it just happens but I got it to work and that all what matters. Cant wait to see what else you are going to be doing with this plug in by far my most favorite. And I have the newest version of mob arena and it is still saying there is a newer version when I log in. Just to let you know.

    EDIT: And when I login it stills says there is a newer version of mob arena, I have v0.93.1
     
  9. Offline

    topsub

    Here is the config for the rewards. Did i input the money wrong which is causing issues?

    Code:
     rewards:
                waves:
                    after:
                        '5': leather_tunic, leather_pants
                        '7': leather_boots, leather_caps
                        '10': stone_sword, stone_pickaxe
                        '25': diamond_sword
                        '15': iron_sword, iron_pickaxe, iron_spade
                    every:
                        '2': $15
                        '3': feather, bone, stick, wood:5
                        '10': iron_ingot:10, gold_ingot:8, $200
                        '5': dirt:4, gravel:4, stone:4
                        '20': diamond
    
     
  10. Offline

    GameOverRules

    Ok I thought everything was good, but now I cannot set up the arena.
    I did:
    /ma setregion p1 & p2
    /ma addspawn s1 s2 s3 s4
    /ma setwarp arena & lobby & spectator


    Code:
    # MobArena Configuration-file
    # Please go to https://github.com/garbagemule/MobArena/wiki/Installing-MobArena for more details.
    global-settings:
        update-notification: true
        enabled: true
        allowed-commands: /list, /pl
    classes:
        Chef:
            items: stone_sword, bread:6, grilled_pork:4, mushroom_soup, cake:3, cookie:12
            armor: 314,315,316,317
        Oddjob:
            items: stone_sword, flint_and_steel, netherrack:2, wood_pickaxe, tnt:4, fishing_rod, apple, grilled_pork:3
            armor: 298,299,300,301
        Tank:
            items: iron_sword, grilled_pork:3, apple
            armor: 310,311,312,313
        Knight:
            items: diamond_sword, grilled_pork:2
            armor: 306,307,308,309
        Archer:
            items: wood_sword, bow, arrow:128, grilled_pork
            armor: 298,299,300,301
    arenas:
        default:
            settings:
                world: world
                enabled: true
                protect: true
                clear-wave-before-next: false
                detonate-creepers: false
                detonate-damage: false
                lightning: true
                auto-equip-armor: true
                force-restore: false
                soft-restore: true
                soft-restore-drops: false
                require-empty-inv-join: false
                require-empty-inv-spec: true
                hellhounds: false
                pvp-enabled: false
                monster-infight: false
                allow-teleporting: false
                player-limit: 0
                repair-delay: 5
                first-wave-delay: 5
                wave-interval: 20
                special-modulo: 4
                max-idle-time: 0
                logging: false
                max-join-distance: 0
            waves:
                default:
                    spiders: 10
                    creepers: 10
                    skeletons: 10
                    wolves: 10
                    zombies: 10
                special:
                    ghasts: 0
                    zombie-pigmen: 10
                    slimes: 10
                    powered-creepers: 10
                    giants: 0
                    humans: 10
                    angry-wolves: 10
            rewards:
                waves:
                    after:
                        '7': minecart, storage_minecart, powered_minecart
                        '16': diamond_sword
                        '13': iron_sword, iron_pickaxe, iron_spade
                    every:
                        '3': feather, bone, stick
                        '10': iron_ingot:10, gold_ingot:8
                        '5': dirt:4, gravel:4, stone:4
            coords:
                p1: -447,66,235,229.10048,5.849992
                p2: -369,127,265,64.250145,28.500004
                spawnpoints:
                    s1: -447,66,225,270.0702,1.1999907
                    s2: -423,66,212,1.2702637,4.799993
                    s3: -397,66,225,89.920166,4.0499897
                    s4: -423,66,239,180.82019,2.6999898
                arena: -423,68,225,176.92017,8.849991
                lobby: -403,56,225,273.97052,-1.1999997
                spectator: -396,77,213,47.47049,12.300002
    
    /ma setwarp arena & lobby & spectator

    I was able to set it up last night but then I upgraded the plug in to the newest version and now I cant set it up.
     
  11. Offline

    garbagemule

    @topsub - Your config-file looks fine, except for (almost) all the leather armor items. The correct names are _helmet, _chestplate, _leggings, and _boots. You only got the last one right :p I recommend using the data values (numbers) instead, whenever possible, simply because it is much less prone to error. I have added some extra defensive checks to the code now, so v0.93.2 should be a lot more fool proof (no offense!).

    @GameOverRules - "I can't set it up" is extremely vague. What happens? Do you get errors? Does the config-file not pick up on the changes? Do you get any messages from MobArena?
     
  12. Offline

    GameOverRules

    I can't set it up means. When I set up the arena. Meaning the region and spawn points and warp points are all set up. After all of those are set up and then when I go and type in the command /ma join. Mob arena says "the arena has not been set up yet. but it has been set up. And I pasted my config file to show you that it has been.
     
  13. Still get these a lot on latest version :<

    Code:
    20:51:59 [SEVERE] Could not pass event ENTITY_DEATH to MobArena
    java.lang.NullPointerException
            at com.garbagemule.MobArena.Arena.playerKill(Arena.java:447)
            at com.garbagemule.MobArena.Arena.onEntityDeath(Arena.java:1018)
            at com.garbagemule.MobArena.MAEntityListener.onEntityDeath(MAEntityListener.java:33)
            at org.bukkit.plugin.java.JavaPluginLoader$59.execute(JavaPluginLoader.java:656)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
            at net.minecraft.server.EntityLiving.q(EntityLiving.java:467)
            at net.minecraft.server.EntityLiving.die(EntityLiving.java:447)
            at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:391)
            at net.minecraft.server.EntityHuman.d(EntityHuman.java:561)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:858)
            at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  14. Offline

    garbagemule

    @GameOverRules - What happens if you type /ma editarena, and then /ma join?
     
  15. Offline

    GameOverRules

    ahh that better I forgot about that. Thanks..you are by far the best plugin developer thanks for yor patients.
    Time to have more fun. [​IMG][/IMG]

    I hope that picture works.
     
  16. Offline

    columb

    To give archer 124 arrows need:
    Type arrow:64, arrow:64
    Arrow:124 wouldn't work >_>
     
  17. Offline

    Bluebomb

    It would be cool if you could use commands to set classes. Like...it'll match the inventory to what you're currently holding, so it'd be like "/ma classadd <name>" or "/ma classremove <name>"
     
    columb and garbagemule like this.
  18. Offline

    Tuttu

    This plugin is just a must-have ! I have added it today and we can't stop to play with it. Thank you. :)
     
    garbagemule likes this.
  19. I like this plugin!
     
  20. Offline

    ACStache

    @James4119 what do you mean? it should be fine on 1.7. it's built against 953 which is 1.7.2 iirc
     
  21. Offline

    DevRW

    Seems to be working fine on the new RB#1000.
     
  22. Offline

    garbagemule

    Updated to v0.93.2
    Bugfixes, bugfixes, bugfixes... Yes, we hate updating all the time, but we also hate the bugs! Hopefully, most of the problems you guys have been facing are gone with this update. I am in the process of revamping the code again, but this time it is to abstract away some of the arena logic and functionality, essentially making much of the code more general and reusable. Why? To prepare for quick development of Battlegrounds.

    Special thanks to @Agnate for helping me hunting down and squashing some of these annoying bugs, and for rubber duck debugging ;)
     
  23. Offline

    james wray

    i cant place a iron block in the lobby it just keeps going back into my invintory! Help!
     
  24. Offline

    garbagemule

    @GameOverRules - It doesn't :(

    @columb - Yes, this is a known issue that I will attempt to fix at some point. Pretty low priority until the major bugs have been squashed, though. But thanks for the report :)

    @Bluebomb - You are a genius. I will definitely look into this! :)

    @Tuttu - Glad you're enjoying MobArena! I wish you and your players a bug-free experience with the plugin! :3 Remember to post screenshots of your arena(s) if you build it/them yourself :)

    @pogo - :D

    @DevRW - Thanks for confirming this! I have verified it with v0.93.2, but older versions should work as well :)

    @james wray - Please read the Wiki :) You must enable edit mode if the arena has already been set up.
     
  25. Offline

    topsub

    Seemed it fixed and working perfectly.. What is the best way to update? Do i just download the .jar file and it won't overwrite my config fille?
     
  26. Offline

    garbagemule

    @topsub - The best way to update is to stop your server, overwrite the .jar file, and then start the server again. Unless I specifically say anything about the config-file in the changelog, you should be good to go with the previous file :)
     
  27. Offline

    KrazyBonez

    I wont have time to update for a short while, but any chance this latest update will fix my never ending arena problem? I would love you, no homo :)
     
  28. Offline

    garbagemule

    @KrazyBonez - I wasn't able to reproduce the never-ending arena bug, but I have added a few extra checks, so hopefully they will be enough. Let me know when you've updated, and if the bug continues :)
     
  29. Offline

    awstnurcl3

    i am unable to use any of the ma commands on my serv. im using 945, and whenever i type in MA setregion p1, it just says unkown command. any help?
     
  30. Offline

    SwedeMontages

    [​IMG]
    we just made our arena :) but we have a question, how do we take a mony charge on 10 dollar for playing in the arena? and how do we give player dollar rewards?
     
  31. Offline

    Legolas75893

    ...you rubber duck debugged?!?!

    ...

    NICE!
     

Share This Page