[FUN] MobArena v0.94.4.98 - Become a mob-fighting gladiator! [1.5.2]

Discussion in 'Plugin Releases' started by garbagemule, May 30, 2011.

     
  1. Offline

    garbagemule

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    [IMG]

    ------------------------------

    MobArena 1.0: MobArena has come a long way since its first release, but many updates, bugs, fixes, features, and headaches later, I have decided to rewrite the entire plugin from scratch. The reason for this is that with the knowledge I have gathered along the way, it should now be much less difficult to structure everything for easier maintainability and flexibility. The end result? Hopefully an easier-to-use plugin with many more features. ETA? TBA.

    What this means for the current build(s) is that no more features will be implemented, and only the most dire of bugs will be attempted fixed. The project will not die, but I will primarily focus what time I have on developing MobArena 1.0.

    As always, I'll need some people to test out the builds as they come along, so feel free to hop on IRC for a chat and some testing :) I will be updating this section when new builds are ready, but the most recent will always be available on IRC.

    Current test-build: N/A

    ------------------------------

    MobArena - Become a mob-fighting gladiator!
    [IMG] Latest build: v0.94.4.98 (for 1.5.2)
    [IMG] Wiki
    [IMG] IRC Channel
    [IMG] Source

    BukkitDev Project Page - Find MobArena on dev.bukkit.org here: LINK.

    ------------------------------

    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.
    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.
    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.

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

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

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

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

    This post has been edited 52 times. It was last edited by garbagemule May 6, 2013.
    apes, chakyl, Steffion and 64 others like this.
  2.  
  3. Offline

    zalakta

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    yes, and the Ma says: Let the slaughter begin! then nothing
  4. Offline

    garbagemule

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @zalakta - Please verify that the spawnpoints are indeed set in the config.yml. I was having a similar issue yesterday when creating the auto-generator, but it turned out that the points weren't actually registered in the YML. Also, have you tried the auto-generated arena in 0.82?
  5. Offline

    garbagemule

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Updated to v0.84 - Monsters now target the closest arena player when they spawn, and likewise for when their target dies. This fixes spiders not attacking in daylight, zombie pigmen not auto-targeting on spawn, and monsters attacking spectators (which shouldn't happen with the auto-generated arena anyway).

    Anyway! Guys, PLEASE take screenshots of your arenas and post them in this thread. I am DYING to see what kind of stuff you are coming up with. I'm going to add some obstacles to my own arena at some point.
  6. Offline

    thepackett

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Maybe in a future release there can be support for multiple arenas? and maybe a different setting per arena?
    that would be awesome :D
    Great job though ^^ *downloads*
  7. Offline

    RugRats

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Will try later looks good!
  8. Offline

    bruceweed

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I get this error after the first 2 waves. It occurs when the third wave should spawn, and it doesn't and this errors appears in console.

    Also how would one go about adding the other mobs, say ghast, zombie pigman, wolf, and so on.

    Code:
    [WARNING] Task of 'MobArena' generated an exception
    java.lang.NullPointerException
        at com.garbagemule.MobArena.MASpawnThread.run(MASpawnThread.java:60)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:388)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    this is my config

    Code:
    classes:
        Chef:
            items: stone_sword, bread:2, grilled_pork:1, mushroom_soup, cake:1, cookie:4
            armor: 314,315,316,317
        Oddjob:
            items: stone_sword, apple, grilled_pork:3
            armor: 298,299,300,301
        Tank:
            items: iron_sword, grilled_pork:2
            armor: 310,311,312,313
        Knight:
            items: diamond_sword, grilled_pork
            armor: 306,307,308,309
        Sniper:
            items: wood_sword, bow, arrow:64, arrow:64, grilled_pork
            armor: 298,299,300,301
        Jester:
            items: stone_sword, snow_ball:64, apple, cake:1, cookie:4
            armor: 310,315,300,309
    rewards:
        waves:
            every:
                '3': feather, arrow:2
                '6': coal:4, boat, minecart, ink_sack:2, arrow:4
                '10': cake, cookie:5, grilled_pork, apple, painting
                '14': iron_chestplate, iron_helmet_, iron_leggings, iron_boots
                '30': diamond:2
            after:
                '12': iron_sword, iron_axe, iron_pickaxe, iron_spade
                '30': diamond_sword, diamond_pickaxe
                '40': diamond_helmet, diamond_chestplate, diamond_leggings, diamond_boots
    waves:
        default:
            zombies: 9
            skeletons: 10
            spiders: 10
            creepers: 1
    coords:
        p1:
            yaw: 0.0
            pitch: 0.0
            z: -698.7149022072617
            y: 56.0
            world: 420 Land
            x: -292.65625
        p2:
            yaw: 0.0
            pitch: 0.0
            z: -638.3125
            y: 86.0
            world: 420 Land
            x: -230.31795829377114
        spawnpoints:
            s1:
                yaw: 89.4548
                pitch: 13.500171
                z: -668.53125
                y: 66.0
                world: 420 Land
                x: -244.3125
            s2:
                yaw: 181.2547
                pitch: 9.900167
                z: -652.3000000119209
                y: 66.0
                world: 420 Land
                x: -261.6815695958768
            s3:
                yaw: 270.3546
                pitch: 9.30017
                z: -668.5187315036111
                y: 66.0
                world: 420 Land
                x: -278.69999998807907
            s4:
                yaw: 359.90393
                pitch: 11.550166
                z: -684.6999999880791
                y: 66.0
                world: 420 Land
                x: -261.386946511257
        arena:
            yaw: 269.4547
            pitch: 90.0
            z: -668.5923814298781
            y: 66.0
            world: 420 Land
            x: -261.22222312853035
        spectator:
            yaw: 123.65564
            pitch: 12.000027
            z: -660.875
            y: 75.0
            world: 420 Land
            x: -254.875
        lobby:
            yaw: 181.55585
            pitch: 11.550035
            z: -654.6520974362743
            y: 62.0
            world: 420 Land
            x: -261.99692049085957
  9. Offline

    garbagemule

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @bruceweed - I was notified of this error earlier and rushed to update MobArena. Depending on how long ago you downloaded the file, it might have been fixed now. Can you try and download the plugin to your server again, and then reload and see if it still happens? If so, I will push a new update.

    Your config.yml is very interesting! Did you build your own arena? If so, could you please post a screenshot? :)

    Edit: As soon as my first exam is over (June 10th), you should (hopefully) see updates allowing you to customize both the default waves and special waves, as well as the ability to grant rewards based on kills/damage done/taken. It's a good deal of work that needs to be done, though.
  10. Offline

    kahlilnc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Its been released :O
    garbagemule likes this.
  11. Offline

    heroanth2345

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Wow, just WOW!
    garbagemule likes this.
  12. Offline

    bruceweed

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I tried the redownload and everything not so good. It didn't change. It was the same size and version.

    As far as pictures... here ya go :)

    [IMG]

    Thats the front

    [IMG]

    Thats the left side of the lobby

    [IMG]

    thats the front wall of the lobby

    [IMG]

    right side of lobby

    [IMG]

    Air view of the roof/glass viewing floor/stands (you can actually sit in them with the sit plugin)

    [IMG]

    View from inside at the spawn when in the arena looking at one of the spawns for the mobs.
    garbagemule likes this.
  13. Offline

    bruceweed

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    By the way I downloaded the first time a few hours ago before posting.
  14. Offline

    geloum

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks for this plugin, testing right now.
    garbagemule likes this.
  15. Offline

    garbagemule

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @bruceweed - That looks absolutely amazing! I really hope we can sort your exception out!

    @geloum - Thanks for taking an interest in it! Let me know how everything goes :)

    Again, if you build your own arenas, please post screenshots here in the thread for everyone to see. I'm very excited to see what people come up with :)
  16. Offline

    geloum

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Working like a charm, set up easy as hell, Youtube video erases all doubts about config.
    Thank you mate.
    garbagemule likes this.
  17. Offline

    bruceweed

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I just don't see where the exception could have came from. I set it up like was shown in the video >.<
  18. Offline

    garbagemule

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @bruceweed - I sent you a private message with a link to a file that I know works under normal circumstances. The only reason that exception could happen is if you either used an older version (the one with the bug in it), or if you have somehow managed to start the arena without actually joining it. Line 60 is a for-each loop that iterates over all players in the arena, so it has to be one of those. Anyway, I hope the .jar I linked you to works better! Sometimes "starting over" is the easiest way to solve these kinds of problems, even though it sucks. And I sincerely apologize for the inconvenience! :(
  19. Offline

    bruceweed

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    alright lemme give it a try and I'll let you know what happens.
  20. Offline

    bruceweed

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That works good. Only 1 problem. Special wave does the lightning but no mobs appears. Other then that it works good.

    edit: ran again and special waves spawned. its all good
  21. Offline

    garbagemule

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @bruceweed - Are you getting an exception on the special waves?
  22. Offline

    desmin88

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Anybody got good class ideas?
    My classes stink!
    @garbagemule
    I sometimes receive bruceweeds error, but no stack trace or exception
    Also, how is spider jockeys coming along?
  23. Offline

    garbagemule

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @desmin88 - Spider jockeys are a tad problematic and not something I'm working on at the moment. They're still planned, however, if I can weed out the jerky movement. With a bit of luck, they may be part of v1.0 :3
  24. Offline

    Connor Mahaffey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Congratulations on being moved to the Plugin Release Section!
  25. Offline

    woodzy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @ garbagemule
    THIS PLUGIN IS A HIT ON MY SERVER!!! #1 LOVED PLUGIN!!
    but how about a way to delete the arena? can more areas be added?
    and some mobs did stay like small slimes after we all died
    AND I LOVE THE MONSTERS!!!
    garbagemule likes this.
  26. Offline

    bruceweed

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    what about adding ghasts and zombiepigs or anything like that
  27. Offline

    bruceweed

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Oh yea, and what about a leaderboard for solo and group?
  28. Offline

    Chuckster

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Make sure you dont have a mod such as civilized spawns
  29. Offline

    Chuckster

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    LOVE THE PLUGIN!!! BUT!!! people can join choose a class then quit the server and its quits them from the arena but they still have all their equipment!! this could be a major problem
  30. Offline

    woodzy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    havent seen ghasts but have seen pigzombies
  31. Offline

    Nlioc4

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Could you please add BOSEconomy support? Then I could give Cash prizes out to my users! :D That would be so awesome if you could! Thx in advance! Ps amazing plugin
  32. Offline

    bruceweed

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    My suggestions:
    1. adding the other mobs
    2. adding solo and group leaderboards
    3. making rewards stack, otherwise after a certain amount of rewards no inventory space is left to get them.

Share This Page