Errors with Essentials

Discussion in 'Bukkit Help' started by Plop, Feb 19, 2011.

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

    Plop

    Hi,

    i would like some help, because the news users cant do anything, juste move. Open the doors ? lol, no, impossible. The /help doesn't exist for the news users (only for admins)

    Ubuntu V10.04 LTS-server (64BITS)
    java version "1.6.0_18"
    OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1)
    OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)



    I use that plugins :

    dynmap,
    CraftIRC,
    EssentialsWarp,
    EssentialsTele,
    EssentialsSpawn,
    EssentialsHome,
    EssentialsHelp,
    EssentialsBan,
    Essentials,
    Permissions,
    Tombstone,
    Authorize,
    FriendlyCreepers
    AutoSave

    Here is my permissions config: http://pastebin.com/CJf4Ac7t
    And my Essentials : http://pastebin.com/dN0xt7E7

    Thanks for help
     
  2. Offline

    Phaedrus

    I submitted some fixes to your permissions file. Your YAML had some errors in it.

    I suggest you use this tool to check your YAML files in the future. http://yaml-online-parser.appspot.com/
     
  3. Offline

    Plop

    Hm, i think i will be categorized like a noob, but i don't understand how it's working...
     
  4. Offline

    Phaedrus

    But it is working now?
     
  5. Offline

    Plop

    Ow. I mean, i dont understand how the link is working. When i paste the config, i have some "errors" in the right column.
    Like

    "
    ERROR:

    while scanning for the next token
    found character '\t' that cannot start any token
    in "<unicode string>", line 56, column 1:
    - '*'
    ^
    "

    So, i dont know what to do
     
  6. Offline

    Phaedrus

    character \t means that you've used a tab.

    YAML is very picky about formatting. I suggest you get notepad++ and set it to language > YAML so you get nice color highlighting, and use spaces instead of tabs (notepad++ can be configured to automatically convert your tabs into spaces as well)
    You also have to be careful to close any opened apostrophies (')
     
  7. Offline

    Plop

    So, i dont have errors now, but... Default group (visiteur) dont have the possibility to seen the motd, the rules, the help, all i put. They cant open doors too.
    Could you check my config file plz ? I check with the yaml online parse, and there are not errors.

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    groups:
        Visiteur:
            default: true
            info:
                build:false
            inheritance:
            permissions:
                - 'essentials.helpop'
                - 'essentials.help'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.getpos'
                - 'essentials.depth'
                - 'essentials.compass'
                - 'essentials.list'
        Vip:
            default: false
            info:
                prefix:+
                build:true
            inheritance:
                - Visiteur
            permissions:
                - 'lwc.protect'
                - 'SimpleWarp.warp'
                - 'SimpleWarp.listwarps'
                - 'tplus.tp.to'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.me'
                - 'essentials.mail.send'
                - 'essentials.whois'
        Moderator:
            default: false
            info:
                prefix:%
                build:true
            inheritance:
                - Visiteur
            permissions:
                - 'essentials.kill'
                - 'essentials.kit.*'
                - 'SimpleWarp.setwarp'
                - 'SimpleWarp.warpto'
                - 'spawnmob.spawnmob.*'
                - 'spawnmob.mspawn.*'
                - 'tplus.jump.qjump'
                - 'tplus.history'
                - 'lwc.mod'
                - 'essentials.nick'
        Admins:
            default: false
            info:
                prefix:@
                build:true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        Plop:
            group: Admins
            permissions:
        DL21:
            group: Admins
            permissions:
        Alex:
            group: Admins
            permissions:
        echambaraud:
            group: Admins
            permissions:
        Nath:
            group: Moderator
            permissions:
        pimpy_92:
            group: Vip
            permissions:
        Zelerenka:
            group: Vip
            permissions:
    Nath have the Admins right (he should be moderator! ), pimpy no right (he cant do /help, but he can build, and the same for Zelerenka.

    Help please !
    Thanks a lot
     
  8. Offline

    Phaedrus

    Change the name of Visiteur to default, and change the rest of the file to reflect that change.

    Some plugins don't work right unless there is a default user group actually named default.

    Everything else looks good.
     
Thread Status:
Not open for further replies.

Share This Page