Solved Problem with Plugin.yml to do with commands

Discussion in 'Plugin Help/Development/Requests' started by benthomas7777, Apr 5, 2015.

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

    benthomas7777

    Can anyone tell me how to correct this
    Code:
    name: Clash of Clans
    main: me.benthomas7777.clashofclans.Main
    version: 0.1
    description: >
                 Remake of Clash of Clans in minecraft
    commands:
        coc:
            usage: /coc [action] [paramter]
            aliases: ['/clashofclans']
            description: Admin Setup Command
        clashofclans:
            usage: /clahsofclans [action] [paramter]
            aliases: ['coc']
            description: Admin Setup Command
    
    Console log (open)

    Code:
    [20:04:49] [Server thread/INFO]: Starting minecraft server version 1.8.3
    [20:04:49] [Server thread/INFO]: Loading properties
    [20:04:49] [Server thread/INFO]: Default game type: SURVIVAL
    [20:04:49] [Server thread/INFO]: Generating keypair
    [20:04:49] [Server thread/INFO]: Starting Minecraft server on *:25565
    [20:04:49] [Server thread/INFO]: Using default channel type
    [20:04:50] [Server thread/INFO]: This server is running CraftBukkit version git-Bukkit-6e0120a (MC: 1.8.3) (Implementing API version 1.8.3-R0.1-SNAPSHOT)
    [20:04:50] [Server thread/ERROR]: Could not load 'plugins\ClashofClans.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
        at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:162) ~[bukkit.jar:git-Bukkit-6e0120a]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [bukkit.jar:git-Bukkit-6e0120a]
        at org.bukkit.craftbukkit.v1_8_R2.CraftServer.loadPlugins(CraftServer.java:288) [bukkit.jar:git-Bukkit-6e0120a]
        at org.bukkit.craftbukkit.v1_8_R2.CraftServer.<init>(CraftServer.java:250) [bukkit.jar:git-Bukkit-6e0120a]
        at net.minecraft.server.v1_8_R2.PlayerList.<init>(PlayerList.java:69) [bukkit.jar:git-Bukkit-6e0120a]
        at net.minecraft.server.v1_8_R2.DedicatedPlayerList.<init>(SourceFile:14) [bukkit.jar:git-Bukkit-6e0120a]
        at net.minecraft.server.v1_8_R2.DedicatedServer.init(DedicatedServer.java:180) [bukkit.jar:git-Bukkit-6e0120a]
        at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:501) [bukkit.jar:git-Bukkit-6e0120a]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_40]
    Caused by: org.yaml.snakeyaml.scanner.ScannerException: while scanning for the next token
    found character      '\t(TAB)' that cannot start any token. (Do not use \t(TAB) for indentation)
    in 'reader', line 7, column 1:
            coc:
        ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:420) ~[bukkit.jar:git-Bukkit-6e0120a]
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:226) ~[bukkit.jar:git-Bukkit-6e0120a]
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:586) ~[bukkit.jar:git-Bukkit-6e0120a]
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) ~[bukkit.jar:git-Bukkit-6e0120a]
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) ~[bukkit.jar:git-Bukkit-6e0120a]
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132) ~[bukkit.jar:git-Bukkit-6e0120a]
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:231) ~[bukkit.jar:git-Bukkit-6e0120a]
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) ~[bukkit.jar:git-Bukkit-6e0120a]
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) ~[bukkit.jar:git-Bukkit-6e0120a]
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) ~[bukkit.jar:git-Bukkit-6e0120a]
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) ~[bukkit.jar:git-Bukkit-6e0120a]
        at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:481) ~[bukkit.jar:git-Bukkit-6e0120a]
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:412) ~[bukkit.jar:git-Bukkit-6e0120a]
        at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:232) ~[bukkit.jar:git-Bukkit-6e0120a]
        at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:157) ~[bukkit.jar:git-Bukkit-6e0120a]
        ... 8 more
    [20:04:50] [Server thread/INFO]: Preparing level "world"
    [20:04:50] [Server thread/INFO]: Preparing start region for level 0 (Seed: 6883102785784422186)
    [20:04:51] [Server thread/INFO]: Preparing spawn area: 53%
    [20:04:51] [Server thread/INFO]: Preparing start region for level 1 (Seed: 6883102785784422186)
    [20:04:52] [Server thread/INFO]: Preparing spawn area: 53%
    [20:04:53] [Server thread/INFO]: Preparing start region for level 2 (Seed: 6883102785784422186)
    [20:04:53] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
    [20:04:53] [Server thread/INFO]: Done (3.641s)! For help, type "help" or "?"
    
     
  2. Offline

    nverdier

  3. Offline

    benthomas7777

  4. Offline

    nverdier

    @benthomas7777 Glad it's fixed! Please mark your thread as solved. See this for more info.
     
Thread Status:
Not open for further replies.

Share This Page