Permissions help?

Discussion in 'Bukkit Help' started by Dev909, Aug 11, 2011.

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

    Dev909

    it seems like Permissions will not add me to Admins, and that no new players get added to the users.yml, like i got to do it manually. Do anyone know why players that join dont get added automatically to users.yml, and why i cant stay as admin? i miss the old Perms...
     
  2. Offline

    Supersam654

    What version of Permissions are you using? Besides, there is no point to add every single user to the users.yml file. It would become HUGE in no time. The idea behind Permissions is that everyone who isn't in a group gets put in the default group (basically, all of your regular users). Then you should only specify specific users that shouldn't be in the default group. If you want help with "why i cant stay as admin", then post your groups.yml and users.yml files.
     
  3. Offline

    Dev909

    Ok alot fo things are crazy here now. Earlier no Perm commands were working, now they are, but now i cant build even though im set as admin but i have a feeling im actually in default, and why do everything in the .yml files alwasy go side to side now, instead of straight down? it was easier going striaght down.

    Code:
    users:
        Dev:
            groups:
            - Admins
            permissions:
            - '*'
        test:
            permissions:
            groups:
            - Default
    
    Code:
    groups:
        Default:
            default: true
            info:
            prefix: ''
            suffix: ''
            build: false
            inheritance:
        Member:
            default: false
            info:
            prefix: ''
            suffix: ''
            build: true
            inheritance:
            - Default
        Moderator:
            default: false
            info:
            prefix: ''
            suffix: ''
            build: true
            inheritance:
            - Member
        Admins:
            default: false
            info:
            prefix: '[Admn]'
            suffix: ''
            build: true
            permissions:
            - '*'
     
  4. Offline

    mattattack rawr

    Im having tons of problems. I cant destroy block even when i put myself as admin and when i start up the server it says
    11:46:38 [INFO] Starting minecraft server version Beta 1.7.3
    11:46:38 [INFO] Loading properties
    11:46:38 [INFO] Starting Minecraft server on *:25565
    11:46:39 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-g73697a4-b1000jnks (MC: 1.7.3)
    11:46:39 [INFO] MLog clients using java 1.4+ standard logging.
    11:46:39 [SEVERE] java.lang.NullPointerException
    11:46:39 [SEVERE] at com.nijiko.data.YamlUserStorage.performConversion(YamlUserStorage.java:42)
    11:46:39 [SEVERE] at com.nijiko.data.YamlUserStorage.<init>(YamlUserStorage.java:30)
    11:46:39 [SEVERE] at com.nijiko.data.YamlCreator.getUserStorage(YamlCreator.java:33)
    11:46:39 [SEVERE] at com.nijiko.data.StorageFactory.getUserStorage(StorageFactory.java:76)
    11:46:39 [SEVERE] at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:95)
    11:46:39 [SEVERE] at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:86)
    11:46:39 [SEVERE] at com.nijiko.permissions.ModularControl.load(ModularControl.java:116)
    11:46:39 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:181)
    11:46:39 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:133)
    11:46:39 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:131)
    11:46:39 [SEVERE] at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:97)
    11:46:39 [SEVERE] at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
    11:46:39 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
    11:46:39 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    11:46:39 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    11:46:39 [SEVERE] [Permissions] Unable to load permission data.
    11:46:39 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    11:46:39 [INFO] [Permissions] (Yeti) was initialized.
    11:46:39 [INFO] [Permissions] (Yeti) disabled successfully.
    11:46:39 [INFO] Preparing level "world"
    11:46:39 [INFO] Preparing start region for level 0 (Seed: 2380654242544963920)
    11:46:40 [INFO] Preparing start region for level 1 (Seed: 2380654242544963920)
    11:46:40 [INFO] Loaded Essentials build 2.5.6 by [Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology]
    11:46:40 [INFO] Loaded EssentialsChat build 2.5.6 by essentials team
    11:46:40 [INFO] Loaded EssentialsGeoIP build 2.5.6 by essentials team
    11:46:40 [INFO] This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/.
    11:46:40 [INFO] Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
    11:46:41 [INFO] Loaded EssentialsProtect build 2.5.6 by essentials team
    11:46:41 [INFO] Loaded EssentialsSpawn build 2.5.6 by essentials team
    11:46:41 [INFO] [iChat] Permissions plugin not found or wrong version. Disabling
    11:46:41 [INFO] [iChat] iChat Disabled
    11:46:41 [INFO] Server permissions file permissions.yml is empty, ignoring it
    11:46:41 [INFO] Done (0.180s)! For help, type "help" or "?"

    My permissions is setup like this
    groups:
    Guest
    default:true
    info:
    prefix: ''
    suffix: ''
    build:true
    inheritance:
    permissions:
    -essentials.help
    -essentials.spawn
    -essentials.mail
    -essentials.afk
    -essentials.suicide
    -essentials.warp
    -essentials.list
    Moderator
    default:false
    info:
    prefix: ''
    suffix: ''
    build:true
    inheritance:
    -Guest
    permissions:
    -essentials.antioch
    -essentials.spawner
    -essentials.give
    -essentials.spawnmob
    -essentials.weather
    Admin
    default:false
    info:
    prefix: ''
    suffix: ''
    build:true
    inheritance:
    -Moderator
    permissions:
    - '*'

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

    Dev909

    im in the same boat man
     
  6. Offline

    mattattack rawr

    i have no idea what to do though...clueless
     
  7. Offline

    Supersam654

    @mattattack rawr You need to indent using 4 spaces in any .yml file. You must use 4 spaces and you cannot use tabs. This is not an option, it is a requirement.

    @Dev909 Change your users.yml file to this:
    Code:
    users:
        Dev:
            groups:
                - 'Admins'
        test:
            groups:
                - 'Default'
     
  8. Offline

    treeetrunks

    your group.yml and user.yml spacing is all off. everything is supposed to be in increments of 4. ie. 4, 8, 12...
    here's how it should be:
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
        Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Member
        Admins:
            default: false
            info:
                prefix: '[Admn]'
                suffix: ''
                build: true
            permissions:
                - '*'
    Code:
    users:
        Dev:
            groups:
            - Admins
        test:
            groups:
            - Default
    make your groups file like this:

    Code:
    groups:
        Guest
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.help'
                - 'essentials.spawn'
                - 'essentials.mail'
                - 'essentials.afk'
                - 'essentials.suicide'
                - 'essentials.warp'
                - 'essentials.list'
        Moderator
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Guest
            permissions:
                - 'essentials.antioch'
                - 'essentials.spawner'
                - 'essentials.give'
                - 'essentials.spawnmob'
                - 'essentials.weather'
        Admin
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  9. Offline

    Dev909

    ok it works now!! :D thank you both!
     
  10. Offline

    mattattack rawr

    K I'll try that
     
Thread Status:
Not open for further replies.

Share This Page