Solved Plugin.yml not working: could you take a look?

Discussion in 'Plugin Development' started by sp30032, Mar 26, 2014.

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

    sp30032

    I edited the uSkyblock plugin from Talabrek and I'm not sure if it's my editing or the plugin.yml (as specified in the console in startup). I didn't change much.

    This is my plugin.yml; do you find anything wrong with it? Thanks.

    Code:
    name: uSkyBlock
    main: us.talabrek.ultimateskyblock.uSkyBlock
    version: 1.0.8
    description: Ultimate SkyBlock.
    author: Talabrek (based on code by Qgel and others)
    load: STARTUP
    commands:
        sb:
            description: Commands to use your island
            aliases: [is, skyblock]
            usage:  |
                /sb (restart/sethome/info/lock/unlock/top/party)
        sbs:
            description: admin commands
            usage:  |
                /dev
        c:
            description: skyblock challenges
            usage:  | 
                /c help for more information
    permissions:   
      usb.*:
        children:
          usb.island.*:
            children:
              usb.island.create:
                description: Let the player use the /island command
              usb.island.info:
                description: Let the player check their island level
              usb.island.topten:
                description: Let the player see the top ten list
              usb.island.sethome:
                description: Let the player set their island teleport point
              usb.island.challenges:
                description: Let the player use the /challenges command
              usb.island.warp:
                description: Let the player use /island warp to warp to an open island.
              usb.island.ban:
                description: Let the player use /island ban to ban players from warping to their island.
          usb.extra.*:
            children:
              usb.extra.hunger:
                description: The player won't lose hunger on their island.
              usb.extra.partysize:
                description: The player can have double the party members on their island
              usb.extra.addwarp:
                description: The player can open his island, allowing other players to warp there.
          usb.party.*:
            children:
              usb.party.create:
                description: Let a player invite other players to join a party
              usb.party.kick:
                description: Let a player kick other players
              usb.party.makeleader:
                description: Let a player make another player leader of the party
              usb.party.join:
                description: Let a player join another player's party
          usb.mod.*:
            children:
              usb.mod.protect:
                description: Let a player add protection to another player's island
              usb.mod.protectall:
                description: Let a player try to add protection to all unprotected islands
              usb.mod.topten:
                description: Let a player manually update the top ten list
              usb.mod.orphan:
                description: Let a player check and modify the orphan list
              usb.mod.goto:
                description: Let a player teleport to another player's island
              usb.mod.party:
                description: Let a player access the moderator party commands
              usb.mod.challenges:
                description: Let a player access the moderator challenge commands to complete and reset another player's challenges.
              usb.mod.bypasscooldowns:
                description: Let a player bypass the cooldowns for the /island info and /island restart commands
              usb.mod.bypassprotection:
                description: Let a player bypass the built in island protection
          usb.admin.*:
            children:
              usb.admin.reload:
                description: Let a player reload the config.yml
              usb.admin.delete:
                description: Let a player completely remove a player's island (including blocks)
              usb.admin.remove:
                description: Let a player remove another player's ownership of an island (island blocks remain)
              usb.admin.register:
                description: Let a player register the nearest island (using the bedrock) to another player.
              usb.admin.purge:
                description: Let a player purge old islands.
     
  2. Offline

    Freelix2000

    I'm not sure, but I think the "author:" might have to be just one word, unless you make it "authors:" then make it a proper string array. First change it to 1 word to troubleshoot, and if that fixes it, then you will at least know what the problem is and you can do a bit of research for proper syntax for multiple authors.
     
  3. Offline

    jboy44

    sp30032
    What exactly does the stacktrace say? Freelix2000 could be right, however I think this is more of an indentation issue.

    I'm not exactly sure if you can do this or not, but I see you've switched from indenting 4 times, to 2 times from your "commands:" section, and your "permissions:" section. Make sure everything lines up!
     
    sp30032 likes this.
  4. Offline

    TwerkinCraft

    make the authors: string look kinda like this:
    authors: [me, myfriend, otherpeople, ...]
    and if that doesnt work, google online yaml parser and copy it into that, to see if there is a yaml issue
     
    sp30032 likes this.
  5. Offline

    sp30032

    I got why it wasn't working: I decompiled it, which obviously (to me now obviously) is not good for coding/ it would mess it up. Thanks for trying though guys.
     
Thread Status:
Not open for further replies.

Share This Page