[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

    HerobrineLivesHere It's still extremely hacky and not very robust compared to just linking a class chest ;)
     
  3. Offline

    Ultimate_n00b

    Just curious, how do you check if a player is in the arena or not? I couldn't quite find it on the github.
     
  4. garbagemule
    I made a thing with Chest Commands on how my menu with default classes is going to look like! :) Chest Commands + a plugin so you can attach commands to signs = Awesome class selection menu. :D

    If you install Chest Commands, then make a new YML file in the location where all of the menues are stored, paste all this in:
    Show Spoiler

    Code:
    ######################
    #+                  +#
    #  MENU SETTINGS    #
    #+                  +#
    ######################
     
    menu-settings:
     
      # name - appears as the title - REQUIRED
      name: '&4MA Classes - Default'
     
      # rows - the number of rows of the chest - REQUIRED
      rows: 1
     
      # command - OPTIONAL (you can remove this or set it to '')
      command: 'maclassesdefault'
     
      # open-with-item - OPTIONAL (you can remove this or
      # set the item to 0)
      open-with-item:
        item-id: 396
        left-click: false
        right-click: true
     
     
    ######################
    #+                  +#
    #      ITEMS        #
    #+                  +#
    ######################
     
    tank:
      COMMAND: 'tell:&a[MobArena] &rYou have selected &3Tank&r but this feature doesn''t exist yet. :('
      NAME: '&3&lTank'
      DESCRIPTION:
        - '&5&oWill be given'
        - '&5&odiamond armor and'
        - '&5&odiamond sword with'
        - '&5&oknockback'
      ICON-ITEM: 311
      POSITION-X: 1
      POSITION-Y: 1
    knight:
      COMMAND: 'tell:&a[MobArena] &rYou have selected &7Knight&r but this feature doesn''t exist yet. :('
      NAME: '&7&lKnight'
      DESCRIPTION:
        - '&5&oWill be given'
        - '&5&oiron armor and diamond'
        - '&5&osword with sharpness III'
      ICON-ITEM: 267
      POSITION-X: 3
      POSITION-Y: 1
    chemist:
      COMMAND: 'tell:&a[MobArena] &rYou have selected &eChemist&r but this feature doesn''t exist yet. :('
      NAME: '&e&lChemist'
      DESCRIPTION:
        - '&5&oWill be given'
        - '&5&ogold armor and stone'
        - '&5&osword and alot'
        - '&5&oof potions!'
      ICON-ITEM: 373
      POSITION-X: 5
      POSITION-Y: 1
    medic:
      COMMAND: 'tell:&a[MobArena] &rYou have selected &cMedic&r but this feature doesn''t exist yet. :('
      NAME: '&c&lMedic'
      DESCRIPTION:
        - '&5&oWill be given a'
        - '&5&ostone sword and'
        - '&5&ohealth potions'
      ICON-ITEM: 351
      DATA-VALUE: 1
      POSITION-X: 7
      POSITION-Y: 1
    bowman:
      COMMAND: 'tell:&a[MobArena] &rYou have selected &2Bowman&r but this feature doesn''t exist yet. :('
      NAME: '&2&lBowman'
      DESCRIPTION:
        - '&5&oWill be given a'
        - '&5&obow with sword and'
        - '&5&ohealth potions'
      ICON-ITEM: 261
      POSITION-X: 9
      POSITION-Y: 1
     
    

    Then reload the plugin with /chc reload and right click with a golden carrot and you can see an example. :)

    For some messages, click on the items in the menu. :)

    EDIT: I constantly updated it so that is why there is so many edits.
     
  5. Offline

    garbagemule

    Ultimate_n00b arena.getRegion().contains(player.getLocation())
     
    Ultimate_n00b likes this.
  6. Offline

    Ultimate_n00b

    Awesome
     
  7. Offline

    ACStache

    If you mean in general, the ArenaMaster has a method getArenaWithPlayer(Player P) or (String Playername). If it returns an Arena, they're in an Arena, otherwise they're not.

    If you mean within the bounds of the Arena's Region, get the Player's Location, and use the Arena's ArenaRegion method contains(Location l).

    Edit: I didn't even realize there was another page and that it was already answered :p
     
  8. Offline

    Ultimate_n00b

    :p

    I was going to say for my own plugin, as I remembered seeing that MA had a method for it back when I went through all the code.

    Turns out that my method to check if it's between two equations wasn't wrong, it was the method that gets the min/max locations.
     
  9. Offline

    krwminer

    I have a problem. I am trying to use MobArena with MCPC+ b92. After I create an Arena and type "/ma j" I get an error: java.lang.NoSuchMethodError: org.bukkit.entity.Player.getHealth()
    I submitted a bug report to MCPC+ and got the following reply:
    Caused by a missing overloaded method; CB overloads 'float getHealth()' with 'int getHealth()' for <=1.5 Bukkit API plugin compatibility.
    Is there a fix for this? A build against CB 1.6.2?
    Any help would be appreciated.
     
  10. Offline

    Randomguy

    Help with mobarena when i join mob arena before mobs even spawn it says i cheated and kicks me help!
     
  11. Offline

    garbagemule

    Randomguy Ever heard of punctuation? :eek: Your region is not defined correctly, or the world-node in your config-file is set to the wrong world.
     
  12. I got a new idea for Mob Arena! :D
    Why not add a default class. If you make a chest in the arena region with a sign above it saying Default, the players will get it if they don't select a class. Also if you don't have class chests you can make a class in the config called Default. :)
     
  13. Offline

    LosT

    Dear garbagemule
    I really would love to use your plugin with MCPC and bukkit 1.62 but sadly I get an error when starting the arena with /ma join:

    Code:
    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ma' in plugin MobArena v0.95.5
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
        at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:543)
        at net.minecraft.network.NetServerHandler.func_72566_d(NetServerHandler.java:1351)
        at net.minecraft.network.NetServerHandler.chat(NetServerHandler.java:1217)
        at net.minecraft.network.NetServerHandler.func_72481_a(NetServerHandler.java:1160)
        at net.minecraft.network.packet.Packet3Chat.func_73279_a(Packet3Chat.java:68)
        at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:468)
        at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:231)
        at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54)
        at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34)
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:888)
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:327)
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:757)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:641)
        at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
    Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player.getHealth()I
        at com.garbagemule.MobArena.PlayerData.update(PlayerData.java:37)
        at com.garbagemule.MobArena.PlayerData.<init>(PlayerData.java:27)
        at com.garbagemule.MobArena.ArenaImpl.storePlayerData(ArenaImpl.java:811)
        at com.garbagemule.MobArena.ArenaImpl.playerJoin(ArenaImpl.java:555)
        at com.garbagemule.MobArena.commands.user.JoinCommand.execute(JoinCommand.java:50)
        at com.garbagemule.MobArena.commands.CommandHandler.onCommand(CommandHandler.java:88)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
        ... 15 more
    Is there anything that can be done about this or will I just have to wait?
    It seems to be related to the error 4 posts above me.
     
  14. Offline

    garbagemule

    LosT Unless you're willing to be a dev build guinea pig (hop on IRC and PM me), or you know how to compile the source code, there's nothing you can do but wait. The good news is that an update is right around the corner.
     
  15. Offline

    Kyoji

    can't wait for the plugin update. keep up the good work.
     
    garbagemule likes this.
  16. Offline

    wiedzmin137

    Hello. I want ask about Heroes support. On MobArena's forum AgnateHeartstone say "Heroes by the HeroCraft team - Using MobArena's per-class permissions, you can allow all players to use all weapons, armor and even class-specific skills in MobArena." I think it's very outdate. Can you tell me what is now supporting? I don't request any changes (I'll add it myself) but I want to know it. Thanks.
     
  17. Offline

    garbagemule

    wiedzmin137 It's very outdated, yes. Don't expect any special interaction between Heroes and MobArena. If you are using Heroes with a custom build of MobArena, could you try simply removing the Heroes health strategy (just change this line to always use the standard strategy), and seeing if it causes any problems? Either way, would you please report back here with your findings? :)
     
  18. Offline

    wiedzmin137

    Health doesn't cause any problems - with and without this. Problem is class item restriction working in MobArena and experiation giving in it. First problem I would like repair by making better compatibility with BattleArena (autor of this has wonderful ideas for supporting Heroes) and second problem I'll repair by creating plugin. Maybe you can repair first problem. Thanks for reply.
     
  19. Offline

    garbagemule

    wiedzmin137
    Thanks for the health update - fewer dependencies is always great :)

    MobArena and BattleArena are completely separate minigames. What makes them incompatible? As long as a player is in one, they shouldn't be affected by the other.

    As for the item issues regarding Heroes, it's a problem on the Heroes end, which is something I've talked with them about in the past. Their argument (which is completely fair and rational) is that Heroes is not just a "regional" or "permission-based" experience, but a full revamp of what a Minecraft server is and offers. As such, the previous assumed customization capabilities require hacking into Heroes and messing around with something that could potentially have a bunch of unforeseen consequences - something I'm not willing to spend my time on.

    Note that the HeroCraft server has used MobArena in the past, and their solution was very simple - provide a class in MobArena for each Heroes class, and have the players pick their MobArena class based on their Heroes class. This is a very inflexible setup, but it works, and without any modifications to either plugin.

    If you really want a flexible setup, I think the best option is a BungeeCord setup where a server is dedicated to MobArena (and other minigames), and is completely decoupled from the main server(s) with Heroes installed. Custom plugins can be written to creating a coupling between the servers, such that rewards and experience earned in the minigames server is transferred to the main server.
     
  20. Offline

    wiedzmin137

    Hmm... Maybe I'll use BattleArena method - upgrade old Herocraft method. It save experiation, set new class (I think it doesn't add XP but if yes, then not save this), on end - give old XP & class. e.I think it's good and comfortable If you don't mess up with it, OK, I'll add first for myself and if it done with succes - one more pull request to you. Thanks for spent some time to explain me situation.
     
    garbagemule likes this.
  21. New idea! Boss health bar! When the boss appears, a health bar at the top showing the name of the boss, (if it doesn't have a name, mob name) and the amount of health! Like the wither! :D
     
    iPedro2 and wiedzmin137 like this.
  22. Offline

    wiedzmin137

    Hello. Can you update that page?
     
  23. Offline

    Demente

    Hello garbagemule sorry for ask you. I love your plugin but have a problem. I see in the web for hours but i cant fix te problem. I delete all plugins but the problem continue. I do changes in the config 20 times but i cant fix. I say you what happened. This is my ultimate code:

    Code:
    # MobArena v0.95.5 - Config-file
    # Read the Wiki for details on how to set up this file: http://goo.gl/F5TTc
    # Note: You -must- use spaces instead of tabs!
    global-settings:
        enabled: true
        allowed-commands: /list, /pl
        update-notification: true
    classes:
        Knight:
            items: diamond_sword, potion:8197:3
            armor: 306,307,308,309
        Tank:
            items: iron_sword, potion:8229:2
            armor: 310,311,312,313
        Archer:
            items: wood_sword, bow, arrow:256, potion:8197:3, bone
            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, netherrack:2, tnt:4, potion:8197:3
            armor: 298,299,300,301
    arenas:
        default:
            settings:
                world: Madrid
                enabled: true
                protect: true
                entry-fee: ''
                clear-wave-before-next: false
                clear-boss-before-next: false
                clear-wave-before-boss: false
                lightning: true
                auto-equip-armor: true
                soft-restore: false
                soft-restore-drops: false
                require-empty-inv-join: false
                require-empty-inv-spec: false
                hellhounds: false
                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: 0
                max-join-distance: 0
                first-wave-delay: 5
                wave-interval: 15
                final-wave: 0
                monster-limit: 100
                monster-exp: false
                keep-exp: true
                food-regen: false
                lock-food-level: true
                spout-class-select: false
                player-time-in-arena: world
                auto-ignite-tnt: false
                auto-start-timer: 0
                auto-ready: false
                use-class-chests: false
                display-waves-as-level: false
                display-timer-as-level: false
                use-scoreboards: true
            waves:
                single:
                    def1:
                        type: default
                        wave: 1
                        monsters: squids:1
                    def2:
                        type: default
                        wave: 2
                        monsters: chickens:1
                    def3:
                        type: default
                        wave: 3
                        monsters: sheep:1
                    def4:
                        type: default
                        wave: 4
                        monsters: cows:1
                    def5:
                        type: default
                        wave: 5
                        monsters: villagers:1
                    def6:
                        type: default
                        wave: 6
                        monsters: villagers:5
                    def7:
                        type: default
                        wave: 7
                        monsters: villagers:10
                    def8:
                        type: default
                        wave: 8
                        monsters: ocelots:5
                    def9:
                        type: default
                        wave: 9
                        monsters: wolves:1
                    def10:
                        type: default
                        wave: 10
                        monsters: wolves:4
                    def11:
                        type: default
                        wave: 11
                        monsters: wolves:6
                    def12:
                        type: default
                        wave: 12
                        monsters: wolves:10
                    def13:
                        type: default
                        wave: 13
                        monsters: wolves:10 zombies:2
                    def14:
                        type: default
                        wave: 14
                        monsters: wolves:12 zombies:8
                    def15:
                        type: default
                        wave: 15
                        monsters: wolves:8 zombies:8 skeletons:2
                    def16:
                        type: default
                        wave: 16
                        monsters: wolves:6 zombies:6 skeletons:6
                    def17:
                        type: default
                        wave: 17
                        monsters: zombies:10 skeletons:10 creepers:2
                    def18:
                        type: default
                        wave: 18
                        monsters: wolves:12 zombies:4
                    def19:
                        type: default
                        wave: 19
                        monsters: zombies:8 skeletons:8 creepers:8
                    def20:
                        type: default
                        wave: 21
                        monsters: spiders:4 zombies:4 skeletons:8 creepers:8
                    def21:
                        type: default
                        wave: 22
                        monsters: spiders:12 zombies:4 skeletons:4 creepers:4
                    def22:
                        type: default
                        wave: 23
                        monsters: spiders:12 zombies:10 skeletons:4 creepers:4
                    def23:
                        type: default
                        wave: 24
                        monsters: spiders:12 zombies:8 skeletons:8 creepers:8
                    def24:
                        type: default
                        wave: 25
                        monsters: spiders:12 zombies:12 skeletons:12 creepers:12
                    def25:
                        type: default
                        wave: 26
                        monsters: zombie_pigmen:4 spiders:12 zombies:12 skeletons:12 creepers:12
                    def26:
                        type: default
                        wave: 27
                        monsters: zombie_pigmen:12 spiders:12 zombies:12 skeletons:12 creepers:12
                    def27:
                        type: default
                        wave: 28
                        monsters: spiders:30
                    upgrades:
                        wave: 29
                        Arquero: 308
                        Guerrero: 272
                        Asesino: 312
                        give-all-items: false
                    def28:
                        type: default
                        wave: 31
                        monsters: zombie_pigmen:15 spiders:15 zombies:15 skeletons:15 creepers:15
                    def29:
                        type: default
                        wave: 32
                        monsters: zombie_pigmen:15 spiders:15 zombies:30 skeletons:15 creepers:15
                    def30:
                        type: default
                        wave: 33
                        monsters: blazes:20
                    def31:
                        type: default
                        wave: 34
                        monsters: zombie_pigmen:10 zombies:40 skeletons:10 creepers:10
                    def32:
                        type: default
                        wave: 35
                        monsters: zombies:50 skeletons:10 creepers:5
                    def33:
                        type: default
                        wave: 36
                        monsters: zombies:50 skeletons:20
                    def34:
                        type: default
                        wave: 37
                        monsters: zombies:60 skeletons:15
                    def35:
                        type: default
                        wave: 38
                        monsters: zombies:60 skeletons:10 creepers:10
                    def36:
                        type: default
                        wave: 39
                        monsters: zombies:70
                    def37:
                        type: default
                        wave: 40
                        monsters: gianta:30
                    def38:
                        type: default
                        wave: 41
                        monsters: silverfish:10
                    def39:
                        type: default
                        wave: 42
                        monsters: silverfish:15
                    def40:
                        type: default
                        wave: 43
                        monsters: silverfish:20
                    def41:
                        type: default
                        wave: 44
                        monsters: silverfish:30
                    def42:
                        type: default
                        wave: 45
                        monsters: silverfish:40
                    def43:
                        type: default
                        wave: 46
                        monsters: zombies:80
                    def44:
                        type: default
                        wave: 48
                        monsters: zombies:100
                    def45:
                        type: default
                        wave: 49
                        monsters: zombies:120
                    def46:
                        type: default
                        wave: 50
                        monsters: baby_zombies:50
                    def47:
                        type: default
                        wave: 52
                        monsters: zombies:100 skeletons:10
                    def48:
                        type: default
                        wave: 53
                        monsters: zombies:70 skeletons:20
                    def49:
                        type: default
                        wave: 54
                        monsters: zombies:80 skeletons:30
                    def50:
                        type: default
                        wave: 55
                        monsters: zombies:60 skeletons:20 creepers:20
                    def51:
                        type: default
                        wave: 56
                        monsters: zombies:100 skeletons:30 creepers:10
                    def52:
                        type: default
                        wave: 57
                        monsters: zombie_pigmen:20 zombies:80 skeletons:20 creepers:10
                    def53:
                        type: default
                        wave: 58
                        monsters: zombie_pigmen:40 zombies:60 skeletons:20 creepers:10
                    def54:
                        type: default
                        wave: 59
                        monsters: zombie_pigmen:50 zombies:50 skeletons:20 creepers:10
                    def55:
                        type: default
                        wave: 60
                        monsters: blazes:50
                    boss1:
                        type: boss
                        wave: 20
                        monster: wolf
                        health: high
                        abilities: throw-nearby
                    boss2:
                        type: boss
                        wave: 51
                        monster: spider
                        health: high
                        abilities: throw-nearby
            rewards:
                waves:
                    every:
                        '3': feather, bone, stick
                        '5': dirt:4, gravel:4, stone:4
                        '10': iron_ingot:10, gold_ingot:8
                    after:
                        '7': minecart, storage_minecart, powered_minecart
                        '13': iron_sword, iron_pickaxe, iron_spade
                        '16': diamond_sword
            class-limits:
                Archer: -1
                Oddjob: -1
                Chemist: -1
                Tank: -1
                Knight: -1
            coords:
                p1: -287,82,284,-174.00555,39.74984
                p2: -233,102,324,-174.00555,39.74984
                arena: -263,92,299,-170.555,29.549843
                lobby: -265,101,331,-170.555,29.549843
                spectator: -261,101,331,-170.555,29.549843
                spawnpoints:
                    s1: -265,92,303,-181.3551,62.99984
                    s2: -265,92,291,-181.3551,62.99984
                    s3: -254,92,291,-181.3551,62.99984
                    s4: -254,92,302,-181.3551,62.99984
    The problem is the console. Always say me:

    [MobArena] Missing 'monsters' node for wave 'def1' in arena 'default'
    and say me:
    [WARNING][MobArena] Wave 'def1' for arena 'default' could not be parsed.

    I dont know how can fix them.
    I changes the names.
    I changes the waves.
    I change config.
    I change boss.
    But i dont know why the waves dont works.
    You are the one with the intelligence to tell me what happens.
     
  24. Offline

    garbagemule

  25. Offline

    Demente

    First and Most principal Happy Christmas mobarena staff!!

    Okey i read the wiki 100 million times xD and when i play the game, the first wave have 1 enemy, the second wave 2 enemys, 3 3 enemys, 4 4enemys, 50 50 enemys.....
    I dont know how configurate to select the amount monsters.
    I change the node ammount but continue whith the 1 1 , 2 2, 3 3, 4 4.........
    Please say me how can i fix them.

    Code:
    # MobArena v0.95.5 - Config-file
    # Read the Wiki for details on how to set up this file: http://goo.gl/F5TTc
    # Note: You -must- use spaces instead of tabs!
    global-settings:
        enabled: true
        allowed-commands: /list, /pl
        update-notification: true
    classes:
        Asesino:
            items: diamond_sword, potion:8197:3
            armor: 306,307,308,309
        Guerrero:
            items: 268, potion:8229:2
            armor: 310,311,312,313
        Arquero:
            items: wood_sword, bow, arrow:256, potion:8197:3, arrow:256, arrow:256, arrow:256, arrow:256
            armor: 298,299,300,301
    arenas:
        default:
            settings:
                world: Madrid
                enabled: true
                protect: true
                entry-fee: ''
                clear-wave-before-next: true
                clear-boss-before-next: true
                clear-wave-before-boss: 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: false
                pvp-enabled: false
                monster-infight: false
                allow-teleporting: false
                spectate-on-death: true
                auto-respawn: true
                share-items-in-arena: true
                min-players: 1
                max-players: 10
                max-join-distance: 0
                first-wave-delay: 5
                wave-interval: 15
                final-wave: 120
                monster-limit: 1000
                monster-exp: false
                keep-exp: true
                food-regen: true
                lock-food-level: true
                spout-class-select: false
                player-time-in-arena: world
                auto-ignite-tnt: false
                auto-start-timer: 0
                auto-ready: false
                use-class-chests: false
                display-waves-as-level: false
                display-timer-as-level: false
                use-scoreboards: true
            waves:
                recurrent:
                    def1:
                        type: default
                        priority: 1
                        frequency: 120
                        wave: 1
                        monsters:
                            squids: 1
                    def2:
                        type: default
                        priority: 1
                        frequency: 120
                        wave: 2
                        monsters:
                            chickens: 1
                    def3:
                        type: default
                        priority: 1
                        frequency: 120
                        wave: 3
                        monsters:
                            sheep: 1
                    def4:
                        type: default
                        priority: 1
                        frequency: 120
                        wave: 4
                        monsters:
                            cows: 1
                    def5:
                        type: default
                        priority: 1
                        frequency: 120
                        wave: 5
                        monsters:
                            villagers: 1
                single:
                    boss1:
                        type: boss
                        wave: 6
                        monster: spider
                        health: high
                        abilities: throw-distant
            rewards:
                waves:
                    every:
                        '3': feather, bone, stick
                        '5': dirt:4, gravel:4, stone:4
                        '10': iron_ingot:10, gold_ingot:8
                    after:
                        '7': minecart, storage_minecart, powered_minecart
                        '13': iron_sword, iron_pickaxe, iron_spade
                        '16': diamond_sword
            class-limits:
                Arquero: -1
                Guerrero: -1
                Asesino: -1
            coords:
                p1: -287,82,284,182.09442,82.64951
                p2: -233,102,324,182.09442,82.64951
                arena: -257,92,294,40.044403,28.949518
                spectator: -261,101,330,191.54434,8.099509
                lobby: -265,101,331,191.54434,8.099509
                spawnpoints:
                    s1: -265,92,303,191.54434,8.099509
                    s2: -265,92,291,191.54434,8.099509
                    s3: -254,92,291,191.54434,8.099509
                    s4: -255,92,303,191.54434,8.099509
    
    http://pastebin.com/9avNqQsY
     
  26. Offline

    Demente


    I found the problem.
    To select the ammount of mobs you need add the node fixed: true
    Sorry, i know. In the wiki are all, but i fail because mi english is bad.
    Example fixed:

    Code:
    def5:
    type: default
    priority: 1
    frequency: 120
    wave: 5
    fixed: true (with this, the ammount of monster) is this =====::
    monsters:                                                                                       ::
    villagers: 1   <================================::
     
  27. Offline

    lekiwinator

    Hi garbagemule, I have a question on this plugin.
    I downloaded this plugin, watched several tutorials to set it up, and it worked fine. But I did '/ma save' and '/ma reload', because I edited a class in the config, and then I tried to play it again, but it took me straight to a world hole after I type '/ma join'. I re-set the lobby warp several times and it did the same. So I stopped the server, deleted the files and started it again. I re-setup everything, without touching the config, and when I got to the lobby and chose a class, it said that I've chosen the class, but no items appeared in my inventory. So I looked for the problem online and tried your solution to it, which was to restart the server. I did that, joined the lobby, and it took me to another world hole. My console also tells me it can't load the whole config file. I checked the config and it didn't have anything except a few messages. I re-entered all the config files I found online but Safecreeper plugin still refuses to acklowladge the plugin.
    Any ideas?
    Here is my config file:
    Code:
    global-settings:
        update-notification: true
        enabled: true
        allowed-commands: /list,/pl,/manotready
    classes:
        Tank:
            items: iron_sword,grilled_pork:3,apple
            armor: 310,311,312,313
        Oddjob:
            items: stone_sword,flint_and_steel,bow,arrow:32,pork:3
            armor: 86,299,316,309
        Knight:
            items: diamond_sword,grilled_pork:2
            armor: 306,307,308,309
        Chef:
            items: stone_sword,bread:6,grilled_pork:4,mushroom_soup,cake:5
            armor: 314,315,316,317
        Archer:
            items: stone_sword,bow,arrow:256,grilled_pork,bone
            armor: 302,303,304,305
    arenas:
        default:
            settings:
                world: Spawn
            waves: ''
            rewards:
                waves:
                    every:
                        '3': feather, bone, stick
                        '5': dirt:4, gravel:4, stone:4
                        '10': iron_ingot:10, gold_ingot:8
                    after:
                        '7': minecart, storage_minecart, powered_minecart
                        '13': iron_sword, iron_pickaxe, iron_spade
                        '16': diamond_sword
            class-limits:
                Archer: -1
                Oddjob: -1
                Chef: -1
                Tank: -1
                Knight: -1
        MA1:
            settings:
                world: TownHall
                wave-interval: 20
                spout-class-select: true
                spectate-on-death: true
                special-modulo: 4
                soft-restore-drops: false
                soft-restore: false
                share-items-in-arena: true
                require-empty-inv-spec: false
                require-empty-inv-join: false
                repair-delay: 5
                pvp-enabled: false
                protect: true
                monster-infight: false
                min-players: 0
                max-players: 0
                max-join-distance: 0
                max-idle-time: 0
                logging: true
                lightning: true
                hellhounds: true
                force-restore: false
                first-wave-delay: 5
                final-wave: 0
                entry-fee: ''
                enabled: true
                detonate-damage: false
                detonate-creepers: false
                clear-wave-before-next: true
                auto-equip-armor: true
                allow-teleporting: false
            waves:
                recurrent:
                    def1:
                        type: default
                        priority: 1
                        frequency: 1
                        monsters:
                            zombies: 10
                            skeletons: 4
                            exploding_sheep: 5
                    def2:
                        type: default
                        priority: 2
                        frequency: 1
                        wave: 5
                        monsters:
                            zombies: 10
                            skeletons: 6
                            creepers: 4
                    spec1:
                        type: special
                        priority: 5
                        frequency: 4
                        wave: 4
                        monsters:
                            powered_creepers: 10
                            angry_wolves: 10
                            zombie_pigmen: 10
                    upgrade1:
                        type: upgrade
                        priority: 7
                        frequency: 10
                        wave: 10
                        upgrades:
                            all: potion:8197:2
                            Archer: arrow:64
                            Oddjob: tnt:2, netherrack
                        give-all-items: true
                single:
                    swarm1:
                        type: swarm
                        wave: 7
                        monster: slimes
                        amount: medium
                    boss1:
                        type: boss
                        wave: 9
                        monster: spider
                        health: medium
                        abilities: fire-aura, disorient-target, fireballs, throw-nearby
                        ability-interval: 5
                    boss2:
                        type: boss
                        wave: 13
                        monster: zombie_pigman
                        health: high
                        abilities: root-target, arrows, fetch-distant, fire-aura
                    upgrade2:
                        type: upgrade
                        wave: 14
                        upgrades:
                            all: potion:8197:2
                            Knight:
                                armor: diamond_helmet
                                items: diamond_sword 16:2;19:1
                            Tank:
                                items: iron_sword 19:3
                            Oddjob:
                                armor: iron_chestplate, iron_leggings
                            Wizard:
                                permissions:
                                - magicspells.cast.ChainLightning
                        give-all-items: true
                    boss3:
                        type: boss
                        wave: 16
                        monster: wolf
                        health: psycho
                        abilities: warp-to-player, fire-aura, throw-nearby, fireballs, fetch-target, arrows
                        ability-interval: 1
                        reward: diamond_chestplate
                    supply1:
                        type: supply
                        wave: 19
                        monsters:
                            cows: 10
                            pigs: 5
                        drops: grilled_pork, cooked_chicken, cooked_beef, cooked_fish:2
            rewards:
                waves:
                    every:
                        '5': glass:2,glowstone:2,stone:4
                        '10': iron_ingot:5,gold_ingot:5
                        '1': coal,wood,torch
                    after:
                        '7': cake:3,bread:5,grilled_pork:5
                        '5': 298,299,300,301
                        '40': diamond_leggings,diamond_boots,iron_ingot:15,gold_ingot:15,diamond:5
                        '35': diamond_helmet,diamond_chestplate,iron_ingot:15,gold_ingot:15,diamond:5
                        '20': diamond_pickaxe,diamond_spade,diamond_axe,diamond_hoe
                        '13': iron_sword,iron_pickaxe,iron_spade
            coords:
                p1: -103,27,595,-102.75021,46.199986
                p2: -69,36,617,-176.10039,85.350044
                arena: -85,28,606,-85.800385,28.50005
                lobby: -64,28,606,-260.40042,3.0000446
                spectator: -108,42,606,-88.20044,39.45004
                spawnpoints:
                    s1: -95,28,602,-90.00049,79.64998
                    s2: -95,28,609,-355.20065,90.0
                    s3: -76,28,610,-90.30069,89.85
                    s4: -76,28,602,-189.60083,85.799995
            class-limits:
                Archer: -1
                Oddjob: -1
                Chef: -1
                Tank: -1
                Knight: -1
    
    Any help would be much appreciated, I'm needing to resolve this problem ASAP.
     
  28. Offline

    Weasel_Squeezer

    I cannot get this plugin to work at all. I join an arena and nothing happens, I cannot leave the arena cause it says I I am not in one while I am in the lobby... I cannot throw anything cause it says I am not allowed to share. I force ended the multiple games that got stacked up through them not working, and I got this error:
    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'ma' in plugin MobArena v0.95.5
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-1202]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:196) ~[spigot.jar:git-Spigot-1202]
        at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:546) ~[spigot.jar:git-Spigot-1202]
        at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:937) [spigot.jar:git-Spigot-1202]
        at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:812) [spigot.jar:git-Spigot-1202]
        at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot.jar:git-Spigot-1202]
        at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot.jar:git-Spigot-1202]
        at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:147) [spigot.jar:git-Spigot-1202]
        at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [spigot.jar:git-Spigot-1202]
        at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:657) [spigot.jar:git-Spigot-1202]
        at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:259) [spigot.jar:git-Spigot-1202]
        at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:540) [spigot.jar:git-Spigot-1202]
        at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:446) [spigot.jar:git-Spigot-1202]
        at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [spigot.jar:git-Spigot-1202]
    Caused by: java.lang.AbstractMethodError: org.zonedabone.commandsigns.proxy.PlayerProxy.setScoreboard(Lorg/bukkit/scoreboard/Scoreboard;)V
        at com.garbagemule.MobArena.ScoreboardManager.removePlayer(ScoreboardManager.java:48) ~[?:?]
        at com.garbagemule.MobArena.ArenaImpl.clearPlayer(ArenaImpl.java:938) ~[?:?]
        at com.garbagemule.MobArena.ArenaImpl.discardPlayer(ArenaImpl.java:914) ~[?:?]
        at com.garbagemule.MobArena.ArenaImpl.playerLeave(ArenaImpl.java:627) ~[?:?]
        at com.garbagemule.MobArena.ArenaImpl.forceEnd(ArenaImpl.java:538) ~[?:?]
        at com.garbagemule.MobArena.commands.admin.ForceCommand.execute(ForceCommand.java:29) ~[?:?]
        at com.garbagemule.MobArena.commands.CommandHandler.onCommand(CommandHandler.java:88) ~[?:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-1202]
        ... 13 more
     
  29. Offline

    garbagemule

    Demente Glad you found the error :)

    lekiwinator Remove the "default" node in your config-file - it's mangled and could be causing issues. Make sure the world-node for arena "MA1" is set up correctly, and try a server restart or /ma config reload.

    Weasel_Squeezer Not much I can do to help you, sorry. That error is thrown from CommandSigns, and it looks like there might be some version issues. Make sure to test things on a local, clean setup and verify that the plugin works as expected.
     
  30. Offline

    Weasel_Squeezer

    WOW I Should have known better... I usually always check the stack traces, but I guess I was just so agrivated, that I didnt bother and assumed it was MobArenas fault... I feel stupid now lol.
     
  31. Offline

    garbagemule

    Holy shiiiiiiiii...

    MobArena v0.96.2 is out!

    Note 1: v0.96.1 fixes a dire entry-fee issue, so make sure to re-download if you grabbed v0.96!
    Note 2: Apparently there's a new Bukkit API for version checking (that I missed), which must be used for plugins to be accepted on dev.bukkit.org. v0.96.2 is a pro forma update that simply changes the behavior of the version checker to use this new API. There are no other functional changes.

    Get your copy RIGHT HERE.

    This update is possibly the biggest update in MobArena history, and it contains a heck of a lot of different changes, including semi-breaking changes that will require you to do a bit of updating of your config-file and announcements-file, if you want a smooth transition. Make absolutely sure to read the changelog, because if you don't, you'll probably end up with some issues.

    Among the many, many freaking fantastic features of this release, some of the most popular:
    • Revamped the setup process - you'll now be setting up arenas in less than a minute using the interactive Setup Mode, where you just run around and click everywhere to set points and define regions. People familiar with WorldEdit will probably find this extremely useful (and about time).
    • Mounts! Yes! Give your Knight-classes a horse by adding a hay bale to their items. Remember to use the mount customizer tool (link in the changelog) to make the type of horse you want.
    • Unbreakable armor and weapons! That's right! Armor and weapons are unbreakable by default, but if you don't want them to be, you can toggle the feature off.
    • Global start/end announcements to let everyone on the server know when an arena is about to start (first player joined) or when it has just ended.
    • Item glitching should now be virtually impossible, and a bunch of other bug fixes should make this one of the smoothest working releases so far.
    Go check it out!
     

Share This Page