A problem with my config.yml file?

Discussion in 'Bukkit Help' started by InvaderIan, Jul 10, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    InvaderIan

    So when I try enabling Mob arena, this error pops up in the console:

    Code:
    22:36:24 [INFO] [MobArena] Enabling MobArena v0.95.2
    22:36:24 [SEVERE] [MobArena] The config-file failed to load. This is the error:
    while parsing a block mapping
    in 'string', line 9, column 9:
                settings:
                ^
    expected <block end>, but found BlockMappingStart
    in 'string', line 49, column 13:
                    single:
                    ^
     
    22:36:24 [INFO] [MobArena] Disabling MobArena v0.95.2
    22:36:24 [SEVERE] Error occurred while enabling MobArena v0.95.2 (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:126)
            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:457)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:382)
            at org.bukkit.craftbukkit.v1_6_R1.CraftServer.loadPlugin(CraftServer.java:286)
            at org.bukkit.craftbukkit.v1_6_R1.CraftServer.enablePlugins(CraftServer.java:268)
            at net.minecraft.server.v1_6_R1.MinecraftServer.l(MinecraftServer.java:319)
            at net.minecraft.server.v1_6_R1.MinecraftServer.f(MinecraftServer.java:296)
            at net.minecraft.server.v1_6_R1.MinecraftServer.a(MinecraftServer.java:256)
            at net.minecraft.server.v1_6_R1.DedicatedServer.init(DedicatedServer.java:164)
            at net.minecraft.server.v1_6_R1.MinecraftServer.run(MinecraftServer.java:397)
            at net.minecraft.server.v1_6_R1.ThreadServerApplication.run(SourceFile:582)
    It looked like it had something to do with the config file, so here it is:

    Code:
    # MobArena v0.95.2 - 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
    classes: {}
    arenas:
        default:
            settings:
                world: factionsworld
            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:
                        '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
            coords:
                p1: 68,61,-910,304.73535,-14.004483
                p2: 119,117,-860,133.13617,70.48456
                lobby: 92,108,-885,89.27307,-1.1251243
                spectator: 92,108,-885,89.27307,-1.1251243
                spawnpoints:
                    one: 92,82,-901,-0.09537194,1.3027309
                    two: 108,82,-884,89.78436,-0.6395672
                    three: 92,82,-868,180.13167,-0.9632383
                    four: 76,82,-884,270.8521,-0.1539932
    
    Thanks in advance!
     
  2. Offline

    drtshock Retired Staff

  3. Offline

    InvaderIan

    Thanks so much!
     
Thread Status:
Not open for further replies.

Share This Page