I dont have config.yml for permissions.

Discussion in 'Bukkit Help' started by Shamadruu, Sep 4, 2011.

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

    Shamadruu

    I don thave config.yml! how do i get it???
     
  2. what permissions are you using? version?
     
  3. Offline

    Shamadruu

    The one that theyeti continued and the latest version
     
  4. Offline

    Shamadruu

  5. when you open the permissions folder in the plugins folder.
    you should see 2 folders and 3 YML files

    world (file)
    world_nether(file)
    global groups
    globalUsers
    storage config

    do you have that???
     
  6. Offline

    Shamadruu

  7. There is no seperate config file for perms 3.x. the only one is the storageconfig.
    why are you looking for a config file exactly?
     
  8. Offline

    Shamadruu

    Everything says to put the permission code there...
     
  9. you put your permissions nodes in the file world. inside there, there should be a YML called groups. thats what you are looking for.
    ex. (my default group)
    groups:
    Builder:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - falsebook.anyic
    - -falsebook.blocks.bridge
    - essentials.spawn
    - essentials.home
    - essentials.sethome
    - essentials.clearinventory
    - essentials.list
    - essentials.kit.starter
    - essentials.rules
    - essentials.me
    - essentials.msg

    if you need any help understanding how to do something like this ill be happy to explain
     
  10. Offline

    Shamadruu

    I already have all the code done and i put the code in the yml checker that people have linked to and it passed and then i put it in those ymls but it still didnt work.

    Hello?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  11. post the code here and make sure you are using spaces before all of the stuff instead of tabs
     
  12. Offline

    Shamadruu

    plugin:
    permissions:
    system: default
    copies:
    groups:
    Air:
    default: true
    info:
    build: true
    prefix: '[Dirt]'
    suffix: ''
    inheritance:
    permissions:
    Dirt:
    default: true
    info:
    build: true
    prefix: '[Dirt]'
    suffix: ''
    inheritance:
    permissions:
    - 'essentials.help'
    - 'essentials.rules'
    - 'essentials.spawn'
    - 'essentials.list'
    - 'essentials.sethome'
    - 'essentials.home'
    - 'essentials.warp'
    - 'skillz.*'
    - 'factions.f.create'
    - 'factions.f.join'
    - 'factions.f.leave'
    - 'factions.f.chat'
    - 'factions.f.home'
    - 'factions.f.list'
    - 'factions.f.help'
    - 'factions.f.desc'
    - 'factions.f.open'
    - 'factions.f.invite'
    - 'factions.f.deinvite'
    - 'factions.f.tag'
    - 'factions.f.desc'
    - 'factions.f.claim'
    - 'factions.f.autoclaim'
    - 'factions.f.unclaim'
    - 'factions.f.unclaimall'
    - 'factions.f.kick'
    - 'factions.f.mod'
    - 'factions.f.admin'
    - 'factions.f.title'
    - 'factions.f.map'
    - 'factions.f.ally'
    - 'factions.f.enemy'
    - 'factions.f.neutral'
    - 'essentials.balance'
    - 'essentials.ignore'
    - 'essentials.helpop'
    - 'essentials.msg'
    - 'essentials.pay'
    - 'factions.f'
    Sand:
    default: false
    info:
    build: true
    prefix: '[Sand]'
    suffix: ''
    inheritance:
    - Dirt
    permissions:
    Stone:
    default: false
    info:
    build: true
    prefix: '[Stone]'
    suffix: ''
    inheritance:
    - Sand
    permissions:
    Coal:
    default: false
    info:
    build: true
    prefix: '[Coal]'
    suffix: ''
    inheritance:
    - Stone
    permissions:
    Iron:
    default: false
    info:
    build: true
    prefix: '[Iron]'
    suffix: ''
    inheritance:
    - Coal
    permissions:
    - 'essentials.tp'
    - 'essentials.tphere'
    - 'WorldEdit.*'
    - 'worldGuard.*
    - 'essentials.god'
    - 'essentials.heal'
    - 'essentials.item'
    - 'essentials.jump'

    Gold:
    default: false
    info:
    build: true
    prefix: '[Gold]'
    suffix: ''
    inheritance:
    - Iron
    permissions:
    Diamond:
    default: false
    info:
    build: true
    prefix: '[Diamond]'
    suffix: ''
    inheritance:
    - Gold
    permissions:
    Helper:
    default: false
    info:
    build: true
    prefix: '[Helper]'
    suffix: ''
    inheritance:
    - Stone
    permissions:
    - 'essentials.kick'
    - 'essentials.ban'
    - 'essentials.unban'
    - 'essentials.tp'
    - 'essentials.tphere'
    - 'essentials.setwarp'
    Moderator:
    default: false
    info:
    build: true
    prefix: '[Moderator]'
    suffix: ''
    inheritance:
    - Helper
    permissions:
    - 'ac.*'
    - 'essentials.back'
    - 'essentials.item'
    - 'WorldGuard.*
    - 'WorldEdit.Selection.*'
    - 'WorldEdit.Wand"
    - 'essentials.god'
    - 'essentials.cleariventory'
    - 'essentials.kill'
    Admin:
    default: false
    info:
    build: true
    prefix: '[Admin]'
    suffix: ''
    inheritance:
    permissions:
    - '*'
    Operator:
    default: false
    info:
    build: true
    prefix: '[Operator]'
    suffix: ''
    inheritance:
    permissions:
    - '*'
    Owner:
    default: false
    info:
    build: true
    prefix: '[Owner]'
    suffix: ''
    inheritance:
    permissions:
    - '*'

    spaces dont show up when u post it...
    I am 10000000% sure that i used spaces.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  13. what about it doesnt work do you get an error? if so post it
     
  14. Offline

    Shamadruu

    No no error
    acts like it dosnt exist.

    acts like it dostn exist

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  15. Do you still get the permissions but no prefix?
    or are there no permissions?
     
  16. Offline

    Shamadruu

    Nothing

    Although i can use /help and have 4 pages...
    EDIT: I notice that the code u pasted has no ' for the permissions. SHould ir emove the ' from mine?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  17. do you have a different permissions plugin installed. like permissionsex or bukkitpermissions
     
  18. Offline

    Shamadruu

    No
    but i used to have group manager
     
  19. I THINK I FOUND IT

    you cant have multiple grooups set to default
    Air:
    default: true
    info:
    build: true
    prefix: '[Dirt]'
    suffix: ''
    inheritance:
    permissions:
    Dirt:
    default: true
    info:
    build: true
    prefix: '[Dirt]'
    suffix: ''
    inheritance:
    permissions:
     
  20. Offline

    Shamadruu

    Thats probaly the problem... Thanks

    So i put my groups: in groups and users: in users?

    Just tried it. Didnt work

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  21. whenever someone logs into the server it should automatically add them to the users file in the group with default: true. if u need to change their group just switch the group name

    are you sure you have all the plugins to support the permission nodes you are useing?? have you tried ALL of the permissions on your "dirt" class.

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

    Shamadruu

    I just got errors though that say that it shut down permissions.

    01:36:08 [SEVERE] while scanning a simple key
    in "<reader>", line 5, column 5:
    Joe_Chanwood
    ^
    could not found expected ':'
    in "<reader>", line 6, column 15:
    groups: Operator
    ^
    01:36:08 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleS
    impleKeys(ScannerImpl.java:400)
    01:36:08 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens
    (ScannerImpl.java:231)
    01:36:08 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(Sca
    nnerImpl.java:182)
    01:36:08 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappin
    gValue.produce(ParserImpl.java:592)
    01:36:08 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(Parser
    Impl.java:163)
    01:36:08 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(Parse
    rImpl.java:148)
    01:36:08 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:132)
    01:36:08 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    01:36:08 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    01:36:08 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    01:36:08 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    01:36:08 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    01:36:08 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    01:36:08 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeDocument(
    Composer.java:122)
    01:36:08 [SEVERE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Co
    mposer.java:105)
    01:36:08 [SEVERE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSin
    gleData(BaseConstructor.java:124)
    01:36:08 [SEVERE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    01:36:08 [SEVERE] at org.bukkit.util.config.Configuration.load(Configurati
    on.java:82)
    01:36:08 [SEVERE] at com.nijiko.data.YamlUserStorage.performConversion(Yam
    lUserStorage.java:35)
    01:36:08 [SEVERE] at com.nijiko.data.YamlUserStorage.<init>(YamlUserStorag
    e.java:30)
    01:36:08 [SEVERE] at com.nijiko.data.YamlCreator.getUserStorage(YamlCreato
    r.java:33)
    01:36:08 [SEVERE] at com.nijiko.data.StorageFactory.getUserStorage(Storage
    Factory.java:76)
    01:36:08 [SEVERE] at com.nijiko.permissions.ModularControl.forceLoadWorld(
    ModularControl.java:95)
    01:36:08 [SEVERE] at com.nijiko.permissions.ModularControl.loadWorld(Modul
    arControl.java:86)
    01:36:08 [SEVERE] at com.nijiko.permissions.ModularControl.load(ModularCon
    trol.java:116)
    01:36:08 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.setupPer
    missions(Permissions.java:181)
    01:36:08 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P
    ermissions.java:133)
    01:36:08 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:146)
    01:36:08 [SEVERE] at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer
    .java:110)
    01:36:08 [SEVERE] at net.minecraft.server.ServerConfigurationManager.<init
    >(ServerConfigurationManager.java:51)
    01:36:08 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:133)
    01:36:08 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:337)
    01:36:08 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    01:36:08 [SEVERE] [Permissions] Unable to load permission data.
    01:36:08 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    01:36:08 [INFO] [Permissions] (Yeti) was initialized.
    01:36:08 [INFO] [Permissions] (Yeti) disabled successfully.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  23. repost your updated groups file plz
     
  24. Offline

    Shamadruu

    groups:
    Air:
    default: false
    info:
    build: false
    prefix: '[Dirt]'
    suffix: ''
    inheritance:
    permissions:
    Dirt:
    default: true
    info:
    build: true
    prefix: '[Dirt]'
    suffix: ''
    inheritance:
    permissions:
    - 'essentials.help'
    - 'essentials.rules'
    - 'essentials.spawn'
    - 'essentials.list'
    - 'essentials.sethome'
    - 'essentials.home'
    - 'essentials.warp'
    - 'skillz.*'
    - 'factions.f.create'
    - 'factions.f.join'
    - 'factions.f.leave'
    - 'factions.f.chat'
    - 'factions.f.home'
    - 'factions.f.list'
    - 'factions.f.help'
    - 'factions.f.desc'
    - 'factions.f.open'
    - 'factions.f.invite'
    - 'factions.f.deinvite'
    - 'factions.f.tag'
    - 'factions.f.desc'
    - 'factions.f.claim'
    - 'factions.f.autoclaim'
    - 'factions.f.unclaim'
    - 'factions.f.unclaimall'
    - 'factions.f.kick'
    - 'factions.f.mod'
    - 'factions.f.admin'
    - 'factions.f.title'
    - 'factions.f.map'
    - 'factions.f.ally'
    - 'factions.f.enemy'
    - 'factions.f.neutral'
    - 'essentials.balance'
    - 'essentials.ignore'
    - 'essentials.helpop'
    - 'essentials.msg'
    - 'essentials.pay'
    - 'factions.f'
    Sand:
    default: false
    info:
    build: true
    prefix: '[Sand]'
    suffix: ''
    inheritance:
    - Dirt
    permissions:
    Stone:
    default: false
    info:
    build: true
    prefix: '[Stone]'
    suffix: ''
    inheritance:
    - Sand
    permissions:
    Coal:
    default: false
    info:
    build: true
    prefix: '[Coal]'
    suffix: ''
    inheritance:
    - Stone
    permissions:
    Iron:
    default: false
    info:
    build: true
    prefix: '[Iron]'
    suffix: ''
    inheritance:
    - Coal
    permissions:
    - 'essentials.tp'
    - 'essentials.tphere'
    - 'WorldEdit.*'
    - 'worldGuard.*
    - 'essentials.god'
    - 'essentials.heal'
    - 'essentials.item'
    - 'essentials.jump'

    Gold:
    default: false
    info:
    build: true
    prefix: '[Gold]'
    suffix: ''
    inheritance:
    - Iron
    permissions:
    Diamond:
    default: false
    info:
    build: true
    prefix: '[Diamond]'
    suffix: ''
    inheritance:
    - Gold
    permissions:
    Helper:
    default: false
    info:
    build: true
    prefix: '[Helper]'
    suffix: ''
    inheritance:
    - Stone
    permissions:
    - 'essentials.kick'
    - 'essentials.ban'
    - 'essentials.unban'
    - 'essentials.tp'
    - 'essentials.tphere'
    - 'essentials.setwarp'
    Moderator:
    default: false
    info:
    build: true
    prefix: '[Moderator]'
    suffix: ''
    inheritance:
    - Helper
    permissions:
    - 'ac.*'
    - 'essentials.back'
    - 'essentials.item'
    - 'WorldGuard.*
    - 'WorldEdit.Selection.*'
    - 'WorldEdit.Wand"
    - 'essentials.god'
    - 'essentials.cleariventory'
    - 'essentials.kill'
    Admin:
    default: false
    info:
    build: true
    prefix: '[Admin]'
    suffix: ''
    inheritance:
    permissions:
    - '*'
    Operator:
    default: false
    info:
    build: true
    prefix: '[Operator]'
    suffix: ''
    inheritance:
    permissions:
    - '*'
    Owner:
    default: false
    info:
    build: true
    prefix: '[Owner]'
    suffix: ''
    inheritance:
    permissions:
    - '*'
     
  25. i doubt this is whats causing your severe errors but 'WorldEdit.*' is not supposed to have capitals

    edit: there is a few of them in there like that
     
  26. Offline

    Shamadruu

    Probaly not whats causing the errors but ill change that

    Thanks for helping me with what you can.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  27. sorry i couldnt help more. i tried my best :(

    this guy has helped me a couple times i suggest messaging him: Supersam654

    -ninjaturtlez
     
  28. Offline

    sddddgjd

    Use superperms...
     
Thread Status:
Not open for further replies.

Share This Page