[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

    midnightfang22

  3. Offline

    Tim4209

    This code will make a custom item inventory and u can use it to create menu's

    Code:
    MenuTest = Bukkit.createInventory(null, 9, "Simple Menu!");
    player.openInventory(MenuTest);
     
  4. Hi again garbagemule! If you don't wanna add the menu, do you think you can atleast add per-arena annoucments? :)

    EDIT: Maybe also so a class can have a potion effect. Like if you set a potion at the bottom of the armor slots (next to the boots), the class will get that potion effect and the time it is set too. If you fill the row with potion effects, it will get all the potion effects. Just a suggestion. :)
     
  5. Offline

    garbagemule

    midnightfang22 The idea is fine, but I think calling it a "menu" is a bit of a stretch - it's a clever hack, but I wouldn't use it in MobArena, because almost everything I want to stick in a menu can't be translated to block icons, and it would get extremely tedious hovering over 20 different white wool icons to find the "enabled" setting or the "wave" node. My scoreboards menu system is far more appropriate for what I need. For classes it's probably alright if you only have a handful and they all have different weapon/armor types (wood, iron, etc.), but the possibilities are extremely limited, and it seems very likely to break on updates to the inventory and/or item lore technicalities.

    Tim4209 That code would not compile :p And like I mentioned above, I think it's a stretch to call it a "menu" when it doesn't provide any kind of text-based display (which is often what menus are), let alone any type of input or modification besides the concept of a toggle.

    HerobrineLivesHere As soon as horses are added as mounts (now that Bukkit has added a horse API, mounts will be added soon), the current project will be frozen completely and I will start on 1.0 for real. Save your suggestions for then, because a lot of them I've been planning for months, and it's very unlikely that you have any suggestions to functionality that I haven't already thought of - again, not trying to sound like a jerk, just letting you know what the situation is :)
     
  6. I undertsand you and I understand that it is hard. I would never be able to make a plugin even 1 % as good as this one. :)
    But I do have one question. Do you know why the boss abilities doesn't generate in the folder? But the boss can use some of them.
     
  7. Offline

    garbagemule

    HerobrineLivesHere The abilities don't generate because people were having issues with them not extracting properly, so they're all internal now. You can still download them from github if you want to modify them, but I'm not sure if they will overwrite and load properly.

    Tim4209 That code doesn't follow Java conventions of variable naming :p I was not requesting code snippets of trivial things like simple object creation. I was requesting code snippets showing how to create actual menus, but since it's not possible, the request was somewhat rhetorical and sarcastic. Like I said earlier, calling this inventory hack a "menu" is a stretch, and it's not something I want to waste my time on, because it can't do what it needs to do.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Oct 10, 2018
  8. Ok, thanks. But can I still use the abilities even if they aren't in the folder?
     
  9. Offline

    garbagemule

  10. Good. But I have one question. Is there a way to make so a arena regenerate if something break?

    EDIT: Is there a maximum of classes you can have?
     
  11. Offline

    garbagemule

    HerobrineLivesHere If you have soft-restore: false, MobArena will (try to) prevent any damage to the arena region at all times. If you have it set to true, it will allow arena players to damage the region during sessions, but try to restore it at arena end. It is a little bit buggy with redstone blocks, sand/gravel, fire and water/lava, though. As for a maximum number of classes, why don't you try and find out? :)
     
  12. Offline

    Tim4209

    garbagemule sorry i forgot to put the variable u could do it like this

    Code:
                            Inventory MenuTest = Bukkit.createInventory(null, 9, "Simple Menu!");
                            player.openInventory(MenuTest);
    i compiled it right now and it works, and u can put anything u want there and manipulate it with
    your listener class
     
  13. Offline

    Aleynacombi

  14. I tried soft restore but nothing happend and I have 18 classes (I think) and I can't create more classes.

    EDIT: Mob Arena has stopped working ALOT on the last time when I have used it. Here is my config. http://pastebin.com/Vi3Wihkm
     
  15. Offline

    shanko

    So are there any plans on fixing custom boss abilities or are we just going to be required to compile the plugin ourselves? Would be nice to have the functionality back :)
     
  16. Offline

    garbagemule

    Aleynacombi The config you posted does not match the error you posted. Pay attention to the whitespace in your config-file and you'll be fine.

    HerobrineLivesHere You can create as many classes as you want. I don't know what you're doing wrong, but there is no limit.

    shanko Feel free to weed out the bug and make a pull request. If it wasn't for the rewrite, I'd be all over it, but I think it's a waste of time when everything gets trashed anyway. It's a minor optional feature that doesn't seem to be super popular among the MobArena users, so it's below low priority.
     
  17. Offline

    Aleynacombi

    Ah okay here's what happening :
    Im using the very default config of MobArena , the one that generates it self.
    I setup an arena as "default".
    At this part of config :

    Code:
            waves:
                recurrent:
                    def1:
                        type: default
                        priority: 1
                        frequency: 1
                        monsters:
                            zombies: 10
                            skeletons: 10
                            spiders: 10
                            creepers: 10
                            wolves: 10
    It says that zombies ,skeletons , spiders , creepers and wolves will spawn right ?

    Only creepers , skeletons and wolves does spawn for an unknown reason. Non of the other ones are blocked by any other plugin or some how cannot spawn due to lack of space at the spawnpoint. I have no idea why spiders and zombies does not spawn.

    And the other problem is that boss , special and swarm wave types doesn't work.
    It says this at the server log :

    Code:
    2013-07-14 16:02:24 [INFO] [MobArena] Loading MobArena v0.95.3
    2013-07-14 16:02:24 [INFO] [MobArena] Enabling MobArena v0.95.3
    2013-07-14 16:02:24 [WARNING] [MobArena] Vault was not found. Economy rewards will not work!
    2013-07-14 16:02:24 [WARNING] [MobArena] Invalid type 'special' for wave 'spec1' in arena 'default'. Skipping...
    2013-07-14 16:02:24 [WARNING] [MobArena] Missing 'monster' node for wave 'swarm1' in arena 'default'.
    2013-07-14 16:02:24 [WARNING] [MobArena] Wave 'swarm1' for arena 'default' could not be parsed.
    2013-07-14 16:02:24 [WARNING] [MobArena] Missing 'monster' node for wave 'boss1' in arena 'default'.
    2013-07-14 16:02:24 [WARNING] [MobArena] Wave 'boss1' for arena 'default' could not be parsed.
    2013-07-14 16:02:24 [INFO] [MobArena] Loaded arena 'default'.
    2013-07-14 16:02:25 [INFO] [MobArena] v0.95.3 enabled.
    other parts of the log is just normal bukkit stuff and I have no else plugins for blocking it to work.

    So how do I fix both of the problems ?
     
  18. Offline

    garbagemule

    Aleynacombi It's hard to tell what's going on when you don't also post the correct config-file. It seems like there may be actual errors in your config-file, and due to those, the rest of the file doesn't parse correctly. It could also be an encoding issue. Make sure the file is encoded in UTF-8 (Sublime Text 2 is an excellent text editor that works on all three major platforms).
     
  19. Offline

    xarbero

    Will v0.95.3 work for 1.6.2?
     
  20. Offline

    Bobcat00

    Working fine on my server.
     
    garbagemule likes this.
  21. Offline

    Aleynacombi


    Okay , I used the editor you gave and corrected that it's encoded in UTF-8.
    I did setup a new server , pure bukkit only MobArena plugin nothing else.
    I run the server and this appeared on the server log , nothing else was wrong ;
    Code:
    2013-07-14 16:02:24 [INFO] [MobArena] Loading MobArena v0.95.3
    2013-07-14 16:02:24 [INFO] [MobArena] Enabling MobArena v0.95.3
    2013-07-14 16:02:24 [WARNING] [MobArena] Vault was not found. Economy rewards will not work!
    2013-07-14 16:02:24 [WARNING] [MobArena] Invalid type 'special' for wave 'spec1' in arena 'default'. Skipping...
    2013-07-14 16:02:24 [WARNING] [MobArena] Missing 'monster' node for wave 'swarm1' in arena 'default'.
    2013-07-14 16:02:24 [WARNING] [MobArena] Wave 'swarm1' for arena 'default' could not be parsed.
    2013-07-14 16:02:24 [WARNING] [MobArena] Missing 'monster' node for wave 'boss1' in arena 'default'.
    2013-07-14 16:02:24 [WARNING] [MobArena] Wave 'boss1' for arena 'default' could not be parsed.
    2013-07-14 16:02:24 [INFO] [MobArena] Loaded arena 'default'.
    2013-07-14 16:02:25 [INFO] [MobArena] v0.95.3 enabled.
    I deleted the config so the plugin generated a new one , same error again.
    Used another conifg that i found on internet , still the same error.
    Used another config and same errors again. The plugin was fine I did setup an arena and played it but still no boss waves , swarm waves and only skeleton , creeper and wolf. Every config was the same.
    Im here right now , waiting for an answer.

    The config that im using right now : http://pastebin.com/7TXLEpUm

    Still the same error.
     
  22. Offline

    garbagemule

    Aleynacombi
    The config that you posted does not produce the warnings you mention on a fresh server with no other plugins than MobArena. You are doing something wrong, and there's no way to guide you when your reproduction steps don't create any errors or warnings. I'm afraid you're on your own, but triple-check everything, and make sure you're not doing something stupid like updating stuff in a plugins-folder of a different server folder than the one you're toying around with.

    CB #2788 (Recommended Build 1.5.2) (open)
    Code:
    21:29:45 [INFO] Starting minecraft server version 1.5.2
    21:29:45 [INFO] Loading properties
    21:29:45 [INFO] Default game type: SURVIVAL
    21:29:45 [INFO] Generating keypair
    21:29:45 [INFO] Starting Minecraft server on *:25565
    21:29:45 [INFO] This server is running CraftBukkit version git-Bukkit-1.5.2-R1.0-b2788jnks (MC: 1.5.2) (Implementing API version 1.5.2-R1.0)
    21:29:45 [INFO] [MobArena] Loading MobArena v0.95.3
    21:29:46 [INFO] Preparing level "world"
    21:29:46 [INFO] Preparing start region for level 0 (Seed: 7535131822603167969)
    21:29:47 [INFO] Preparing start region for level 1 (Seed: 7535131822603167969)
    21:29:47 [INFO] Preparing start region for level 2 (Seed: 7535131822603167969)
    21:29:47 [INFO] [MobArena] Enabling MobArena v0.95.3
    21:29:48 [WARNING] [MobArena] Vault was not found. Economy rewards will not work!
    21:29:48 [INFO] [MobArena] Loaded arena 'default'.
    21:29:48 [INFO] [MobArena] v0.95.3 enabled.
    21:29:48 [INFO] Server permissions file permissions.yml is empty, ignoring it
    21:29:48 [INFO] Done (2.328s)! For help, type "help" or "?"
    CB #2815 (most recent 1.6.2) (open)
    Code:
    21:26:42 [INFO] Starting minecraft server version 1.6.2
    21:26:42 [INFO] Loading properties
    21:26:42 [INFO] Default game type: SURVIVAL
    21:26:42 [INFO] Generating keypair
    21:26:43 [INFO] Starting Minecraft server on *:25565
    21:26:43 [INFO] This server is running CraftBukkit version git-Bukkit-1.5.2-R1.0-27-gdc25312-b2815jnks (MC: 1.6.2) (Implementing API version 1.6.2-R0.1-SNAPSHOT)
    21:26:43 [INFO] [MobArena] Loading MobArena v0.95.3
    21:26:43 [INFO] Preparing level "world"
    21:26:43 [INFO] Preparing start region for level 0 (Seed: 7535131822603167969)
    21:26:44 [INFO] Preparing start region for level 1 (Seed: 7535131822603167969)
    21:26:45 [INFO] Preparing start region for level 2 (Seed: 7535131822603167969)
    21:26:45 [INFO] [MobArena] Enabling MobArena v0.95.3
    21:26:45 [WARNING] [MobArena] Vault was not found. Economy rewards will not work!
    21:26:45 [INFO] [MobArena] Loaded arena 'default'.
    21:26:45 [INFO] [MobArena] v0.95.3 enabled.
    21:26:45 [INFO] Server permissions file permissions.yml is empty, ignoring it
    21:26:45 [INFO] Done (2.209s)! For help, type "help" or "?"
     
  23. Offline

    Aleynacombi


    Nope , tried with different versions and still the same error.

    Well , thanks for your concern anyways.
     
  24. Offline

    garbagemule

    Aleynacombi "Nope" what? Your problem is irreproducible, there's nothing more I can do. Almost ten thousand servers worldwide pinged in that they're running MobArena on their servers within the past 30 minutes. Clearly, if this was a bug in the plugin and not your setup, there would be more people complaining about it.

    shanko Please try this build and let me know if custom abilities load as they should: Clicky

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

    garbagemule

    Version 0.95.4 is out!
    Get it here!

    With this version, custom boss abilities now work again, and the auto-ready feature now works with class chests as intended. Get it while it's hot!
     
  26. When my players joins the arena they keep their stuff in the mob arena but the items get removed when they leave it. I am using Multiverse to keep the arenas in diffrent worlds and Multiverse-Inventories to keep their stuff from disapering.
     
  27. Offline

    garbagemule

    HerobrineLivesHere
    Either restrict access to the mobarena.use permission, or use a max-join-distance greater than 0 for your arenas. This will prevent your users from joining from other worlds than the arena world, and your inventory woes will be gone.

    Unfortunately, the multi-inventory plugins use some extremely annoying timer-based swapping techniques that I hope and assume that they have very good reasons for (otherwise, their implementation is selfish and reckless). The only way to solve the multi-inventory issues is to litter MobArena with timers that will make the plugin extremely brittle with regards to reloads/restarts.
     
  28. I have to thank you so much! You helped me to fix the biggest problem on my server! :D (Even if I didn't quite understand what you said) But you got me to get a idea that I can allow sharing between the worlds with my minigames and the spawn world and it was fixed! :D It even solved the problem with the other plugins. Thank you!
     
  29. Offline

    garbagemule

    Version 0.95.5 is out!
    Get it here!

    This release adds baby pigmen as a viable monster type, makes the auto-start kick message customizable, and fixes the bug with bones in class chests not causing pets to spawn. If you don't need any of these features, there's no reason to update.
     
  30. Offline

    Bobcat00

    Quick question: Is there any way to prevent it from raining within Mob Arena? (Similar to the way time is fixed at day,night, etc)
     
  31. Offline

    garbagemule

Share This Page