[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. Offline

    Missnostalgia

    I will test the fire now to see what happens.

    Edit: Tested it and the fire regenerates without nay problem =)

    In the future could you make it so enemies maybe don't drop items when killed in the Arena?
     
  3. Offline

    Kaffo

    Nice plugin! :D
     
    garbagemule likes this.
  4. Offline

    garbagemule

    @Missnostalgia - Yes, I plan on it! I still don't know if I'll let some mobs drop items or not. Skeletons could drop arrows for archer classes, but I'm looking into an "infinite arrows" solution instead.
     
  5. Offline

    d00ba

    @garbagemule

    You are a legend, this plugin is fantastic. Set it up earlier this afternoon and have had some fun with it :)

    our preliminary area on craftboom looks like this:-
    [​IMG]

    [​IMG]

    A suggestion: Is there any way to make it so that the arena is cleared after each match? For example, the chef can place cakes in the arena, if all players die and haven't used the cakes, they will still be there for the next group of players.

    Many thanks for the great plugin!
     
  6. Offline

    eremanda

    i got a tipp for you, sk89q´s plugin worldguard is really good for protecting the server world, it can turn the creeper explosions off, so they blow up, make damage, but the blocks are protected!
    (your wool have the same color!)
    and you can stop fire per command! thats really grate!
     
  7. TO:DO SUGESTION
    -The next wave only spawns if all previous wave monsters are dead;
    -Make the special waves customizable;
    -make Special Spawns, only on the special waves the mobs will spawn there

    IF you do that you will be the boss and i'll thank you very much :D
     
  8. Offline

    Cowmaster

    no no no..keep spawning monsters on a fixed time interval..if u can't kill them all...u die in a flood of mobs..like it's supposed to be
     
  9. Offline

    echibahn

    Well I saw that error right when I reloaded my server and people were playing. I actually haven't setup up the coords or built the arena yet, i'm about to. If that's the case then no worries cause then once I place coords i'm sure it'll go away. Thanks.
     
  10. Offline

    Fyndler

    One question how does the expand command work ? ^^ Im not really sure what it does
     
  11. Offline

    garbagemule

    @d00ba - Haha, thank you, sir! If you're having fun with this, mission accomplished! :) Your pictures seem to be broken, however, so I can't see your arena :( The arena should clear after every match. All placed blocks and all mobs spawned (except for the small slimes, unfortunately). Perhaps you have a conflicting plugin? Can you try placing some other blocks (like Oddjob's Netherrack or wooden door), and verify that those do indeed get removed?

    @mig4ng - Like Cowmaster says, the fixed interval is intended. The rest you can read more about in the main post :)

    @echibahn - I just realized that the explosion listener doesn't verify that the points are set before trying to compare locations. It's an error on my side, but this is a rare issue, as people usually install the plugin and set everything up right away. I'll get it fixed at some point. The exception is harmless :)

    @Fyndler - The expand command works by specifying first in which direction (up, down or out) you want to expand, and then how many blocks you want to expand by. Out means in all four directions in the XZ-plane (that is, north, south, east and west).
     
  12. Offline

    echibahn

    Yeah after you explained I figured it was no big deal. I just tested our arena plugin and I love it a lot, but i've ran across some problems:
    1. I'm using factions plugin on my server and when non-allied factions join together they can attack each other at any time. I thought anyone in arena would be allied with their teammates automatically.
    2. My health bar doesnt decrease as i'm being attacked by mobs, it only seems to show when i hurt myself with something like fire in the arena... kinda hard to tell when i need to heal and all :(
    3. For some reason i cannot use the undo hippie monster command, it says Restored precious little patch, but nothing changes and as server admin i can't even edit the arena(build/destroy)
    Other than that it's nice. If you can somehow fix those problems this plugin would be super badass :)
     
  13. Offline

    garbagemule

    @echibahn
    1. A later version of MobArena (possibly the famous v1.0) will feature an option of turning friendly fire on or off while in the arena/lobby. For now, enjoy the extra challenge! ;)
    2. This issue shouldn't be with MobArena. I can't see what would be causing it. If you are indeed losing health, but the health bar isn't updating, that could be a glitch in your game client. Strange...
    3. If you used /ma dooooo it hippie monster to build the arena, the undo command should restore the blocks that occupied the cuboid before the arena was generated. If you used the command twice, then the backup file is overwritten. :(
     
  14. Offline

    Flannel

    oh ok :)
     
  15. Offline

    Chanito

    Awsome plugin, thank you.
    Just woundering if you could add a way to unprotect the area for admins so they can clean it from webs and other stuff after a fight, or so the plugin removes it automaticlly after each fight, because my arena is full off webs now and i cant remove it without loosing a lot of time to recreat it. thx
     
  16. Just installed, not done any configuring or testing yet, and saw this:

    Code:
    23:05:37 [SEVERE] Could not pass event ENTITY_EXPLODE to MobArena
    java.lang.NullPointerException
            at com.garbagemule.MobArena.MAUtils.inRegion(MAUtils.java:415)
            at com.garbagemule.MobArena.MAMonsterListener.onEntityExplode(MAMonsterListener.java:31)
            at org.bukkit.plugin.java.JavaPluginLoader$50.execute(JavaPluginLoader.java:591)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
            at net.minecraft.server.Explosion.a(Explosion.java:205)
            at net.minecraft.server.World.createExplosion(World.java:1340)
            at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:137)
            at net.minecraft.server.EntityCreeper.a(EntityCreeper.java:120)
            at net.minecraft.server.EntityCreature.c_(EntityCreature.java:68)
            at net.minecraft.server.EntityLiving.u(EntityLiving.java:692)
            at net.minecraft.server.EntityMonster.u(EntityMonster.java:30)
            at net.minecraft.server.EntityLiving.o_(EntityLiving.java:231)
            at net.minecraft.server.EntityMonster.o_(EntityMonster.java:34)
            at net.minecraft.server.EntityCreeper.o_(EntityCreeper.java:69)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1071)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:56)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1053)
            at net.minecraft.server.World.cleanUp(World.java:1030)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:397)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  17. Offline

    Fyndler

    Hmm okey, so i count the blocks and expand it on how many blocks my arena will be ?
     
  18. Offline

    ArcadEd

    This plugin is AWESOME. Still working on our arena, but i have tested it and it works great.

    Can you add non monster spawn points to spawn things like Cactus, Fire, TNT/Preasure plates? That way in later waves random other obstacles can pop up.

    The super Creeper that comes in. How much damage does that thing do? He seems to kill me with full diamond armor and full health :).
     
  19. Offline

    Pierce de JOng

    How do you change the settings and add rewards, I am using servercraft? please help
     
  20. Offline

    Cowmaster

    I disabled all my mods and i still can't get mobs to spawn for the special rounds, only lightning.
    However, super creepers did spawn once on round 4 when one player was trying the arena solo, but haven't gotten it to do it again.
     
  21. Offline

    Oscarius

    Thank you for this great plugin. I just introduced MobArena (and Fight) on my server and the players love it!

    I have one suggestion that would make the plugin much better, at least for me:
    Is it possible to "save" a players inventory when they want to join a match, and return it to them after the match? Some players are annoyed that they have to empty their inventory if they want to get in on some arena action.
     
  22. Offline

    d00ba

    Just tested this again and both Netherrack and the cakes disappeared!! Perhaps I didn't have the region setup earlier -_-

    Try accessing the screenshots directly.
    http://craftboom.does-it.net/images/craftboom.jpg
    http://craftboom.does-it.net/images/craftboom2.jpg

    Thanks again,
     
  23. Offline

    tman333

    @garbagemule Sorry I didn't know it was mentioned before, didn't browse the entire threat but yeah I figured it wouldn't be something short or easy to do.

    One other interesting idea though, and pardon again if it has been mentioned before, is to have some way to rebuild the arena after a match. Being able to break blocks would lend to interesting strategies if you built an arena to accommodate them. (IE: Lava pits with glass on top, break the glass, mobs fall into lava.) This would probably require a good chunk of code though. It's doable already if you use WorldEdit and schematics files, but it'd be nice to consolidate it into one plugin.
     
  24. Offline

    garbagemule

    @Chanito - Look in the commands section. There is a command that disables block protection :)

    @Joy - This exception has been reported before, and it is completely harmless. It happens because I haven't coded defensively enough (that's just the term, don't worry, nothing's broken) to account for the idea that people might install the plugin and not set it up right away. The exception happens because a Creeper explodes, and the explosion location is checked against p1 and p2, but if they aren't set, they will return null.

    @Fyndler - If you notice in my instructional video, I set my p1 and p2 in the corners of the arena. Then I expand up by 10 or so to make the cuboid "taller", expand down by 3 to make it "deeper" (covers the floor and a couple more blocks), and finally I expand it out to also cover the spectator platforms.

    @ArcadEd - Glad you're liking it! :) Interesting idea, but I'm going to have to pass on it for now. First of all, cacti can't spawn on anything but sand, so the floor would have to be made of sand in some places. Second of all, fire dies out on many block types, so the same kind of problem again. Also consider people who make arenas that aren't 100% flat. That's a lot of blocks, and a heavy algorithm to iterate through all the blocks "suited" for such extras. Sorry :(

    @Pierce de JOng - I have no idea what Servercraft is. Just use CraftBukkit 818 and you'll be golden. :)

    @Cowmaster - Are you still not getting any exceptions?

    @Oscarius - That's how the InDev versions of MobArena worked. When players typed /ma join, their inventory was stored in memory, and when they typed /ma leave, they got their items back. There were A LOT of issues with this, however. If the player didn't have enough inventory space for rewards, they wouldn't get their rewards, but worst of all was, that if a player disconnected, or if the server plugins were reloaded, they lost all their items. I MAY be able to find a solution for this (I think I know what I did wrong), so I'll jot it down for possible features for v1.0 :)

    @d00ba - Glad to hear you got it working! :) And nice arena! Let me know if those wooden planks and that fire play well together or not. I fear you may need to call the firefighters ;)

    @tman333 - No worries :) Your idea is great, and it would indeed be possible. I could introduce a "break set" of all the blocks that are broken during an arena, but if I did that, there would also be demand for being able to build, using the blocks mined/shoveled. The problem with this is the way the sets work. We want the arena to be "cleared" in the end, so all blocks placed must be removed. But what if a player places a block in the arena floor? It would get removed at arena end, meaning you'd have holes in your floor! There may be a workaround, but I think the worst bit is not the amount of code, but rather the amount of overhead. For every broken block, there has to be done quite a few checks. I'll keep it in mind for future features, but I'll be fair and admit that I think it's a long shot :(
     
  25. Offline

    Missnostalgia

    Okay any reason why someone would teleport into the lobby then fall into the ground? He said there is a hole somewhere, but I can't see it? Is it a teleporting height issue?
     
  26. Offline

    Oscarius

    I see. Couldn't you store players' inventories in a similar way as MultiInv does? Maybe borrow some code.
     
  27. Offline

    Fyndler

    Got it working and its freaking awsome
     
  28. Offline

    DotMan

    Hey i keep trying to change the rewards and im getting this error Message:


    Code:
    6-03 21:13:46 [INFO] Preparing spawn area: 65%
    2011-06-03 21:13:46 [INFO] Preparing start region for level 1
    2011-06-03 21:13:47 [INFO] Preparing spawn area: 57%
    2011-06-03 21:13:48 [SEVERE] Could not load 'plugins\MobArena.jar' in folder 'plugins':
    mapping values are not allowed here
     in "<reader>", line 23, column 16:
                    '5': Iron:5, Iron_Pickaxe:4, stone:4
                        ^
    
     
  29. Offline

    Cowmaster

    yep..been testing it..i see no errors..and can't get the special rounds to work..of course..this is with the auto-built room. Gonna try and set up a new arena from scratch jus now.
     
  30. Offline

    garbagemule

    @Missnostalgia - I get this bug in my lobby too sometimes. I haven't attempted to fix it yet, but try turning off protection, putting a block on top of the lobby warp, then hop on top of that block, set the warp, and then destroy the block and enable protection, and see if this solves the problem. It might be a problem with warping and chunk reloading in 1.6.6 though :(

    @Oscarius - Yes, I could definitely serialize the inventories, although I prefer to have as little file-handling going on as possible. I had other approaches in mind, but I don't think they're crash-safe. I'll look into it :)

    @Fyndler - Great to hear! :)

    @DotMan - Your config-file is ill-formed. Use an editor like Notepad++ (Windows) or nano (Linux) to edit the file, be careful with indention and don't use tabs - only spaces. :)

    @Cowmaster - Yeah, try that. The auto-generated arena works perfectly fine. The problem lies with your setup somewhere - be it your client, your server version, server files or world files. There's really nothing I can do to help you :(
     
  31. Offline

    Oscarius

    Sounds great. I just wanted to thank you again for a great plugin.
    Keep up the good work, and let me know if you need a tester!
     
    garbagemule likes this.

Share This Page