[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

    CountDahbular

    GarbageMule - your plugin is amazing! Just sayin' :)

    I have a question/request, but I am unsure as to how viable it is:

    When declaring inv. for a class, is it possible to link to a declared chest's inventory rather than giving items (i.e. declare chest as "WaiterClassInv" and link the Waiter class to chest)? I ask purely for the possibilities of dyed leather armor and NBT tag alteration being a pain in the face.

    The arena I am currently working on is a little huge and complicated (it is a giant hotel/zombie survival horror). I would love to make classes based on 'characters', thus having bellboys in red leather with black shoes, waiters in black and white, (as playable classes).

    If this is at all possible/in the works then I would love to know how/when! If donation will give incentive, then I am more than willing to (as I am sure others are, too).

    Thanks in advance! Keep up the great work!
     
  3. Offline

    garbagemule

    CountDahbular

    First off, thank you for the kind words! Always happy to hear from happy users! ^_^

    Your idea with chests has very, very interesting potential. Consider the following: Upon punching a sign in the lobby, if a chest is in the immediate 5-neighborhood (behind, below, above, left, right - in that order), the contents of that chest are copied to the inventory of the player, and the player is assigned the class (if it exists) with the name on the sign. This would allow for extremely easy class customization, and would be more or less future-proof, unless the Bukkit API changes dramatically. I would very much prefer that no "linking" is required, just to make the setup even easier, and less error prone. Perhaps searching for chests more than 1 block behind would be better, to allow shielding the chests off from the players, i.e. (a side view) [Stone][Chest][Stone][Sign]. That would also minimize (and perhaps removing) the need to disallow "opening chests" in the lobby.

    Donations are always motivating, but not at all required. If you are willing to hop on IRC and test out a custom build some time tomorrow (Saturday, or perhaps today), you can decide if the feature is worth a donation or not ^_^
     
  4. Offline

    Goppi

    Hi, I'll explane abit short here and more detaild here under. So, I've found this bug where the boss doesn't stop attacking players that died under the battle.

    If you're playing Mob Arena and with 2 or more players vs a boss, and noone is attacking it only you (1 player) and you die in the battle. When you get to spectator room, the boss will still throw his abilitys at you, like fling you up in the air, teleport you and shoot arrows at you. But as soon as another player attacks it, it stops attacking the player that died of it.

    (Now i don't know if the other players need to be camping in other side of the Mob Arena map so this bug works, but I've tested this in 2 servers and they got the same bug.)

    Don't know if you're awere of this, just wanted to let you know and please try to fix it :)

    - Goppi
     
  5. Offline

    garbagemule

    Goppi - Thanks for bringing this to my attention, and thanks for the detailed reproduction steps! If possible, can you test this out with auto-respawn: false in the config-file? I have a feeling that might fix it, but if not, I'll try to get it fixed for the next version :)

    CountDahbular - I tested it out, and the following build seems to work really, really well. It adds a per-arena config-option 'use-class-chests', which defaults to false. When set to true, MobArena will search downwards from the block of the sign (i.e. the actual sign itself) as well as the block right behind it (i.e. the block the sign is attached to, if it is a wall sign), until a chest is found, or the 1x2x6 area has been checked. If a chest is found, the items in the chest become class items. The LAST FOUR items of the third row (bottom right) of the chest are armor pieces (order doesn't matter). Currently only actual armor is supported (no non-helmet blocks as helmets, sorry).

    Here's the build: Click me
    And here's the guide: Read me

    Please report back about your experience with the class chests, and whether you found any bugs or not :)

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

    Goppi

    garbagemule - Hi again, I changed the "auto-respawn: false" in config, the bug got worse. When i got killed by the boss, i respawned in spawn of the server, not in the spectator room. This is not good because we got our MobArene in another world. And the boss keept throwing me around with special abilitys when i was in "main" world, even after i did /ma l. Not sure what to do at the moment, if I should wait for next update or is there anything else i can do?

    Btw I think I found another bug where if you join ma with creative and someone join ma after you, he/she will get your creative inventory. Not sure if this is due to our Mob Arena being in another world or so, just wanted to inform you. :)

    - Goppi
     
  7. Offline

    garbagemule

    Goppi - Okay, something is definitely wonky here, because you should not be taken to your spawn when you die, even without auto-respawn. Chances are all your issues are due to conflicting plugins, so it's hard to debug it. I'd disable MobArena for now and try to reproduce the bugs on a local test server where you can isolate the plugins and figure out what's causing these issues.
     
  8. Offline

    winddelay

    Any chance unbreakable armor could be an option, like unbreakable swords are default? I've had to up my armor types quite a bit to try to keep my classes on keel in terms of durability. My arena's a long haul 300 round monstrosity. Lower armor types would work if they didn't break so fast.
     
  9. Offline

    garbagemule

    winddelay - The problem with unbreakable armor is that the durability value of armor is also the damage reduction modifier, so setting leather armor's durability as high (low) as the weapons will make the wearer invincible (literally) for a long time. Unless this has changed since last time I tried, one of the only options is to reset the durability during entity damage, which is already a very heavily listened to event, i.e. it might introduce unacceptable additional overhead :( There are very light-weight workarounds, however, e.g. repair-signs (which also adds a tactical factor), or upgrade waves with additional armor pieces (which would require swapping the armor out). I won't deny the possibility of repair waves in the future :)
     
  10. Offline

    Goppi

    garbagemule - So we tested MA in one of our test servers, and the bug with the boss that keeps throwing you around is still there, we also removed all plugins exept MA and multiverse (because our ma arena is in another world).
    And the bug we had in our other server where when you did "auto-respawn: false" and it spawned us in spawn, it didn't do that when we removed all plugins.
    I've messaged you the Ip of our test server, if you want to join and try it for yourself.

    - Goppi
     
  11. Offline

    M_D_M

    Y'ello,

    Is it possible to create a wave of zombies that wear armor? I doubt this is possible, but I was just curious. :)

    -/M_D_M
     
  12. garbagemule Is it possible to make a class have a mob head as helmet and make the players to have colord armor?
     
  13. Offline

    garbagemule

    M_D_M - Currently, no, but if zombies are capable of wearing armor in Minecraft, it will also be possible in MobArena 1.0.

    HerobrineLivesHere - This should be possible in the next MobArena release using Class Chests (check out the guide for them here: clicky). Something to look forward to :)
     
  14. Awsome! :D
     
  15. Offline

    vJuggerzthecat

    What does this error mean?
    http://pastebin.com/LZ3u3Lin

    I use spiggot 1.4.7 RO.2 and have the CB 1.4.6-R0.3 version of mob arena which works on 1.4.7.

    What am i doing wrong?
     
  16. Offline

    garbagemule

    vJuggerzthecat - It means the location in your config-file that the leaderboards-node points to is not a sign, i.e. you've tried to set up leaderboards and the topleft block is not a sign, thus making the leaderboards invalid. Remove the node from the config-file and boot back up, and you should be golden.
     
  17. Offline

    vJuggerzthecat

    Thanks!
     
  18. @garbagemule
    When the new class system comes, does it supports like player heads? Like a class with a Herobrine head?
     
  19. Offline

    davidvsayshi

    Hello,
    I am a frequent mobarena map maker, and i would just like to say that i have a very good suggestion! can you make it so that levers reset in between each game? kind of like how chests restore to original setting each game, make it so levers restore to there original state. This could also be implemented within the soft restore option maybe? thank you so so much, i really hope that this can be implemented quickly!
     
  20. Offline

    TKArchie

    Hey, I am having a problem where the mobs aren't hostile. Any solutions?
     
  21. Offline

    davidvsayshi

    i know you all are probably very busy with personal stuff other than the plugin, but if you see that post then letme know if you'd be able to implement it! thank you!:)
     
  22. Offline

    garbagemule

    Sorry for the lack of a reply (some posts seem to elude the Alert-feature on the forums). Levers and other variable-state blocks can have their state recorded in one of two ways: iterate all blocks in the arena before start and record variable-state blocks' states, or pre-define all variable-state block locations in the setup phase. There are other ways (such as wrapping/collecting the blocks in a just-in-time style like soft-restore tries to do), but they are maybe a bit overcomplicated. The support for containers is done through the second method, because the first method is laggy with big arena regions (imagine 800x800x100 blocks having to be processed in one tick).

    That said, for 1.0, I plan on doing a lot of workload partitioning over multiple ticks, such that it will be possible to store a region in its entirety before the start of an arena session, but spreading the workload out on multiple ticks such that no lag will be felt. The biggest upside of this will be that (hopefully) no special block handling code will be necessary, meaning all variable-state blocks will be supporting in full, given they are supported properly by Bukkit. For now, however, I won't bother trying to work this into the current code base, since it's a big mess, and my time is better spent weeding out important bugs and working on 1.0 - I hope you understand :)
     
  23. Offline

    The_Punkster

    I'm on the latest Bukkit/MobArena

    Code:
    2013-02-16 10:25:53 [SEVERE] Error occurred while enabling MobArena v0.94.4.94 (Is it up to date?)
    java.lang.ClassFormatError: Truncated class file
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at com.garbagemule.MobArena.waves.ability.AbilityManager.makeAbility(AbilityManager.java:237)
        at com.garbagemule.MobArena.waves.ability.AbilityManager.loadClasses(AbilityManager.java:198)
        at com.garbagemule.MobArena.waves.ability.AbilityManager.loadAbilities(AbilityManager.java:69)
        at com.garbagemule.MobArena.MobArena.loadAbilities(MobArena.java:202)
        at com.garbagemule.MobArena.MobArena.onEnable(MobArena.java:71)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
        at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282)
        at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264)
        at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321)
        at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300)
        at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259)
        at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149)
        at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399)
        at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
    Any ideas?
     
  24. Offline

    garbagemule

    That's gotta be the weirdest error I've ever seen. I have no clue what's going on there, but you might want to try redownloading the MobArena jar and possibly the abilities zip-file, and just extract it into plugins/MobArena/abilities/. Let me know how it goes.
     
  25. Offline

    The_Punkster

    Damn, well that fixed the issue.

    But now whenever I die (tested by falling in lava), the server crashes with everything 100% and I have 2GB RAM.

    It does this ALWAYS when i'm at half a heart left.
     
  26. Offline

    garbagemule

    Try setting logging: false in the config-file.

    MobArena v0.94.4.95 (CB 1.4.7-R1.0) is currently pending approval, but for the impatient ones, here's a link to the file on DBO: Link

    Some new features, a bunch of hot fixes, and a couple of changes this time around. Read the changelog on DBO for more info.



    On a related note: I've stated that MobArena is feature frozen, but I am still adding new features now and then - why? Two reasons...

    Sometimes, a new feature is required to avoid plugin conflicts or avoid having to do a bunch of extra work. The class chests is a good example of this; they allow people to use whatever items are supported by Bukkit, because no parsing (turning text in config-files into items in Minecraft) is necessary due to the way the inventories work. This means MobArena now supports dyed leather armor (only through class chests), fireworks, enchanted books (which are also supported in the config-file now), as well as any future special item types.

    And sometimes, very generous people donate to the project, and depending on their contribution, I sometimes feel obliged to ask them if there's anything specific they would like to see implemented (this is the exact reason I didn't accept donations in the beginning), within certain limitations, of course. Note that this is not a plea for donations (happy, cheerful comments and thank-yous are still my favorite response to my work :) ) - I'm merely explaining the situation, because people have asked.

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

    fatmarley

    Thank you sir... with a big SMILE:D
     
    garbagemule likes this.
  28. Offline

    The_Punkster

    Goddamn, still crashed =C
     
  29. Offline

    Tripwire117

    Hello,
    I am a huge fan of MobArena however have a few suggestions if they are at all possible. I was having alot of trouble with the "use-class-chests:" Then found that you must have the class already registered for the sign/chest to be reconized. Is there anyway to accept any chest and sign combo without having to modify the config file manually? Say I wanted a wolfmaster and had a sign "Wolfmaster" and a chest under it. Is there a way to make it accept it even though it is not actually in the config file?

    Also I was wondering if you could turn on and off the mob "Mob Abilities" via command or config. Some of them like "Root Target" bugs me when they are across the arena. Thanks in advanced for looking into my request.
     
  30. I donĀ“t know if this is already asked. If so, sorry.
    Is there a way to make armor invincible, like weapons?

    Thanks in advance!
     
  31. Offline

    garbagemule

    Very good point about the classes. I'll try to work something out for the next build :) As for turning off mob abilities, I'm not sure what you mean - can't you just edit the waves to how you want them, including the bosses' abilities?

    Armor cannot be made indestructible easily, because the damage modifiers are based on the durability of the armor itself. Sorry.
     

Share This Page