[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



    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!

    • 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:
    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

    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.

    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 :)


    • 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 (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


    Dman5456 what garbagemule means to say is that 0.96 hasn't been released yet, so don't try to use features that aren't implemented yet :)
  3. Offline


    I knew I got the idea from somewhere. :p

    An unrelated question: Can I have multiple scoreboards for the same arena? I'd like to have one scoreboard in each arena lobby, plus a central area with scoreboards for all the arenas. Also, are there any requirements for separating the scoreboards?
  4. Offline


  5. Offline


    it's harmless, and has been fixed in the next version.
  6. I would just liek to give a suggestion to the way you create arenas. When you type /ma create <Arena name> you can like get blocks with diffrent names on what they do. You get "Mob Spawnpoint" and that sets a mob spawn point, "Player Spawn" sets the point where players spawn into the arena, "Spectator Point" sets the spectate point and "Lobby Point" sets the lobby point when you select classes. Just a suggestion for easier setup. :)
  7. Offline


    HerobrineLivesHere Hah, you should hop on IRC and PM me (edit: you'll be pleasantly surprised) ;)
  8. I am sorry but I don't quite understand what you mean.

    EDIT: I was looking on in "Setting up config file" and I notcied this on settings. "entry-fee" Shouldn't it be "entry-free"? :p
  9. Offline


    HerobrineLivesHere I can't tell if you're joking... Anyway, when I say "Hop on IRC", it means "click the link in the OP that says 'IRC Channel' and connect".
  10. Just want to make sure, does that use your webcam or microphone or is it just typing?
  11. Offline


  12. Offline


    Not sure if you found this, but there's a little error.
    items: bow, arrow:64, iron_axe
    armor: leather_boots 34:100, leather_leggings 34:100, leather_chestplate 34:100, lether_helmet

    leather helmet is misspelled. Just thought i'd try to help.
    Can someone tell me how to make a certain class's armor not break? I tried adding Unbreakable-armor: true, but to no avail.
            items: bone:2, diamond_sword 16:5, diamond_sword 16:10, diamond_sword 16:1000, 310 0:5, 311 0:5, 312 0:5, 313 0:5, 310 0:10, 311 0:10, 312 0:10, 313 0:10, 373:16421:64, 310 0:1000, 311 0:1000, 312 0:1000, 313 0:1000
            unbreakable-weapons: true
            unbreakable-armor: true
  13. Offline


    lavameh Make sure you read the Wiki thoroughly :)
  14. garbagemule
    A while back ago I made a request on a class selection menu with custom GUI. I have been thinking on it and if you don't want to add it, why not add a command that is like /ma selectclass <Classname>. Then people can use Chest Commands GUI and make their own GUIs! Just a small thing. (I am not sure if it is such a small thing when it comes to coding it) Please don't think I am repetitive, just tell me what you think.
    Thanks. :)

    EDIT: Now when I think of it, this would be hard with class chests so why not do this instead!
    /ma selectclass <Classname> <Chest cordinates> It will use a chest that is in those coridantes. To make sure you can't use this for cheating, the slot before the armor starts, you put a sign with a custom name. Like Tank. The chest can only be used if you do /ma selectclass Tank <Cordinates> and if you do /ma selectclass Archer <Same cordinates>, it won't work.
  15. Offline


    HerobrineLivesHere Selecting classes through commands is not a bad idea. I might add it in for v0.96, but no promises. When it comes to class chests, it's not a problem if the class chest is linked with the class chest command (also a feature of v0.96). Your suggestion with coordinates is also not very robust - what keeps your players from renaming a sign with an anvil?
  16. [quote uid=75176 name="garbagemule" post=1863806] -Snip-[/quote]
    Yay! Really hope you add it! :) And I didn't quite understand the last thing (because I am really tired right now and can't think clearly), if you mean if there is a way to stop players from renaming the signs then you can have this. It has to be italic, <font color="#4f66af">cyan</font> text. You can't do that in a anvil. You have to use special plugins. I recommend <Edit by Moderator: Redacted mediafire url>
    Last edited by a moderator: Nov 27, 2016
  17. Offline


    HerobrineLivesHere It's still extremely hacky and not very robust compared to just linking a class chest ;)
  18. Offline


    Just curious, how do you check if a player is in the arena or not? I couldn't quite find it on the github.
  19. garbagemule
    I made a thing with Chest Commands on how my menu with default classes is going to look like! :) Chest Commands + a plugin so you can attach commands to signs = Awesome class selection menu. :D

    If you install Chest Commands, then make a new YML file in the location where all of the menues are stored, paste all this in:
    Show Spoiler

    #+                  +#
    #  MENU SETTINGS    #
    #+                  +#
      # name - appears as the title - REQUIRED
      name: '&4MA Classes - Default'
      # rows - the number of rows of the chest - REQUIRED
      rows: 1
      # command - OPTIONAL (you can remove this or set it to '')
      command: 'maclassesdefault'
      # open-with-item - OPTIONAL (you can remove this or
      # set the item to 0)
        item-id: 396
        left-click: false
        right-click: true
    #+                  +#
    #      ITEMS        #
    #+                  +#
      COMMAND: 'tell:&a[MobArena] &rYou have selected &3Tank&r but this feature doesn''t exist yet. :('
      NAME: '&3&lTank'
        - '&5&oWill be given'
        - '&5&odiamond armor and'
        - '&5&odiamond sword with'
        - '&5&oknockback'
      ICON-ITEM: 311
      POSITION-X: 1
      POSITION-Y: 1
      COMMAND: 'tell:&a[MobArena] &rYou have selected &7Knight&r but this feature doesn''t exist yet. :('
      NAME: '&7&lKnight'
        - '&5&oWill be given'
        - '&5&oiron armor and diamond'
        - '&5&osword with sharpness III'
      ICON-ITEM: 267
      POSITION-X: 3
      POSITION-Y: 1
      COMMAND: 'tell:&a[MobArena] &rYou have selected &eChemist&r but this feature doesn''t exist yet. :('
      NAME: '&e&lChemist'
        - '&5&oWill be given'
        - '&5&ogold armor and stone'
        - '&5&osword and alot'
        - '&5&oof potions!'
      ICON-ITEM: 373
      POSITION-X: 5
      POSITION-Y: 1
      COMMAND: 'tell:&a[MobArena] &rYou have selected &cMedic&r but this feature doesn''t exist yet. :('
      NAME: '&c&lMedic'
        - '&5&oWill be given a'
        - '&5&ostone sword and'
        - '&5&ohealth potions'
      ICON-ITEM: 351
      DATA-VALUE: 1
      POSITION-X: 7
      POSITION-Y: 1
      COMMAND: 'tell:&a[MobArena] &rYou have selected &2Bowman&r but this feature doesn''t exist yet. :('
      NAME: '&2&lBowman'
        - '&5&oWill be given a'
        - '&5&obow with sword and'
        - '&5&ohealth potions'
      ICON-ITEM: 261
      POSITION-X: 9
      POSITION-Y: 1

    Then reload the plugin with /chc reload and right click with a golden carrot and you can see an example. :)

    For some messages, click on the items in the menu. :)

    EDIT: I constantly updated it so that is why there is so many edits.
  20. Offline


    Ultimate_n00b arena.getRegion().contains(player.getLocation())
    Ultimate_n00b likes this.
  21. Offline


  22. Offline


    If you mean in general, the ArenaMaster has a method getArenaWithPlayer(Player P) or (String Playername). If it returns an Arena, they're in an Arena, otherwise they're not.

    If you mean within the bounds of the Arena's Region, get the Player's Location, and use the Arena's ArenaRegion method contains(Location l).

    Edit: I didn't even realize there was another page and that it was already answered :p
  23. Offline



    I was going to say for my own plugin, as I remembered seeing that MA had a method for it back when I went through all the code.

    Turns out that my method to check if it's between two equations wasn't wrong, it was the method that gets the min/max locations.
  24. Offline


    I have a problem. I am trying to use MobArena with MCPC+ b92. After I create an Arena and type "/ma j" I get an error: java.lang.NoSuchMethodError: org.bukkit.entity.Player.getHealth()
    I submitted a bug report to MCPC+ and got the following reply:
    Caused by a missing overloaded method; CB overloads 'float getHealth()' with 'int getHealth()' for <=1.5 Bukkit API plugin compatibility.
    Is there a fix for this? A build against CB 1.6.2?
    Any help would be appreciated.
  25. Offline


    Help with mobarena when i join mob arena before mobs even spawn it says i cheated and kicks me help!
  26. Offline


    Randomguy Ever heard of punctuation? :eek: Your region is not defined correctly, or the world-node in your config-file is set to the wrong world.
  27. I got a new idea for Mob Arena! :D
    Why not add a default class. If you make a chest in the arena region with a sign above it saying Default, the players will get it if they don't select a class. Also if you don't have class chests you can make a class in the config called Default. :)
  28. Offline


    Dear garbagemule
    I really would love to use your plugin with MCPC and bukkit 1.62 but sadly I get an error when starting the arena with /ma join:

    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ma' in plugin MobArena v0.95.5
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
        at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:543)
        at net.minecraft.network.NetServerHandler.func_72566_d(NetServerHandler.java:1351)
        at net.minecraft.network.NetServerHandler.chat(NetServerHandler.java:1217)
        at net.minecraft.network.NetServerHandler.func_72481_a(NetServerHandler.java:1160)
        at net.minecraft.network.packet.Packet3Chat.func_73279_a(Packet3Chat.java:68)
        at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:468)
        at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:231)
        at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
        at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34)
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:888)
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:327)
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:757)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:641)
        at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
    Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player.getHealth()I
        at com.garbagemule.MobArena.PlayerData.update(PlayerData.java:37)
        at com.garbagemule.MobArena.PlayerData.<init>(PlayerData.java:27)
        at com.garbagemule.MobArena.ArenaImpl.storePlayerData(ArenaImpl.java:811)
        at com.garbagemule.MobArena.ArenaImpl.playerJoin(ArenaImpl.java:555)
        at com.garbagemule.MobArena.commands.user.JoinCommand.execute(JoinCommand.java:50)
        at com.garbagemule.MobArena.commands.CommandHandler.onCommand(CommandHandler.java:88)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
        ... 15 more
    Is there anything that can be done about this or will I just have to wait?
    It seems to be related to the error 4 posts above me.
  29. Offline


    LosT Unless you're willing to be a dev build guinea pig (hop on IRC and PM me), or you know how to compile the source code, there's nothing you can do but wait. The good news is that an update is right around the corner.
  30. Offline


    can't wait for the plugin update. keep up the good work.
    garbagemule likes this.
  31. Offline


    Hello. I want ask about Heroes support. On MobArena's forum AgnateHeartstone say "Heroes by the HeroCraft team - Using MobArena's per-class permissions, you can allow all players to use all weapons, armor and even class-specific skills in MobArena." I think it's very outdate. Can you tell me what is now supporting? I don't request any changes (I'll add it myself) but I want to know it. Thanks.

Share This Page