Help with Plugin.yml

Discussion in 'Plugin Development' started by Christophernjsp, Mar 22, 2014.

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

    Christophernjsp

    Ok I have no idea what is wrong here, I must be blind but i read my server error and it called me to the plugin.yml. Can someone tell me what is wrong here

    author: Christophernjsp(Chaka)
    database: false
    description: NO!
    generator: http://dinnerbone.com/minecraft/tools/pluginator/
    main: me.christophernjspchaka.plugins.no.Main
    name: ISaidNo
    startup: startup
    version: 0.1.3 InDev
    commands:
    nohelp:
    description: Help Command.
    usage: /<command>
    opme:
    description: Opme Command
    usage: /<command>
    canibestaff:
    description: Canibestaff
    usage: /<command>
    mycommands:
    description: your commands
    usage: /<command>
    canihascookie:
    description: You want a cookie? - It is planned to have a chest spawn in the playes inventory called cookie jar with cookies inside, This will be possible in 1.8
    usage:/<command>
    murderwithflame:
    description: Kill a player with fire.
    usage: /<command> [player]
    murder:
    description: Kill a player.
    usage: /<command> [player]
    hide:
    description: Hides you from another player.
    usage: /<command> [player]
     
  2. Offline

    agent6262

    Is this the exact way you you have it in your file
     
  3. Offline

    Christophernjsp

  4. Offline

    AmbaDev

    Can you post the error in the console?
     
  5. Offline

    Noxyro

  6. Offline

    Christophernjsp

    AmbaDev I know what the error ment it was an error in syntax. And i am looking into it Noxyro
     
  7. Offline

    MrInspector

    Yes but it'll help us check what line & column the error is coming from and what type of error it is.
     
  8. Offline

    agent6262

    Looks like the the usage field under the canihascookie command does not have a space between the path and the value.
    so change from usage:/<command> to usage: /<command>
     
  9. Offline

    Christophernjsp

    I noticed that a few days ago and fixed that.
     
Thread Status:
Not open for further replies.

Share This Page