[SOLVED]My plugin.yml broke...

Discussion in 'Plugin Development' started by The Zombie Blarger, Nov 14, 2011.

Thread Status:
Not open for further replies.
  1. So, my plugin.yml broke.

    Says theres a tab in line 9, column 1, where there are none.

    we've combed it through and through, but we cant find any errors

    Code:
    name: PonyWarp
    main: me.Corrie.PonyWarp.PonyWarp
    author: Corrie
    version: 0.0
    commands:
        pwhelp:
            description: lists help information about ponywarp
            permission: ponywarp.pwhelp
            usage: /pwhelp
        pwlist:
            description: view public, and your private warps
            permission: ponywarp.pwlist
            usage: /pwlist
        pw:
            description: allows you to warp to a location
            permission: ponywarp.pw
            usage: /pw [warpname]
        gw:
            description: global warps for ponywarp
            permission: ponywarp.gw
            usage: /gw [globalwarpname]
        setpw:
            description: allows you to set a private location
            permission: ponywarp.setpw
            usage: /setpw [name]
        delpw:
            description: deletes a private warp
            permission: ponywarp.delpw
            usage: /delpw [warpname]
        setpwpub:
            description: allows you to set a public location
            permission: ponywarp. admin
            usage: /setpwpub [name]
        pwplayer:
            description: view a users warps
            permission: ponywarp.admin
            usage: /pwplayer [player]
        setpwplayer:
            description: set a warp for a player
            permission: ponywarp.admin
            usage: /setpwplayer [playername] [warpname]
        delpwplayer:
            description: deletes a players warp
            permission: ponywarp.admin
            usage: /delpwplayer [playername] [warpname]
    permissions:
        ponywarp.use:
            description: enables use of ponywarp
            children:
                ponywarp.setpw: true
                ponywarp.pw: true
                ponywarp.pwlist: true
                ponywarp.delpw: true
                ponywarp.pwhelp: true
                ponywarp.gw: true
        ponywarp.admin:
            description: admin commands for ponywarp
            default: op
    
    Code:
    011-11-14 12:11:00 [SEVERE] Could not load 'plugins\PonyWarp.jar' in folder 'plugins':
    while scanning for the next token
    found character 	'\t' that cannot start any token
     in "<reader>", line 9, column 1:
        ^
    
    	at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)
    	at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    	at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
    	at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    	at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    	at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    	at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    	at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    	at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    	at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    	at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    	at org.bukkit.util.config.Configuration.load(Configuration.java:82)
    	at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:157)
    	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:175)
    	at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
    	at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:138)
    	at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:103)
    	at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  2. Offline

    arnie231

  3. Offline

    thehutch

    try this:
    Code:
    usage: /<command>
     
  4. Nope :x same error...

    Found the error. The error made it look like it was pointing at the plugin.yml file, but it wasnt actually pointing at any file in particular.

    My config file had a tab in it.

    -_-

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 21, 2016
Thread Status:
Not open for further replies.

Share This Page