[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

    garbagemule

    emptychild7 - I'm pretty sure the Archer sign was the only one that DIDN'T work, because it probably turned a different color, and a message was printed? MobArena doesn't do that. You're most likely also using BattleArena, which has a very selfish sign handler that "steals" signs regardless of context. Not only is it selfish, it's also extremely reckless and naive, but the author refuses to change anything. Rename one of your Archer classes.
     
    emptychild7 likes this.
  3. Offline

    LumpusDumpus

    Hey, a vey nice plugin, though I have one small questions:

    We use this plugin on a MCPC+-server together wtih DungeonMobs and other mods that add a lot of different mobs to the game, is there any possibilty to add/use these in an arena?

    I already tried adding them via writing their name in the config, though that didnt get me any far

    anyway very nice mod, haters gonna hate and keep up the great work,

    would be very nice if there was a way to use this mod in combination with mobs from other mods :)

    (e.g. the big spiderboss from DungeonMobs or the Lich king from twilight forest)

    friendly regards
     
  4. Offline

    shanko

    Been enjoying Mob Arena!

    One problem I noticed is the formula for Boss health. I agree it should increase with the number of players and become "scalable" but it increases way too quickly with more players.

    Bosses become exponentially harder with more and more people, not that the formula is exponential but there is a certain cut off point where a boss has way too much health that players are starting to "sneak" mob arenas with less players.

    A mob arena of 10 players versus a boss with 3000 health is alright, everyone can contribute a little bit to the boss. But once you have 20 players with boss health of 13k, its crazy. Not everyone can hit the boss at once because the boss was already getting hit constantly with 10 players. Theres no room for any extra damage.

    I came up with a formula that could use some tweaking but I think it would work better

    log_2(1 + players) * multiplier * 20

    log_2 refers to log base 2.

    Using a log-based formula will slow down the amount boss HP increases, making it more scalable and allowing for players to enjoy playing with big groups instead of dreading it.

    Thanks for reading! :)


    EDIT: Another idea I had would be to have a max-health config option, that will cap a certain bosses health.
     
  5. Offline

    ACStache

    shanko You can put in a flat value if you want. It doesn't fix the formula issue, but it is an alternative. it's instead of putting "health: medium" you put "health: ####"

    garbagemule it makes sense to do a log based formula. as it stands right now it adds 100% of the base health for each additional player past 1. That's a pretty steep increase as the # of players goes up
     
  6. Offline

    fieryblaze8910

    I am having some trouble with Mob Arena. I checked the server logs and there is no error. I tried installing and reinstalling every plugin one at a time to see if one was interfering. None are. The problem is that when i join the game by doing /ma join 1, It works fine. With the classes, when I select a sign, by rightclicking, it says I am in that class, but yet I do not get the items. I tried putting a chest underneath the sign with the items, but I still do not get my items. By the way I did everything setting up the arena. My server is 66.85.170.230:2000

    I am having some trouble with Mob Arena. I checked the server logs and there is no error. I tried installing and reinstalling every plugin one at a time to see if one was interfering. None are. The problem is that when i join the game by doing /ma join 1, It works fine. With the classes, when I select a sign, by rightclicking, it says I am in that class, but yet I do not get the items. I tried putting a chest underneath the sign with the items, but I still do not get my items. By the way I did everything setting up the arena. My server is 66.85.170.230:2000
    There are the exact steps I do.
    types-/ma join....I go in the lobby
    I right-click one of the class signs,
    It says "You have chosen (classname) as your class!
    I do not get the items assigned to that particular class.

     
  7. Offline

    garbagemule

    MobArena v0.95.1 is out: Click me

    This build fixes an issue with the fixed default waves, removes the auto-expansion feature that's been causing issues for some people, and fixes the very elusive bug that caused a restart to be required in the initial setup process. The build works on both 1.5.2 and 1.6.1!

    A 1.6.1-specific build (with horse mounts) will be out as soon as there is a more stable Craftbukkit release that actually allows spawning horses from code.
     
  8. Offline

    ACStache

  9. Offline

    shanko

    Hello. I need some help, none of my custom Boss Abilities are working on 0.95.1 on 1.6.1

    [WARNING] [MobArena] Invalid boss ability 'minions' for wave 'bossskele' in arena 'default'.

    On startup for all abilities


    They are located in the abilities folder of the plugin. They worked on previous versions.

    Thanks!
     
  10. Offline

    garbagemule

    Version 0.95.2 is out!
    Get it here!

    This version is a simple hotfix for the region setup process. It should now work as intended. If you are on v0.95.1 and don't need to set up any new arenas any time soon, you don't need this update.
     
  11. Offline

    garbagemule

    Version 0.95.3 is out!
    Get it here!

    This version hopefully actually fixes the rest of the issues related to the setup process, which has been reworked and hopefully made slightly more intuitive with regards to the region definition.
     
  12. Hey garbagemule! I have have a idea you might can think of adding in the 1.0 realese. :)

    A class selector gui. This makes so you can click a sign so you get a menu with all the classes. You put what classes it should show up when you are creating the arena. Like /ma classgui add Archer. Then you can add a custom name, icon and some info. Like /ma classgui Archer name "archername", /ma classgui info "like what is has or something else!" and /ma classgui icon Archer (itemID)

    Please tell me what you think about it. :)
     
  13. Offline

    garbagemule

    HerobrineLivesHere This was done way back with the Spout API, but I don't think it works anymore. The idea is far from new, but the trouble is that Bukkit contains no GUI API, so there is no way to make it. However, scoreboards have proven themselves very hackable, and 1.0 will indeed contain a bunch of features that utilize the scoreboards for this sort of thing.
     
  14. I do think it is possbile. The server with SethBling's minigame "Super Craft Brothers" uses it. They did so you can select your class with a GUI. But you decide what you wanna do. I am just saying. :)
     
  15. Offline

    garbagemule

    HerobrineLivesHere The Bukkit project offers no GUI APIs at all, so it isn't possible to create custom GUI elements with just Bukkit. It may be possible with spigot, Spout or Forge, but it isn't (at this time) with Bukkit alone. If it was possible, MobArena would already be choc full of them :)
     
  16. Ok, I understand. But I just have a question for you about this. Can't it be possible to like use a GUI that is in the game? The Super Craft Brothers server seems to use a chest GUI.

    EDIT: You maybe can check this out to help you a bit. :)

    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.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 30, 2020
  17. Offline

    garbagemule

    HerobrineLivesHere Custom GUI elements fall under modifying existing GUI elements. It's not possible to right-click a chest and all of a sudden get a menu-like system like the one you find in your in-game Options or similar things. The only thing you have to take from what I'm saying is that it's not possible (read: viable) to do anything like this in MobArena, because MobArena uses Bukkit and nothing else. If you insist that it IS possible/viable through the Bukkit API alone, I highly encourage you to find code snippets and prove it. I don't want to sound like an arrogant jerk, but if you don't know anything about this, you're wasting time for both of us. Like I said, if it was possible (viable), MobArena would already be GUI'fied.
     
  18. Offline

    midnightfang22

  19. 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);
     
  20. 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. :)
     
  21. 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 :)
     
  22. 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
  23. Ok, thanks. But can I still use the abilities even if they aren't in the folder?
     
  24. Offline

    garbagemule

  25. 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?
     
  26. 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? :)
     
  27. 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
     
  28. Offline

    Aleynacombi

  29. 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
     
  30. 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 :)
     
  31. 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.
     

Share This Page