[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


    Ty a lot I didn't notice the wiki was updated so I didn't realy dig into it. also I have a problem with powered creepers they never get powered and wolfs don't attack all the time. For the rest this is a realy superbe plugin thanks a lot

  3. Offline


    Thanks for a great plugin. One problem: Blazes start fires, and the fires don't go out after the game ends. Is there any way to have the fires go out automatically?

    I have protect: true and soft-restore: false

    I'm using MobArena I asked on IRC, but my client crashed, so I don't know if it was answered.
  4. I'll check this when I get back home, thanks!​
  5. Offline


    Bobcat00 - There's nothing you can do on your end. I more than likely missed some sort of block event somewhere. I'll try to get it sorted out for the next version :)
  6. Offline


    OK, thanks. I restarted the entire server, played the game just by myself, and confirmed the fires are from the blazes and they remain after the game ends.
  7. Offline


    v0.94.4.98 is out. Read the changelog and grab the download here: Clicky
  8. Offline


    hey, leaderboards for me only show the stats of the last game played, is there a way to show the totals
  9. Offline


    Poseidon5001 - The leaderboards are working as intended, and there is no persistence in the stats, so totals are not calculated.
  10. Offline


    Any way to get rid of the "Spawnpoints of arena 'x' may be too far apart!" from the log file? If not, I suggest you make it a configuaration item in the arena settings section.

    Every point in my arena is within 15 blocks of a spawnpoint.
  11. Offline


    are the spawn points all within 15 blocks of each other?
  12. Offline


    I assume you mean: Is each spawnpoint within 15 blocks of at least one other spawnpoint?

    In my case, no. For example, you can have two spawnpoints 30 blocks apart, and cover an entire 60x30 arena. (Mine is larger than that and has 6 spawnpoints.) But with this example of a 60x30 arena, why should the spawnpoints need to be only 15 blocks apart? Each spawnpoint covers a 30x30 area, with the spawnpoint at the center.
  13. Offline


    The spawnpoints do not cover squares, they cover circles. I know that may be a strange concept for a Minecraft player (teehee), but that is how it works. The largest square that fits inside a circle with a 16-block radius is one with a side length of 22 (rounded down):
    Math (open)

    A square that fits inside a circle with a radius of 16 units is a square with a diagonal of 32 units. One of the properties of a square is that the length of its diagonal is equal to its side length multiplied by the square root of 2, so we get:
    32 = x*sqrt(2) => x = 32/sqrt(2) => x ~ 22.63

    In other words, a 60x30 arena would need, at the very least, two spawnpoints to cover the short side and three spawnpoints to cover the long side, i.e. a total of six spawnpoints to cover the entire region. The message you are seeing only shows when a player is standing in a spot that is not covered by any spawnpoints. I won't be adding in an option to silence that warning, because the hostility of some mobs requires immediate targetting, and e.g. with settings like clear-wave-before-next set to false, it becomes very easy to exploit the uncovered areas to ruin the fun for everyone. The warning is there for a reason, not to annoy you :)

    Edit: Remember also that the game is three-dimensional, and as such, the two-dimensional analysis is only valid for arenas with floors that are 100% flat, i.e. the y-axis becomes irrelevant. In the case of rugged terrain, the math would need to accommodate the extra dimension, and the coverage cube has a side length of 18 (rounded down).
  14. Offline


    Thank you for the additional information. So should I lay-out the spawnpoints based on circles with a radius of 16 blocks, or squares with sides of 22 blocks? Or are you simply saying that laying-out the spawnpoints based on 22x22 squares (edges 11 blocks from the center) guarantees that all points are within a circular radius of 16?

    And a related question: My arena has two levels, 5 blocks apart (delta y = 5). Do I need to cover each level with its own spawnpoints, or will a spawnpoint on one level spawn monsters on the other level?
  15. Offline


    You should lay out your spawnpoints based on spheres with a radius of 16, if you want to make sure to have the minimal number of spawnpoints for your arena. However, since that might be difficult to sort of envision while laying down the points, going by the 22 (18) side-length squares (cubes) is probably a bit easier.

    Multi-level arenas have always had problems with this algorithm. It's not trivial to determine what constitutes a "level", so the algorithm doesn't take any special measures when finding spawnpoints for players that are at certain y-levels. One possible optimization here would be to sort the spawnpoints by y-level, binary search through the list to find the "closest y-level match" set of spawnpoints and go through those first, but this becomes unnecessary overhead for simpler setups. The current code base doesn't allow for easy plugging, but that's one of the things that would be possible after the rewrite :)
  16. Offline


    Thanks again. My arena is one main level, with some corridors down below (like a basement hallway), and some things to climb on the main level. Sounds like if I keep the maximum y value of the arena within +/-9 from the main level, I'll be OK. I can place all the spawnpoints on the main level, then add a couple downstairs for variety.

    Now that I understand all this better, I have another suggestion regarding the "Spawnpoints of arena 'x' may be too far apart!" message. Since you say the message is issued when a player is standing in a spot that is not covered by any spawnpoint, I suggest that you add the coordinates of the player. That will allow the arena designer/admin to add a spawnpoint(s) to cover the missing area.

    Thanks again for a great plugin. Someone told me this would take 2 minutes to set up, but it seems a little more complicated to do it right! Now if only the "thunder chicken" would stop killing me!
    garbagemule likes this.
  17. Can you please add so you can have NPCs as bosses? :) I really need Herobrine.
  18. Offline


    HerobrineLivesHere - Minecraft does not have NPCs outside of the villagers. Now, I know what you meant to ask, i.e. "can you please add support for plugins like Citizens", but the answer is no. You probably don't really care about why, so I'll spare you the details.
  19. Ok.
  20. My mob arena doesn't work after a while. I don't know why. Nothing happends when I type something with /ma
  21. Offline


    check your server console for any errors from MobArena
  22. Thanks for the help but I fixed it. It was a bug in the config
  23. Offline


    Hello I saw the wave and kill window in the new version but it bugs I don't know if it is work in progress but I thought I'd tell you. It appears fine and count everything but whenever you get hit by something it dissapears

    It looks great though
    Ty a lot
  24. Offline


    saveryan It doesn't disappear for me until I leave the arena.
  25. Offline


    I'll make a video and send it in this thread

  26. Offline


    Is it possible to give named/lored items as a reward?
  27. Offline


    How do I make the mobarena end when people get to the final wave?
    ..and would it be possible to broadcast a message when a arena ends?
  28. Offline


    This is from the wiki:
    As for the broadcasting on end, that's not currently a built in feature as far as I'm aware.
  29. Offline


    I have pvp-enabled: false , but players can still poison each other. Any way to prevent that?

    An unrelated suggestion: Use color-coding on the scoreboard to indicate which players have died or left the arena.
  30. Offline


    About the API, are there any javadocs or anything?
  31. Offline


    how do i add money instead of rewards

Share This Page