[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

    Flamers

    Or you could use the join distance :)
     
  3. Offline

    ACStache

    If they're fighting within that distance it's still instant :p
     
  4. Offline

    Flamers

    Who build an area with dark areas 100 block around? :D
     
  5. Offline

    thomasoo

    There's a exploit going around with this plugin that lets you smuggle 5 items out of mob arena whether you are in the lobby or arena.

    And the reasons it works is because you guys dont reset the crafting grid or mouse cursor on /ma leave :eek:
     
  6. Offline

    garbagemule

    Plenty of similar exploits have been possible previously, and many workarounds have been suggested and tried implemented. Whether this is actually a fix or not remains to be seen. As for actually testing out a possible fix, I do need to know the reproduction steps (even if they may appear obvious, and I can certainly deduct them from what you've said) to precisely get to the same state as you (think of plugins as massive deterministic finite state machines - in that case, I need your input string to make sure I'm in the same state as you; even if I can get there through other transitions).

    Now, since you're clearly seeing this happen and know how to verify for sure that this snip of code would fix the issue, is there a chance you could come on IRC somewhere around 7-8 PM GMT+1? I'll make a build for you to test out, and if it works, I'll push an update.

    - mule

    Edit: Note that InventoryView is a recent Bukkit feature, and it did not exist the last time I was messing around with similar issues :) If it's that simple now, great, but I don't know where the :eek:-smiley comes from, and it could be "just a smiley" or it could be "pointing towards incompetence" - just wanted to point out that if I'm digging with a spoon, it's because there are no shovels available :3
     
  7. Offline

    Curtis3321

    garbagemule

    Can you please add a teleportation time..

    Thanks
     
  8. Offline

    garbagemule

    No, sorry.
     
  9. Offline

    scottymalloty

    What is the exact thing to write to remove the skill permission for swords and axes with PEX?
     
  10. Offline

    garbagemule

    ACStache likes this.
  11. Offline

    ACStache

    figure out what the permissions are from mcMMO you want to negate, then check out the Config Wiki (and scroll down to the Classes section). Ultimately this has nothing to do directly with PEX, as you add these into the MobArena config
     
  12. Offline

    Curtis3321

    Wow really, your not going to add a teleportation time.
    N1

    Allow people to combat tp amazing mate.
     
  13. Offline

    ACStache

    I notice you help with a plugin that stops use of commands in combat...
    Why don't you just use that? Seems like a much simpler solution, since the preventative code is already created :p
    quote from it:
     
  14. Offline

    Curtis3321

    hehe yeh i know, But atm its bugged, got the fix complete, just need to compile it, i would like the timer anyway.
     
  15. Offline

    garbagemule

    Wow really, you're going to be sarcastic with me because I think my time is spent more productively not wasting it on features that aren't necessary? Not only do plenty of plugins allow you to work around this self-inflicted issue of yours, but MobArena's current feature set does too. As a reward for your sarcastic and snide attitude, I'll let you figure out the (MobArena-feature) details yourself. You're excused.
     
  16. Offline

    Curtis3321

    Ok thanks.

    Mate.
     
  17. Offline

    garbagemule

    Good boy.
     
  18. Offline

    Curtis3321

    Love you.
     
  19. Offline

    XxDawnsusxX

    is there an option to get rid of the arena fully
     
  20. Offline

    ACStache

    what do you mean get rid of it? disable the arena? remove the arena? remove the protection of the arena? disable the whole plugin?
     
  21. Offline

    XxDawnsusxX

    remove the whole thing so there isnt an arena, and also i have one of the arenas edit mode set to false and anybody can destroy the glass on top
     
  22. Offline

    shark4675

    i can't get any of the mob arena commands to work and when i press /plugins mobarena is in red what does this mean?!?!
     
  23. Offline

    fatmarley

    shark4675 it means you should check your start up log. I can assume, but I think maybe something you edited in your config is throwing an error..maybe a tab space.?

    Suggestion

    Use a YAML parser to check your config,
    Check your startup log.

    @XxDawnsusxX

    Suggestions: Ensure that the region you defined for your arena covers the glass roof. Using /ma showregion found in the wiki https://github.com/garbagemule/MobArena/wiki/Setting-up-an-arena

    To completely remove an arena from the config, you can find on that page. To complete remove arena from GAME, you will have to use something like World Edit http://dev.bukkit.org/server-mods/worldedit/

    Unless you used the Autogenerate function, in which case you should use /ma auto-degenerate <arena>
    commands found on this page https://github.com/garbagemule/MobArena/wiki/MobArena-Commands

    You can do something like this.
    Code:
    classes:
        Knight:
            items: diamond_sword, potion:8197:3
            armor: 306,307,308,309
            permissions:
            - nocheatplus.checks.moving.nofall
            - nocheatplus.checks.inventory.instanteat
            - nocheatplus.checks.inventory.instantbow
            - nocheatplus.checks.fight.speed
            - nocheatplus.checks.fight.reach
            - nocheatplus.checks.fight.direction
            - nocheatplus.checks.fight.angle
            - nocheatplus.checks.fight.instantheal
    That will add perms to the class,

    Code:
    classes:
        Knight:
            items: diamond_sword, potion:8197:3
            armor: 306,307,308,309
            permissions:
            - -eat.chesse
    
    Will remove it

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

    alma359

    Please fix the bug with item stealing! all people on my server stealed items and i dont know to get them back...
     
  25. Offline

    XxDawnsusxX

    you need to fix alot of stuff with this plugin
    1. The glass on top can still be broken when edit mod is false
    2. when you remove arena its still there
    please add something for these two problems
     
  26. Offline

    garbagemule

    alma359 - Update. Test. Elaborate.

    XxDawnsusxX - How are two points "a lot of stuff"? The problems are self-induced and can be fixed by using the plugin correctly. 1) The auto-generated arena is a demo-feature. Stop using it and build your own arena. 2) Use the plugin the way it's intended, and RTFM.
     
  27. Offline

    Maartensen

    today I´ve conigured my own config but I´ve got the same error every time and can´t identify the mistake i made

    Code:
    2012-09-21 16:18:00 [SEVERE] [MobArena] The config-file failed to load. This is the error:
    mapping values are not allowed here
    in "<string>", line 28, column 20:
                    enabled: true
                          ^
     
    2012-09-21 16:18:00 [INFO] [MobArena] Disabling MobArena v0.94.4.81
    2012-09-21 16:18:00 [SEVERE] Error occurred while enabling MobArena v0.94.4.81 (Is it up to date?)
    java.lang.IllegalStateException: The config-file could not be loaded! Read further up to find the actual bug!
        at com.garbagemule.MobArena.MobArena.loadConfigFile(MobArena.java:118)
        at com.garbagemule.MobArena.MobArena.onEnable(MobArena.java:67)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:365)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:265)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:247)
        at net.minecraft.server.MinecraftServer.i(MinecraftServer.java:296)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:275)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:225)
        at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:140)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    this is my config:

    Code:
    global-settings:
        enabled: true
        allowed-commands: /list, /pl
        update-notification: true
    classes:
        Knight:
            items: diamond_sword, potion:8197:3, potion:8233:2
            armor: 306,307,308,309
        Tank:
            items: iron_sword, potion:8229:4
            armor: 310,311,312,313
        Archer:
            items: wood_sword, bow, arrow:256, potion:8197:3, bone:2
            armor: 298,299,300,301
        Chemist:
            items: stone_sword, potion:16428:30, potion:16388:8, potion:16389:20, potion:8197:3, potion:8226:1
            armor: 314,315,316,317
        Oddjob:
            items: stone_sword, flint_and_steel:10, netherrack:3, tnt:5, potion:8197:3, potion:8195:3
            armor: 298,299,300,301
       
    arenas:
        default:
            settings:
              world: world
                enabled: true
                protect: true
                logging: true
                entry-fee: ''
                clear-wave-before-next: true
                clear-boss-before-next: true
                lightning: true
                auto-equip-armor: true
                soft-restore: false
                soft-restore-drops: false
                require-empty-inv-join: false
                require-empty-inv-spec: false
                hellhounds: true
                pvp-enabled: false
                monster-infight: false
                allow-teleporting: false
                spectate-on-death: true
                auto-respawn: true
                share-items-in-arena: true
                min-players: 0
                max-players: 10
                max-join-distance: 0
                first-wave-delay: 5
                wave-interval: 15
                final-wave: 0
                monster-limit: 100
                monster-exp: true
                keep-exp: true
                food-regen: false
                lock-food-level: true
                spout-class-select: false
                player-time-in-arena: world
                auto-ignite-tnt: false
            waves:
                recurrent:
                    death?:
                        type: default
                        priority: 1
                        frequency: 1
                        monsters:
                            zombies: 10
                            skeletons: 10
                            spiders: 10
                            creepers: 10
                            wolves: 10                       
                    NormalSpecial:
                        type: special
                        priority: 2
                        frequency: 4
                        monsters:
                            powered_creepers: 10
                            zombie_pigmen: 10
                            angry_wolves: 10
                            blazes: 10
                    Giant_explosions:
                        type: special
                        priority: 3
                        frequency: 12
                        monsters:
                            exploding_sheep: 5
                            giant: 1
                    levelUP:
                        type: ubgrades
                        priority: 10
                        frequency: 15
                        wave: 15
                        ubgrades:
                            All: potion:8261:2
                            Archer: arrows:150
                            chemist: potion:16428:20, potion:16388:5, potion:16389:20
                            Oddjob: tnt:4 , netherrack: 2
                            All: 384:10
                    time to enchant:
                        type: special
                        priority: 6
                        frequency: 15
                        wave: 17
                        monsters:
                            chicken: 1                   
                single:
                    swarm1:
                        type: swarm
                        wave: 6
                        monster: slimes
                        amount: low
                    SHEEEPS:
                        type: swarm
                        wave: 15
                        monsters: exloding_sheeps
                        amount: medium
                    Tintenfische:
                        type: boss
                        wave: 30
                        monster: squid
                        health: high
                        abilities: flood, arrows, throw-target
                        ability-interval: 3
                        ability-announce: true
                    boss1:
                        type: boss
                        wave: 10
                        monster: cave_spider
                        health: medium
                        abilities: root-target, throw-nearby
                    evil_chicken:
                        type: boss
                        wave: 99
                        monster: chicken
                        health: psycho
                        abilities: osidian-bomb , chain-lightning, warp-to-player
                        ability-announce:true
                        ability-interval: 2                   
            rewards:
                waves:
                    every:
                        '3': feather, bone
                        '5': grass:5, gravel:8, stone:6
                        '10': iron_ingot:10, gold_ingot:8 ,diamond
                    after:
                        '7': emrald: 1
                        '13': iron_sword, iron_pickaxe, iron_spade
                        '16': diamond_sword
                        '20': 2256, 2257, 2258, 2259, 2260, 2261, 2262, 2263, 2264
                        '20': diamond:5
                        '20': diamond: 20
                        '50': diamond: 50
                        '50': 2256, 2257, 2258, 2259, 2260, 2261, 2262, 2263, 2264
                        '100': diamond: 64
                        '100': emerald
                        '100': cake
            class-limits:
                Archer: -1
                Oddjob: -1
                Chemist: -1
                Tank: -1
                Knight: -1
    
    if somebody could help, I should be glad
     
  28. Offline

    ACStache

  29. Offline

    CurseCraft

    Hello, I am currently searching a way of adding teleportation to mobarena, i have set the price ect, and searched for hours, i also see somebody named "Curtis" was looking for this, Curtis if you read this, any chance you could help me if u got it? But in that time, would a Developer mind telling me? Thanks.
     
  30. Offline

    Maartensen

    Its making the same mistake again

    ok now it works , thx for your help

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

    bonebreaker9354

    2012-09-21 23:36:19 [WARNING] [MobArena] Invalid boss ability 'arrows' for wave 'boss1' in arena 'default'.
    2012-09-21 23:36:19 [WARNING] [MobArena] Invalid boss ability 'root-target' for wave 'boss1' in arena 'default'.
    2012-09-21 23:36:19 [WARNING] [MobArena] Invalid boss ability 'throw-nearby' for wave 'boss1' in arena 'default'.
    2012-09-21 23:36:24 [WARNING] Task of 'MobArena' generated an exception
    java.lang.IllegalArgumentException: EntityType not instance of LivingEntity
    at org.apache.commons.lang.Validate.isTrue(Validate.java:157)
    at org.bukkit.craftbukkit.CraftWorld.spawnCreature(CraftWorld.java:336)
    at com.garbagemule.MobArena.waves.MACreature.spawn(MACreature.java:91)
    at com.garbagemule.MobArena.MASpawnThread.spawnWave(MASpawnThread.java:153)
    at com.garbagemule.MobArena.MASpawnThread.run(MASpawnThread.java:115)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:543)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:467)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)







    Does the newest version of mobarena work with tekkit? because i get this error and mobs wont spawn using the previous oldest version
     

Share This Page