Permissions Group.yml file help!

Discussion in 'Bukkit Help' started by Jamyy10, Aug 20, 2011.

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

    Jamyy10

    What is wrong here?


    Code:
    groups:
        Noob:
            default: true
            info:
                build: false
                prefix: '&fNoob'
                suffix: ''
            inheritance: []
            permissions:
            - essentials.spawn
            - essentials.motd
            - essentials.help
            - essentials.home
            - essentials.sethome
            - essentials.tp
        VIP:
            default: false
            info:
                build: true
                prefix: '&eVIP'
                suffix: ''
            inheritance: 'Noob'
            permissions:
            - essentials.time
        Mod:
            default: false
            info:
                build: true
                prefix: '&5'
                suffix: Mod
            inheritance:
            - VIP
            permissions:
            - essentials.tphere
            - essentials.item
            - essentials.give
        Admin:
            default: false
            info:
                build: true
                prefix: '&bAdmin'
                suffix: ''
            inheritance:
            - Mod
            permissions:
            - groupmanager.mandemote
            - groupmanager.manpromote
            - groupmanager.
            - essentials.tp
            - essentials.tphere
            - essentials.item
            - essentials.give
            - jail.command.jailcreate
            - jail.command.jailcreatecells
            - jail.command.jaildelete
            - jail.command.jaildeletecells
            - jail.command.jail
            - jail.command.unjail
            - jail.command.jailtransfer
            - jail.command.jailtransferall
            - jail.command.jailcheck
            - jail.command.jailtelein
            - jail.command.jailteleout
            - jail.command.jaillist
            - jail.command.jaillistcells
            - jail.command.unjailforce
            - jail.command.jailclear
            - jail.command.jailclearforce
            - jail.command.jailmute
            - jail.command.jailstop
            - worldedit.superpickaxe.drawing.brush.sphere
            - worldedit.superpickaxe.drawing.brush.cylinder
            - worldedit.superpickaxe.drawing.brush.clipboard
            - worldedit.chunkinfo
            - worldedit.listchunks
            - worldedit.delchunks
            - worldedit.clipboard.clear
            - worldedit.clipboard.load
            - worldedit.clipboard.save
            - worldedit.clipboard.copy
            - worldedit.clipboard.flip
            - worldedit.clipboard.rotate
            - worldedit.clipboard.cut
            - worldedit.clipboard.paste
            - worldedit.limit
            - worldedit.generation.cylinder
            - worldedit.generation.cylinder
            - worldedit.generation.sphere
            - worldedit.generation.sphere
            - worldedit.generation.forest
            - worldedit.generation.pumpkins
            - worldedit.history.clear
            - worldedit.history.redo
            - worldedit.history.undo
            - worldedit.navigation.unstuck
            - worldedit.navigation.ascend
            - worldedit.navigation.descend
            - worldedit.navigation.thru
            - worldedit.navigation.jumpto
            - worldedit.navigation.ceiling
            - worldedit.navigation.up
            - worldedit.region.overlay
            - worldedit.region.walls
            - worldedit.region.faces
            - worldedit.region.smooth
            - worldedit.region.replace
            - worldedit.region.stack
            - worldedit.region.set
            - worldedit.region.move
            - worldedit.scripting.execute
            - worldedit.scripting.execute
            - worldedit.selection.chunk
            - worldedit.selection.pos
            - worldedit.selection.pos
            - worldedit.selection.hpos
            - worldedit.selection.hpos
            - worldedit.wand
            - worldedit.wand.toggle
            - worldedit.selection.contract
            - worldedit.analysis.distr
            - worldedit.analysis.count
            - worldedit.selection.size
            - worldedit.selection.shift
            - worldedit.selection.expand
            - worldedit.snapshots.restore
            - worldedit.snapshots.list
            - worldedit.snapshots.restore
            - worldedit.superpickaxe.pickaxe
            - worldedit.superpickaxe.pickaxe.area
            - worldedit.superpickaxe.replacer
            - worldedit.superpickaxe.data-cycler
            - worldedit.superpickaxe.drawing.brush
            - worldedit.superpickaxe.drawing.brush
            - worldedit.superpickaxe.pickaxe.recursive
            - worldedit.superpickaxe.info
            - worldedit.superpickaxe.pickaxe
            - worldedit.superpickaxe.tree
            - worldedit.fill.recursive
            - worldedit.fixlava
            - worldedit.fixwater
            - worldedit.removeabove
            - worldedit.removebelow
            - worldedit.removenear
            - worldedit.replacenear
            - worldedit.snow
            - worldedit.thaw
            - worldedit.extinguish
            - worldedit.butcher
            - worldedit.fill
            - worldedit.drain
            - worldedit.reload
        Owner:
            default: false
            info:
                build: true
                prefix: '&2Owner'
                suffix: ''
            inheritance:
            - Admin
            permissions:
            - '*'
    
    When i use the Online YAML Parser i get this output error, but i see nothing wrong.

    Code:
    Output
    ERROR:
    
    while scanning for the next token
    found character '\t' that cannot start any token
      in "<unicode string>", line 85, column 36:
                - worldedit.clipboard.paste
                                           ^
    I am using Notepad ++ and i have selected in the options replace by space.

    Everything seems fine to me but permissions wont startup since i have edited the group.yml file.

    Bump

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  2. Offline

    Banana937

    There's probably a space there. Check.

    If not, escape all your nodes. They should look like this:
    Code:
    - 'worldedit.clipboard.paste'
    Not like this:
    Code:
    - worldedit.clipboard.paste
     
  3. Offline

    Jamyy10

    There doesn't seem to be any spaces, but i will escape all the nodes now and see what happens.

    If i don't have anything in the inheritance line then do i have to use a [] ?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  4. Offline

    Supersam654

    No you don't need that. In fact, any field that is blank/empty can be deleted for that matter.

    Also, does it work now? And if it doesn't, can you please explain what doesn't work?
     
  5. Offline

    Jamyy10

    Well the online YAML Parser seems to output no errors anymore and the server loads Permissions fine, but when i login to the server and type something it wont come up with [Owner] before my name and my name is in red?

    Here is the state of my groups.yml file if anyone wants to see.

    Code:
    groups:
        Noob:
            default: true
            info:
                build: false
                prefix: '&fNoob'
                suffix: ''
            inheritance: []
            permissions:
            - 'essentials.spawn'
            - 'essentials.motd'
            - 'essentials.help'
            - 'essentials.home'
            - 'essentials.sethome'
            - 'essentials.tp'
        VIP:
            default: false
            info:
                build: true
                prefix: '&eVIP'
                suffix: ''
            inheritance: 'Noob'
            permissions:
            - 'essentials.time'
        Mod:
            default: false
            info:
                build: true
                prefix: '&5'
                suffix: Mod
            inheritance:
            - VIP
            permissions:
            - 'essentials.tphere'
            - 'essentials.item'
            - 'essentials.give'
        Admin:
            default: false
            info:
                build: true
                prefix: '&bAdmin'
                suffix: ''
            inheritance:
            - Mod
            permissions:
            - 'groupmanager.mandemote'
            - 'groupmanager.manpromote'
            - 'essentials.tp'
            - 'essentials.tphere'
            - 'essentials.item'
            - 'essentials.give'
            - 'jail.command.jailcreate'
            - 'jail.command.jailcreatecells'
            - 'jail.command.jaildelete'
            - 'jail.command.jaildeletecells'
            - 'jail.command.jail'
            - 'jail.command.unjail'
            - 'jail.command.jailtransfer'
            - 'jail.command.jailtransferall'
            - 'jail.command.jailcheck'
            - 'jail.command.jailtelein'
            - 'jail.command.jailteleout'
            - 'jail.command.jaillist'
            - 'jail.command.jaillistcells'
            - 'jail.command.unjailforce'
            - 'jail.command.jailclear'
            - 'jail.command.jailclearforce'
            - 'jail.command.jailmute'
            - 'jail.command.jailstop'
            - 'worldedit.superpickaxe.drawing.brush.sphere'
            - 'worldedit.superpickaxe.drawing.brush.cylinder'
            - 'worldedit.superpickaxe.drawing.brush.clipboard'
            - 'worldedit.chunkinfo'
            - 'worldedit.listchunks'
            - 'worldedit.delchunks'
            - 'worldedit.clipboard.clear'
            - 'worldedit.clipboard.load'
            - 'worldedit.clipboard.save'
            - 'worldedit.clipboard.copy'
            - 'worldedit.clipboard.flip'
            - 'worldedit.clipboard.rotate'
            - 'worldedit.clipboard.cut'
            - 'worldedit.clipboard.paste'
            - 'worldedit.limit'
            - 'worldedit.generation.cylinder'
            - 'worldedit.generation.cylinder'
            - 'worldedit.generation.sphere'
            - 'worldedit.generation.sphere'
            - 'worldedit.generation.forest'
            - 'worldedit.generation.pumpkins'
            - 'worldedit.history.clear'
            - 'worldedit.history.redo'
            - 'worldedit.history.undo'
            - 'worldedit.navigation.unstuck'
            - 'worldedit.navigation.ascend'
            - 'worldedit.navigation.descend'
            - 'worldedit.navigation.thru'
            - 'worldedit.navigation.jumpto'
            - 'worldedit.navigation.ceiling'
            - 'worldedit.navigation.up'
            - 'worldedit.region.overlay'
            - 'worldedit.region.walls'
            - 'worldedit.region.faces'
            - 'worldedit.region.smooth'
            - 'worldedit.region.replace'
            - 'worldedit.region.stack'
            - 'worldedit.region.set'
            - 'worldedit.region.move'
            - 'worldedit.scripting.execute'
            - 'worldedit.scripting.execute'
            - 'worldedit.selection.chunk'
            - 'worldedit.selection.pos'
            - 'worldedit.selection.pos'
            - 'worldedit.selection.hpos'
            - 'worldedit.selection.hpos'
            - 'worldedit.wand'
            - 'worldedit.wand.toggle'
            - 'worldedit.selection.contract'
            - 'worldedit.analysis.distr'
            - 'worldedit.analysis.count'
            - 'worldedit.selection.size'
            - 'worldedit.selection.shift'
            - 'worldedit.selection.expand'
            - 'worldedit.snapshots.restore'
            - 'worldedit.snapshots.list'
            - 'worldedit.snapshots.restore'
            - 'worldedit.superpickaxe.pickaxe'
            - 'worldedit.superpickaxe.pickaxe.area'
            - 'worldedit.superpickaxe.replacer'
            - 'worldedit.superpickaxe.data-cycler'
            - 'worldedit.superpickaxe.drawing.brush'
            - 'worldedit.superpickaxe.drawing.brush'
            - 'worldedit.superpickaxe.pickaxe.recursive'
            - 'worldedit.superpickaxe.info'
            - 'worldedit.superpickaxe.pickaxe'
            - 'worldedit.superpickaxe.tree'
            - 'worldedit.fill.recursive'
            - 'worldedit.fixlava'
            - 'worldedit.fixwater'
            - 'worldedit.removeabove'
            - 'worldedit.removebelow'
            - 'worldedit.removenear'
            - 'worldedit.replacenear'
            - 'worldedit.snow'
            - 'worldedit.thaw'
            - 'worldedit.extinguish'
            - 'worldedit.butcher'
            - 'worldedit.fill'
            - 'worldedit.drain'
            - 'worldedit.reload'
        Owner:
            default: false
            info:
                build: true
                prefix: '&2Owner'
                suffix: ''
            inheritance:
            - Admin
            permissions:
            - '*'
    
    Also i dont know if this matters but i am using McMyAdmin hosted by my gaming computer.
     
  6. Offline

    Supersam654

    Ok, a few things. 1) The permissions part of McMyAdmin doesn't work, it just screws things up, so don't use it.

    And 2) You need a plugin like iChat or HeroChat to make those prefixes work. Without a chat plugin, those prefixes won't do anything.
     
  7. Offline

    Jamyy10

    I edit the permissions file myself, I don't use the bit built into MyMcAdmin. And i have iChat installed. Here is the config file.

    Code:
    censor-list: []
    censor-color: '&f'
    date-format: HH:mm:ss
    message-format: '[+prefix+group&f] +suffix+name: +message&f'
    me-format: '* +name +message'
    censor-char: '*'
    censor-string-color: '&f'
    censor-colored: false
    
     
  8. Offline

    Supersam654

    Everything looks fine with that. I would post this part of your question in the iChat thread and see what they say about it (I'm not an expert on iChat)
     
  9. Offline

    Jamyy10

    Ok i will do that. Thanks for your help!

    Actually before i abandon this thread, do you know why this is happening?

    Code:
    2011-08-20 17:28:32 [INFO] [AdminCmd] Plugin Enabled. (version 5.7.11)
    2011-08-20 17:28:32 [INFO] [AdminCmd] bal_memory has all his alias already registered. Command deactivated
    2011-08-20 17:28:32 [INFO] [AdminCmd] bal_timeset has all his alias already registered. Command deactivated
    2011-08-20 17:28:32 [INFO] [AdminCmd] bal_item has all his alias already registered. Command deactivated
    2011-08-20 17:28:32 [INFO] [AdminCmd] bal_tphere has all his alias already registered. Command deactivated
    2011-08-20 17:28:32 [INFO] [AdminCmd] bal_fly has all his alias already registered. Command deactivated
    2011-08-20 17:28:32 [INFO] [AdminCmd] bal_mute has all his alias already registered. Command deactivated
    2011-08-20 17:28:32 [INFO] [AdminCmd] bal_motd has all his alias already registered. Command deactivated
    2011-08-20 17:28:32 [INFO] [AdminCmd] bal_news has all his alias already registered. Command deactivated
    2011-08-20 17:28:32 [INFO] [AdminCmd] bal_extinguish has all his alias already registered. Command deactivated
    2011-08-20 17:28:32 [INFO] [AdminCmd] bal_kit has all his alias already registered. Command deactivated
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_setspawn : setspawn,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_playerheal : heal,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_home : home,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_thor : t,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_tpto : tp,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_kick : kick,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_wstrike : strike,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_sethome : sethome,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_undo : undo,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_playermsg : msg,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_tptoggle : tptoggle,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_reloadall : reloadall,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_wstorm : storm,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_afk : afk,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_god : god,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_kickall : kickall,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_unban : unban,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_fireball : fireball,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_playerlist : playerlist, who,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_spawn : spawn,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_ban : ban,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_playerkill : kill,
    2011-08-20 17:28:32 [INFO] [AdminCmd] Disabled Alias(es) for bal_uptime : up,
    2011-08-20 17:28:32 [INFO] [AdminCmd] 2 kits loaded.
    2011-08-20 17:28:32 [INFO] [AdminCmd] Successfully linked with Yeti's Permissions.
    Bump

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  10. Offline

    Supersam654

    No idea, I recommend posting that on the AdminCmd thread, I bet the dev can answer your question.
     
  11. Offline

    Jamyy10

    Yeah i did, its a debug thing. I was told how to disable it. Thanks for your time :)
     
  12. Offline

    Supersam654

    Glad I could help :)
     
Thread Status:
Not open for further replies.

Share This Page