Inactive [ADMN/DEV] Permissions 3.1.6 - The Plugin of Tomorrow [935]

Discussion in 'Inactive/Unsupported Plugins' started by rcjrrjcr, May 24, 2011.

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

    rcjrrjcr

    Permissions 3.1.6 (Yeti)

    Download:
    Latest Stable (3.1.6) : Full Zip | Main Jar Only | SQL Interface Jar Only

    Previous Versions:
    3.1.5 (JAR|SQL) | 3.1.4 (JAR|SQL) | 3.1.3 (JAR|SQL) | 3.1.2 (JAR|SQL) | 3.1.1 (JAR) | 3.1 (JAR) | More older versions


    COMMAND RESTRUCTURING
    Feel free to comment and give suggestions.


    DO NOT USE GLOBAL CONFIGS FOR NOW. THE GLOBAL CONFIG IS MEANT TO SUPPLEMENT WORLD-SPECIFIC CONFIGS, NOT THE OTHER WAY ROUND. SEE https://github.com/TheYeti/Permissions/wiki/Global-vs-World .I WILL WRITE A PROPER TUTORIAL ON HOW TO USE THE GLOBAL CONFIGS SOON.

    TODO:
    • Revamp commands
    Known plugins that cause IllegalAccessError(s):

    • Help (not fixed yet)
    Temp Fix for IAEs (open)




    1. Open Help's JAR with 7zip.
    2. Find MANIFEST.MF (it can be in the root folder or in the META-INF folder, or both).
    3. Open the MANIFEST.MF file in a text editor
    4. Look for a line that starts with "Class-Path:".
    5. Delete "Permissions.jar" from that line.
    6. Save the manifest.
    7. 7zip will prompt you to save changes back into the archive. Accept.
    8. Restart server.





    Plugin Authors: How to hook into Permissions

    Due to @TheYeti being busy in RL for now, I have created a new thread for Permissions 3.x. TheYeti is still part of the Permissions team.

    Permissions... Reborn.
    This is a continuation of the work that was originally done by Nijikokun. All original credit goes to them as without their work this plugin would not have been possible. This plugin does not provide any commands or additional functionality beyond what is described in this post. That means that you need another plugin to provide colored names, chat prefixes, and op commands such as /give and /time.​

    The Permissions Team

    The team consists of myself @rcjrrjcr and @TheYeti currently with contributions from @Nijikokun as well on occasion. There are also several other members of the community who frequently assist with providing code changes, bug fixes, patches, support, feedback, and beta testing. Special thanks to @flames and the Dynmap & Wormhole X-Treme teams for the hosting of Permissions on their Jenkins server.

    What's new in 3.x?

    Taken from the GitHub page:
    1. In-game commands. For a long time, users have been pestering, nagging, demanding and/or screaming for an way to manage Permissions via commands. Now, in 3.0, in-game commands are available to manage permissions and groups.
    2. SQL storage. This allows web interfaces to manage Permissions by updating the SQL database Permissions uses.
    3. Promotion/demotion tracks. With a simple command, users can be promoted/demoted along a preconfigured track, allowing RP servers with ranks to promote the player along a class track and other possibilities.
    4. Multigroup.
    5. Weightage. Plugins are able to compare users via their weight, which is inherited from their groups. For example, SlapPlugin can check if Player A is higher-weighted than Player B when A tries to slap B (Not IRL, obviously).
    6. Improved world mirroring. Config files are now split into a group file and a user file. Also, by editing storageconfig.yml, you can configure the mirroring of entire worlds, or just its users/groups. You also do not have to create files for worlds that mirror another world. Also, two different worlds can use different storage types, like YAML and SQL.
    7. Global permissions. Instead of having to resort to cross-world group inheritance, now all worlds inherit groups and users from the global permissions file. Also, the inherited groups/users can be overridden via editing the specific world's file.
    Upgrading from 2.x to 3.x







    I have written a guide on GitHub. This demonstrates how to convert 2.x-style configs to 3.0. The YAML-to-SQL converter are still in testing, but it can be downloaded from here. It's written in Perl. @Zgred has created a web version of the script located here. @omgneeq is working on an Web UI for SQL databases (Sorry about the previous statement that he was making a converter.)​


    Install (open)
    For the admins

    In case you missed the link above, the Setup Guide on GitHub will help you quite a bit

    Samkio has updated his tutorial for P3:


    First thing that you will need to do is download the plugin. Place it in your plugins/ folder and unzip it. This should create the folder Permissions and a Permissions.jar file in your plugins folder. Next, go into Permissions/ and create a folder named the same as your world. So if your world name from server.properties is Foo you will need to create the folder plugins/Permissions/Foo. You MUST rename it to whatever your world's name is or it will not work.

    Note, if you have your server maps all saved into a single directory then the initial setup will be somewhat different. Say your maps are arranged in the main directory like so: bukkit/mapfolder/world1, bukkit/mapfolder/world2, etc. Then inside of the plugin/Permissions directory you will need to create a folder called mapfolder and inside of that put the directories containing users.yml and groups.yml in there.

    Next, you will need to go in and add yourself to the users, just replace the user that is in there with your name. Make any other modifications that you need to. While making modifications make sure that you do NOT use tabs. These will break the YAML format and cause issues. Instead, each indent should be four spaces. If you want people who aren't in the Admin group to be able to reload the permissions plugin you need to give them 'permissions.reload' permissions within the config file.

    Permissions gives server admins great control, mostly in-game reloading. More info about commands can be found here.


    FAQ (open)

    [FAQ]

    [Q] What is with the version numbers? I can't keep up, it seems like every time I look there is a new version!
    [A] I use the GNU versioning system for my version numbers. So what this means is the version number should be read as Major.Minor.Revision. So for version 2.5.2 this would mean it is the 2nd Major version, the 5th Minor release in this version, and the 2nd revision. I tend to release bug fixes and anything that doesn't add functionality or will not break things as revisions. So generally you should be safe with just watching the major & minor numbers and only getting the revision if it fixes a bug specific to you. Technically 2.5.2 should have been released as 2.6 as it did add functionality, but this was below even a minor change so I released it as a revision.

    [Q] I am getting an error that it can't pass BLOCK_PLACED or BLOCK _BREAK events to Permissions. Fix it!
    [A] That's not a question. The reason why it can't place these is probably because the syntax of your Permissions file is all whacked out, or it is a different world and you don't have a config file for that world.

    [Q] What am I suppose to name the config file?
    [A] You need to name it the same as your world. So if you look in server.properties at "level-name" you will see a world name there. Rename your config file to the same thing as that. Make sure you keep the .yml extension at the end.

    [Q] Permissions are broken. Why can no one use commands? Why am I not an admin?
    [A] First off, make sure that your formatting is correct. Look at the format that the default config file uses. Yours should look like that. Do NOT use tabs. Use 4 spaces (IE. " " <-- Four of those things.). Also, whichever group you give the permission '*' to, do not have that group inherit permissions from anyone else. That is called overloading and it will break things. Also, this.


    [Q] Which one am I suppose to download and unzip to install this?
    [A] Download the main package, not the JAR only. Unzip the ZIP file. The JAR only downloads are simply there for people who are UPGRADING and do not need the default config file.

    [Q] I have done all of this and this doesn't work! I'm going back to GroupManager!
    [A] Well, there is probably the problem. Make sure that you delete EssentialsGroupManager.jar and EssentialsGroupBridge.jar as these don't play well with Permissions and will cause headache.

    [Q] When are you going to add <blah> <feature/command> into this already? You suck! Do what I want NAU PL0X!
    [A] Feature requests should be posted on the GitHub tracker. Stupid suggestions like adding teleportation functionality and other less ludicrous stuff will be rejected.



    Changelog
    • 3.1.6
      • Major fixes.
      • Simplify tracks
    Changelog (open)





    • 3.1.5
      • Fix several minor bugs.
      • Autoconvert 2.x/GM format (only works if you split them into groups.yml and users.yml, but leave the rest untouched)
    • 3.1.4
      • Fix YAML locking bugs.
    • 3.1.3
      • Fix another SQL data and inheritance issue.
    • 3.1.2
      • Fix SQL data issues.
      • Added user/group name autocomplete
      • Separated SQL interface into separate plugin
    • 3.1.1
      • Fix prefix/suffix issues.
      • Added ON UPDATE CASCADE to the SQL foreign [/SIZE]
    • 3.1
      • Tons of fixes.
    • 3.0.6
      • Fix SQLite issues due to misimplementation of methods.
    • 3.0.5
      • Fix cache-related NPEs
      • Fixed quoted worlds (thanks again @Jeyge !)
    • 3.0.4
      • Fix LinkageError caused by ServiceManager not unloading the PermissionHandler class.
      • Added cache
      • Fix index not being incremented when promoting (thanks @Jeyge !)
    • 3.0.3
      • Fixed another getGroup bug.
    • 3.0.2
      • Fixed getGroup bug.
    • 3.0.1
      • Fixed some NPE bugs.
    • 3.0
      • Total overhaul of Permissions. Adds many new features (see What's new in 3.0?).
    • 2.7.4
      • Added overload of has() and permissions() for plugin devs
    • 2.7.3
      • Fixed negate node add/remove bug.
    • 2.7.2
      • Fix for small subtle bug introduced in last minor version.
    • 2.7.1
      • Commit by DThielke to fix several bugs with programmatic modifications of user permissions.
    • 2.7
      • Further commits by rcjrrjcr
        • Removed negatedNode checks
        • Temp fix for NULL issue
        • WorldConfigurationModification to save only modified configs
        • Fix for cache problems








    Credits (open)


    TheYeti:
    Nijikokun - Without their original work this plugin would not be possible.​
    All of the members of the community that regularly provide support in this thread for Permissions​
    Rigby, Kainzo, DThielke, GoMySQL, sk89q, RightLegRed - For hanging out with me in IRC, tons of testing, and pushing me to improve on the code constantly and make changes to make this plugin constantly better and better, and in general being entertaining.​
    Everyone else on here and in IRC who provides support, feedback, assistance, plugins that have continued to support and integrate this, and in general makes my life a bit easier, THANK YOU!​

    rcjrrjcr:
    I would like to thank Joy , jamesg and omgneeq for staying in #permissions for long periods of time to test out 3.0, and help me find many coding mistakes I made, patiently waiting for the next build while I fixed the bugs. I appreciate SvenBrnn 's and GoMySQL(Geoff Winans on this forum) 's help that allow me to design and code the SQL interface, and the HeroCraft coding team for providing support and some priceless IRC quotes (Dgco). Also, I would like to thank Lycano for helping me in many different aspects. Last but not least, I would like to thank Nijikokun and TheYeti for developing P2, which was one of my core plugins when I was still a 14-year-old server admin that didn't understand Java, and was the base for 3.0. Without these people, 3.0 would never be possible.​


    If after reading through all of that you are still having issues do one of two things. If it is a provable bug, and you have things like screenshots or copies of startup, steps to reproduce, your craftbukkit build and the version this is running along with your config files then submit the bug on the issue tracker. If it is general help or support you are needing then post a reply to this thread and someone will try to help you.

    Old thread: Permissions v2.7.4
     
  2. Offline

    kaasinees

    Can you please add dates to the changelog/download link? Thank you :D
     
  3. Offline

    Bluemond

    Soo, just updated from 2.7.3 to 3.0.6 on my Testserver running Craftbukkit 814 (MC1.6.4). I have, like others, problems to use "permissions -list". It works well for
    Code:
    >permissions -list Users Cargados
    01:49:19 [INFO] [Permissions] Users: EeeVil, Bluemond, Galadir
    
    But if i want to list my Groups it does not find my World:
    Code:
    >permissions -list Groups Cargados
    01:50:49 [INFO] [Permissions] World does not exist.
    Therefore listing my Worlds (i only have "Cargados" in my DB) shows me "*" and "Cargados":
    Code:
    >permissions -list worlds
    01:55:38 [INFO] [Permissions] Loaded worlds: * ,Cargados
    Maybe the "*" stands for my global-configuration?


    On the other Hand I successfully created a SQLite-DB and insertert the Permissions with the Script so i wanted to share how to do it:
    First, download SQLite, Perl and the Script if you don't have it. Now start SQLite and create the necessary Tables with the following commands:

    Code:
    CREATE TABLE IF NOT EXISTS PrWorlds (
        worldid INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
        worldname VARCHAR(32) NOT NULL UNIQUE
    );
    
    
    CREATE TABLE IF NOT EXISTS PrUsers (
        uid INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
        username VARCHAR(32) NOT NULL,
        worldid INTEGER NOT NULL,
        CONSTRAINT UserNameWorld UNIQUE (username, worldid),
        FOREIGN KEY(worldid) REFERENCES PrWorlds(worldid)
    );
    
    CREATE INDEX IF NOT EXISTS pr_username_index ON PrUsers(username);
    
    CREATE TABLE IF NOT EXISTS PrGroups (
        gid INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
        groupname VARCHAR(32) NOT NULL,
        worldid  INTEGER NOT NULL,
        prefix VARCHAR(32) NOT NULL,
        suffix VARCHAR(32) NOT NULL,
        build TINYINT NOT NULL DEFAULT 0,
        weight INTEGER NOT NULL DEFAULT 0,
        CONSTRAINT GroupNameWorld UNIQUE (groupname, worldid),
        FOREIGN KEY(worldid) REFERENCES PrWorlds(worldid)
    );
    
    
    CREATE TABLE IF NOT EXISTS PrUserPermissions (
        upermid INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
        permstring VARCHAR(64) NOT NULL,
                uid INTEGER NOT NULL,
        CONSTRAINT UserPerm UNIQUE (uid, permstring),
        FOREIGN KEY(uid) REFERENCES PrUsers(uid)
    );
    
    
    CREATE TABLE IF NOT EXISTS PrGroupPermissions (
        gpermid INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
        permstring VARCHAR(64) NOT NULL,
                gid INTEGER NOT NULL,
        CONSTRAINT GroupPerm UNIQUE (gid, permstring),
        FOREIGN KEY(gid) REFERENCES PrGroups(gid)
    );
    
    
    CREATE TABLE IF NOT EXISTS PrUserInheritance (
        uinheritid INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
        childid INTEGER NOT NULL,
                parentid INTEGER NOT NULL,
        CONSTRAINT UserParent UNIQUE (childid, parentid),
        FOREIGN KEY(childid) REFERENCES PrUsers(uid),
        FOREIGN KEY(parentid) REFERENCES PrGroups(gid)
    );
    
    
    CREATE TABLE IF NOT EXISTS PrGroupInheritance (
        ginheritid INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
        childid INTEGER NOT NULL,
                parentid INTEGER NOT NULL,
        CONSTRAINT UserParent UNIQUE (childid, parentid),
        CONSTRAINT GroupNoSelfInherit CHECK (childid <> parentid),
        FOREIGN KEY(childid) REFERENCES PrGroups(gid),
        FOREIGN KEY(parentid) REFERENCES PrGroups(gid)
    );
    
    
    CREATE TABLE IF NOT EXISTS PrWorldBase (
        worldid INTEGER NOT NULL,
        defaultid INTEGER,
        FOREIGN KEY(worldid) REFERENCES PrWorlds(worldid),
        FOREIGN KEY(defaultid) REFERENCES PrGroups(gid)
    );
    
    
    CREATE TABLE IF NOT EXISTS PrUserData (
        dataid INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
        uid INTEGER NOT NULL ,
                path VARCHAR(64) NOT NULL,
        data VARCHAR(64) NOT NULL,
        CONSTRAINT UserDataUnique UNIQUE (uid, path),
        FOREIGN KEY(uid) REFERENCES PrUsers(uid)
    );
    
    
    CREATE TABLE IF NOT EXISTS PrGroupData (
        dataid INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
        gid INTEGER NOT NULL,
        path VARCHAR(64) NOT NULL,
        data VARCHAR(64) NOT NULL,
        CONSTRAINT GroupDataUnique UNIQUE (gid, path),
        FOREIGN KEY(gid) REFERENCES PrGroups(gid)
    );
    
    
    CREATE TABLE IF NOT EXISTS PrTracks (
        trackid INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
        trackname VARCHAR(64) NOT NULL UNIQUE,
        worldid INTEGER NOT NULL,
        FOREIGN KEY(worldid) REFERENCES PrWorlds(worldid)
    );
    
    
    CREATE TABLE IF NOT EXISTS PrTrackGroups (
        trackgroupid INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
        trackid INTEGER NOT NULL,
        gid INTEGER NOT NULL,
        groupOrder INTEGER NOT NULL,
        CONSTRAINT TrackGroupsUnique UNIQUE (trackid, gid),
        FOREIGN KEY(trackid) REFERENCES PrTracks(trackid),
        FOREIGN KEY(gid) REFERENCES PrGroups(gid)
    );
    Then we use the Script to parse the yml-File, do it like this:
    Code:
    perl yaml2sql.pl Cargados.yml Cargados 1
    where Cargados is the name of my World. If Perl is giving you Errors try to update your modules with ppm (just type ppm and the Packet Manager should open).
    It creates a Cargados.sql File with the commands you have to use to fill your Tables. In my case they were these:
    Code:
    INSERT INTO PrWorlds (worldid, worldname) VALUES (1, 'Cargados');
    INSERT INTO PrGroups (worldid,gid, groupname, prefix, suffix, build, weight) VALUES (1,1,'Mods', '','', 1, 0);
    INSERT INTO PrGroups (worldid,gid, groupname, prefix, suffix, build, weight) VALUES (1,2,'Default', '','', 1, 0);
    INSERT INTO PrGroups (worldid,gid, groupname, prefix, suffix, build, weight) VALUES (1,3,'Admins', '','', 1, 0);
    INSERT INTO PrWorldBase (worldid, defaultid) VALUES (1, 2);
    INSERT INTO PrGroupPermissions (gid, permstring) VALUES (1, 'weatherplugin.*');
    INSERT INTO PrGroupPermissions (gid, permstring) VALUES (1, 'minecraft.kick');
    INSERT INTO PrGroupPermissions (gid, permstring) VALUES (1, 'minecraft.ban');
    INSERT INTO PrGroupPermissions (gid, permstring) VALUES (1, 'minecraft.ban-ip');
    INSERT INTO PrGroupPermissions (gid, permstring) VALUES (1, 'minecraft.pardon');
    INSERT INTO PrGroupPermissions (gid, permstring) VALUES (1, 'minecraft.pardon-ip');
    INSERT INTO PrGroupPermissions (gid, permstring) VALUES (1, 'simpleadmin.list');
    INSERT INTO PrGroupPermissions (gid, permstring) VALUES (1, 'minecraft.list');
    INSERT INTO PrGroupPermissions (gid, permstring) VALUES (1, 'minecraft.time');
    INSERT INTO PrGroupPermissions (gid, permstring) VALUES (2, 'weatherplugin.*');
    INSERT INTO PrGroupPermissions (gid, permstring) VALUES (2, 'simpleadmin.list');
    INSERT INTO PrGroupPermissions (gid, permstring) VALUES (2, 'minecraft.list');
    INSERT INTO PrGroupPermissions (gid, permstring) VALUES (2, 'minecraft.time');
    INSERT INTO PrGroupPermissions (gid, permstring) VALUES (2, '-bukkit.*');
    INSERT INTO PrGroupPermissions (gid, permstring) VALUES (3, '*');
    INSERT INTO PrUsers (worldid,uid,username) VALUES (1,1,'Galadir');
    INSERT INTO PrUsers (worldid,uid,username) VALUES (1,2,'EeeVil');
    INSERT INTO PrUsers (worldid,uid,username) VALUES (1,3,'Bluemond');
    INSERT INTO PrUserPermissions (uid, permstring) VALUES (1, 'simpleadmin.tp');
    INSERT INTO PrUserPermissions (uid, permstring) VALUES (2, 'simpleadmin.tp');
    INSERT INTO PrUserPermissions (uid, permstring) VALUES (2, 'simpleadmin.give');
    INSERT INTO PrUserPermissions (uid, permstring) VALUES (2, 'simpleadmin.clearinv');
    INSERT INTO PrUserPermissions (uid, permstring) VALUES (3, '*');
    INSERT INTO PrUserInheritance (childid,parentid) VALUES (1, 1);
    INSERT INTO PrUserInheritance (childid,parentid) VALUES (2, 1);
    INSERT INTO PrUserInheritance (childid,parentid) VALUES (3, 3);
    
    Just copy-paste to SQLite and execute them. Now we have a Database with all the necessary Data. Create a file with
    Code:
    .backup main Permissions.db
    and copy it to your plugins/Permissions/ Folder.

    The last step is to update your storageconfig.yml:
    Code:
    permissions:
        storage:
            type: SQL
    Start your server, cross your Fingers and have fun!

    MfG Bluemond
     
  4. Offline

    Legendros

    ok i seem to have an odd problem, some user groups are able to use commands that they dont have permissions for, and i cant seem to figure out how to remedy the situation i've spent a couple hours trying to fix it myself but to no avail, as such i've decided to post here to see if anyone can help,c cuz this problem is rather infuritating.

    my Global groups file:
    Show Spoiler
    groups:
    NOOBIE:

    default: true
    info:

    prefix: ''

    suffix: ''

    build: false

    inheritance:

    permissions:

    Mod:

    default: false

    info:

    prefix: ''

    suffix: ''

    build: true

    inheritance:

    - NOOBIE
    permissions:

    - 'bar.foo'

    Admin:

    default: false

    info:

    prefix: ''

    suffix: ''

    build: true

    inheritance:

    - NOOBIE
    permissions:

    - 'commandbook.*'
    - 'godPowers.*'
    - 'wolfpound.*'
    - 'ichat.*'
    - 'magiccarpet.*'
    - '-worldedit.*'
    Owner:

    default: false

    info:

    prefix: ''

    suffix: ''

    build: true

    inheritance:

    permissions:

    - '*'


    My global users file:
    Show Spoiler
    users:
    Legendros:
    groups:
    - Owner
    info:
    prefix: '&4<Demon King>&1'
    suffix: '&9'
    permissions:
    - '*'
    dragasabra:
    groups:
    - Admin
    info:
    prefix: '&7<Angel Queen>&c'
    suffix: '&6'
    permissions:
    RonasX:
    groups:
    - Admin
    info:
    prefix: '&8<Ninja Lord>&c'
    suffix: '&2'
    permissions:


    my groups file:
    Show Spoiler
    groups:
    NOOBIE:

    default: true

    info:

    prefix: ''

    suffix: ''

    build: false

    inheritance:

    permissions:

    Mod:

    default: false

    info:

    prefix: ''

    suffix: ''

    build: true

    inheritance:

    - NOOBIE
    permissions:

    - 'bar.foo'

    Admin:

    default: false

    info:

    prefix: ''

    suffix: ''

    build: true

    inheritance:

    - NOOBIE
    permissions:

    - 'commandbook.*'
    - 'godPowers.*'
    - 'wolfpound.*'
    - 'ichat.*'
    - 'magiccarpet.*'
    - '-worldedit.*'
    Owner:

    default: false

    info:

    prefix: ''

    suffix: ''

    build: true

    inheritance:

    permissions:

    - '*'


    my users file:
    Show Spoiler

    users:
    Legendros:
    groups:
    - Owner
    info:
    prefix: '&4<Demon King>&1'
    suffix: '&9'
    permissions:
    - '*'
    dragasabra:
    groups:
    - Admin
    info:
    prefix: '&7<Angel Queen>&c'
    suffix: '&6'
    permissions:
    RonasX:
    groups:
    - Admin
    info:
    prefix: '&8<Ninja Lord>&c'
    suffix: '&2'
    permissions:


    basically what i'm trying to make only Useable by the Owner group is Worldedit however no matter what i seem to do all of my other groups including the admin group are still able to use the command its rather agrivating to be honest. any help would be appreciated.
     
  5. Offline

    vfern_fern

    Code:
    >reload
    18:01:28 [INFO] [iChat] iChat Disabled
    18:01:28 [SEVERE] Error occurred while disabling Permissions v3.0.6 (Is it up to date?): while scanning a simple key; could not found expected ':'
    while scanning a simple key
     in "<reader>", line 23, column 9:
                -'essentials.tppos'
                ^
    could not found expected ':'
     in "<reader>", line 24, column 5:
            floran98:
            ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:400)
        at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:231)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:182)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at org.bukkit.util.config.Configuration.load(Configuration.java:74)
        at com.nijiko.data.YamlUserStorage.forceSave(YamlUserStorage.java:168)
        at com.nijiko.data.YamlUserStorage.save(YamlUserStorage.java:185)
        at com.nijiko.permissions.ModularControl.saveAll(ModularControl.java:142)
        at com.nijiko.permissions.ModularControl.closeAll(ModularControl.java:124)
        at com.nijikokun.bukkit.Permissions.Permissions.onDisable(Permissions.java:126)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:771)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:269)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:262)
        at org.bukkit.plugin.SimplePluginManager.clearPlugins(SimplePluginManager.java:290)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:309)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:243)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:127)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:271)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:401)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:386)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    18:01:28 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    18:01:28 [INFO] [iChat] Permissions plugin lost.
    18:01:29 [SEVERE] while scanning a simple key
     in "<reader>", line 23, column 9:
                -'essentials.tppos'
                ^
    could not found expected ':'
     in "<reader>", line 24, column 5:
            floran98:
            ^
    
    18:01:29 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:400)
    18:01:29 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:231)
    18:01:29 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:182)
    18:01:29 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
    18:01:29 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    18:01:29 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    18:01:29 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)
    18:01:29 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    18:01:29 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    18:01:29 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    18:01:29 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    18:01:29 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    18:01:29 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    18:01:29 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    18:01:29 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    18:01:29 [SEVERE]     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    18:01:29 [SEVERE]     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    18:01:29 [SEVERE]     at org.bukkit.util.config.Configuration.load(Configuration.java:74)
    18:01:29 [SEVERE]     at com.nijiko.data.YamlUserStorage.reload(YamlUserStorage.java:192)
    18:01:29 [SEVERE]     at com.nijiko.data.YamlUserStorage.<init>(YamlUserStorage.java:29)
    18:01:29 [SEVERE]     at com.nijiko.data.StorageFactory.getUserStorage(StorageFactory.java:86)
    18:01:29 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:83)
    18:01:29 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:75)
    18:01:29 [SEVERE]     at com.nijiko.permissions.ModularControl.load(ModularControl.java:96)
    18:01:29 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:161)
    18:01:29 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:118)
    18:01:29 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:104)
    18:01:29 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:337)
    18:01:29 [SEVERE]     at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:243)
    18:01:29 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:127)
    18:01:29 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:271)
    18:01:29 [SEVERE]     at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:401)
    18:01:29 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:386)
    18:01:29 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    18:01:29 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    18:01:29 [SEVERE] [Permissions] Unable to load permission data.
    18:01:29 [INFO] [Permissions] Shutting down Permissions due to error(s).
    
    just got that major error. None of my classes have their proper commands unless they have the '*'

    Anyone?
     
  6. Offline

    Maxis010

    Post your permissions files, there are 1 or more problems
     
  7. Offline

    vfern_fern


    Thanks!

    groups.yml:


    Code:
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: '&8'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.msg'
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.motd'
        Miner:
            default: false
            info:
                prefix: '&3'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.signs.mail.use'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.signs.disposal.use'
                - 'essentials.signs.heal.use'
                - 'essentials.signs.sell.create'
                - 'essentials.signs.sell.use'
                - 'essentials.signs.buy.use'
                - 'essentials.sell'
                - 'essentials.worth'
                - 'essentials.sell'
                - 'essentials.pay'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.kit'
                - 'essentials.kit.tools'
                - 'essentials.signs.free.use'
                - 'essentials.balance'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.home'
        Builder:
            default: false
            info:
                prefix: '&6'
                suffix: ''
                build: true
            inheritance:
                - Miner
            permissions:
                - 'essentials.depth'
                - 'essentials.jump'
                - 'essentials.back'
                - 'essentials.tptoggle'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.time'
                - 'essentials.help'
        Mod:
            default: false
            info:
                prefix: '&9'
                suffix: ''
                build: true
            inheritance:
                - Builder
            permissions:
                - 'essentials.signs.mail.create'
                - 'essentials.signs.mail.use'
                - 'essentials.signs.protection.create'
                - 'essentials.signs.protection.use'
                - 'essentials.signs.protection.override'
                - 'essentials.signs.disposal.create'
                - 'essentials.signs.disposal.use'
                - 'essentials.signs.heal.create'
                - 'essentials.signs.heal.use'
                - 'essentials.signs.buy.create'
                - 'essentials.teleport.cooldown.bypass'
                - 'essentials.teleport.timer.bypass'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.tpo'
                - 'essentials.tpohere'
                - 'essentials.tppos'
                - 'essentials.setwarp'
                - 'essentials.delwarp'
                - 'essentials.mute'
                - 'essentials.kick'
                - 'essemtials.kickall'
                - 'essentials.togglejail'
                - 'essentials.jail.exempt'
                - 'essentials.seen'
                - 'essentials.tempban'
                - 'essentials.protect'
                - 'essentials.protect.admin'
                - 'essentials.protect.alerts'
                - 'essentials.protect.exemptplacement'
                - 'essentials.protect.exemptusage'
        Admin:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    users.yml:

    Code:
    users:
        vfern005:
            groups:
            - Admin
            info:
                prefix: ''
                suffix: ''
            permissions: null
        monty0526:
            groups:
            - Default
            info:
                prefix: ''
                suffix: ''
            permissions: null
        the_dave123:
            groups:
            - Mod
            info:
                prefix: ''
                suffix: ''
            permissions: null
        floran98:
            groups:
            - Default
            info:
                prefix: ''
                suffix: ''
            permissions: null
        igmarx:
            groups:
            - Default
            info:
                prefix: ''
                suffix: ''
            permissions: null
        Kelthagas:
            groups:
            - Default
            info:
                prefix: ''
                suffix: ''
            permissions: null
        Randis316:
            groups:
            - Default
            info:
                prefix: ''
                suffix: ''
            permissions: null
        DoctorKpuffy:
            groups:
            - Admin
            info:
                prefix: ''
                suffix: ''
            permissions:
            - essentials.item
        WUMBOL0GY:
            groups:
            - Builder
            info:
                prefix: ''
                suffix: ''
            permissions: null
        h3llbound11:
            groups:
            - Default
            info:
                prefix: ''
                suffix: ''
            permissions: null
        Endosymbiosis:
            groups:
            - Default
            info:
                prefix: ''
                suffix: ''
            permissions: null
        TheSubtleKnife:
            groups:
            - Default
            permissions: null
    Also where are the globalusers, globalgroups, and storageconfig supposed to go? I also have a nether folder in my permissions folder I am guessing this is normal?

    last thing, I now have 3 map folders in my server folder. First one is New World (the name of the map), nether (when i first used /world to go to, essentials 2.2.22), and now New World_nether. That was not there before.

    I have the plugins:

    Permissions 3.0.6
    Essentials 2.2.22
    iChat 2.3.o
    WorldEdit 4.4

    thank you
     
  8. Offline

    Jeyge

    Those errors do not match the files you posted. You'll need to figure out which files have the problem and post those. If you have permissions in your global files, post those or in some of the other worlds. Also, make sure there isn't anything in your storageconfig.yml or at max:
    Code:
    permissions:
        storage:
            type: YAML
     
  9. Offline

    vfern_fern

    I have nothing in my global files or storageconfig.yml.

    i got this in my worldedit:


    Code:
    #
    # WorldEdit's configuration file
    #
    # About editing this file:
    # - DO NOT USE TABS. You MUST use spaces or Bukkit will complain. If
    #   you use an editor like Notepad++ (recommended for Windows users), you
    #   must configure it to "replace tabs with spaces." In Notepad++, this can
    #   be changed in Settings > Preferences > Language Menu.
    # - Don't get rid of the indents. They are indented so some entries are
    #   in categories (like "max-blocks-changed" is in the "limits"
    #   category.
    # - If you want to check the format of this file before putting it
    #   into WorldEdit, paste it into http://yaml-online-parser.appspot.com/
    #   and see if it gives "ERROR:".
    # - Lines starting with # are commentsand so they are ignored.
    #
    
    limits:
        max-blocks-changed:
            default: -1
            maximum: -1
        max-radius: -1
        max-super-pickaxe-size: 5
        max-brush-radius: 5
        disallowed-blocks: [6, 7, 14, 15, 16, 26, 27, 28, 29, 39, 31, 32, 33, 34, 36, 37, 38, 39, 40, 46, 50, 51, 56, 59, 69, 73, 74, 75, 76, 77, 81, 83]
    
    use-inventory:
        enable: false
        allow-override: true
    
    logging:
        log-commands: false
        file: worldedit.log
    
    super-pickaxe:
        drop-items: true
        many-drop-items: false
    
    snapshots:
        directory:
    
    navigation-wand:
        item: 345
        max-distance: 100
    
    scripting:
        timeout: 3000
        dir: craftscripts
    
    saving:
        dir: schematics
    
    history:
        size: 15
    
    wand-item: 271
    shell-save-type:
    no-double-slash: false
    no-op-permissions: false
    debug: false
    
    # See http://wiki.sk89q.com/wiki/WorldEdit/Permissions/Bukkit
    permissions:
        groups:
            default:
                permissions:
                    - /reloadwe
                    - /worldeditselect
        users:
            sk89q:
                permissions:
                    - /worldedit
                    - /reloadwe
    Do you think the last part will conflict?

    And those files do not match, I forgot to copy and paste them before I edited it them :/

    Let me try to recreate the issue...
     
  10. Offline

    Jeyge

    No need to make any problems. If things are working just fine right now, leave everything that way.
     
  11. Offline

    vfern_fern

    i cannot recreate the issues. The files I have there are what I have now and what you gave me earlier jeyge. None of my mods have the commands from essentials...

    edit:

    Sadly they aren't :/ mods are not getting any of their commands and it is reloading by itself. Like I logged in as an admin, changed myself to mod and without pressing reload I became a mod.
     
  12. Offline

    Maxis010

    Just post the contents of your permissions folder, the files you gave us are error free but I'm sure permissions 3 uses more than just those 2 files

    EDIT: Scratch that, go over your Miner group and remove the inherited permissions (I spotted at least 2)
    I HIGHLY doubt this but since aside from this inheritance conflict there are no errors this might help
     
  13. Offline

    Jeyge

    I'm sorry but I get a lot of problems a day and can't quite remember what I even said a couple hours ago. I thought we were fixing the problems you posted above. So what exactly are the problems now? Sounds like some people can't use some of the Essentials commands but you can demote/promote yourself? Are you perhaps running GroupManger too?
     
  14. Offline

    Fuzzwolf

    Has anybody figured out how to use Tracks yet or how to configure them?
     
  15. Offline

    vfern_fern

    I fixed the errors. I thought it got fixed but as a Mod all I could do now is warp, no time command, spawn, etc.

    I took pictures of my server and files etc. because I am wondering if I also put them in the right place.

    No no, your right I am sorry for being confusing...

    This is what's happening. I downloaded WorldEdit. Everything seemed to be fine for me but my moderator's could not use the /tppos command. So I thought I didn't give it to them so I went to users, went under one of my mod's names and gave him the permission -'essentials.tppos'

    The moment I reloaded I got all those errors.

    Still my moderators do not have those commands, or they sporadically get it at times.

    -----------------
    Should I just post the pictures on here? There are about 10 photos. Is there something like pastebin where I can link it to you guys? (photobucket does this?)

    http://s1097.photobucket.com/albums/g342/vfern_fern/Minecraft Server - Support Help/

    those are the pictures go in reverse to see how I start. Any text files open belong to the window in the background.

    thanks!

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

    Woolcity

    you know I really wish people would just switch over to this system already. I'm sick of using the older permissions system that doesn't have multigroup. I can't add people to donator ranks without adding a DonatorGuard rank to the permissions file. =/
     
  17. Offline

    Revenger

    People would if permissions itself worked right as it is there's still allot of issues with permissions itself that need to be sorted out as you can see below is another one of these.

    Until such time permissions gets fixed I don't recommend anyone use it on there main system let alone code for something that will change its code on how it works many times over the next few weeks.

    I now have no access to any of the the globalGroups commands in 3.0.6

    Code:
    14:19:24 [INFO] §9[PLAYER_COMMAND] drguild: /who
    14:19:24 [WARNING] drguild was denied access to command.
    14:20:25 [INFO] §9[PLAYER_COMMAND] drguild: /list
    14:20:25 [WARNING] drguild was denied access to command.
    14:20:32 [INFO] §9[PLAYER_COMMAND] drguild: /tp
    14:20:32 [WARNING] drguild was denied access to command.
    
    Global users have.

    Code:
    users:
        drguild:
            permissions:
            groups:
            - '?,Member'
    Global groups have.

    Code:
    groups:
        Guest:
            default: true
            info:
                prefix: '&f'
                suffix: ''
                build: false
            inheritance:
            permissions:
            - guestprev.access.commands
            - essentials.list
            - essentials.me
            - essentials.msg
            - essentials.mail
            - essentials.mail.read
            - essentials.mail.clear
            - essentials.mail.send
            - essentials.afk
            - essentials.suicide
            - mcdocs./registration
            - mcdocs./motd
            - mcdocs./rules
            - multiverse.list
            - multiverse.world.spawn
            - deathtpplus.streak
            - deathtpplus.deaths
            - deathtpplus.kills
        Member:
            default: false
            info:
                prefix: '&e'
                suffix: ''
                build: true
            inheritance:
            - guest
            permissions:
            - guestprev.is.authorized
            - essentials.depth
            - essentials.compass
            - essentials.getpos
            - logblock.me
            - iConomy.access
    World groups have.

    Code:
        Member:
            info:
                build: true
            inheritance:
            - '*,Member'
            permissions:
    
     
  18. Offline

    Jeyge

    I haven't played with the global permissions much yet but when I did a couple day ago, I didn't have to put the '*,Member' in mine. It always took from global and from the code, I found the '<world name>,<group>' to only be needed if you wanted to read from another worlds permissions. Perhaps we can get @rcjrrjcr to come tell us the exact way to do it. In the meantime, I'll run a few tests with my test server and let you know what I find.

    The only thing I see in your pictures is the 1 user in the nether users.yml without any groups. I would clear both of those files for now and get the main worlds permissions working. As for those permissions, it sounds like you are using the in-game commands to try to add a permission or move a user. I'm not sure that is working as well as it could yet so for now, I would manually modify those files and see if that helps.

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

    Revenger

    That's what rcjrrjcr told me to do in a earlier post here for both groups and users and it was working until 3.0.6.

    He also mentioned to use the storageconfig file to inherit from a parent world and not to put anything in the child world for that.

    As it is theirs virtually no examples on how to do anything like this and that's confusing everyone.

    So rcjrrjcr please make some proper tutorials how to inherit from users/groups/worlds.
     
  20. Offline

    vfern_fern

    I only have been manually modifying the files. Idk how to promote (I can learn from your example), so I have not been using it. Everything has been manual that is why I had essential nodes duplicated. Man this sucks >.< I am going to go ask essentials thread if world edit conflicts with one of their plugins.

    Thanks once again jeyge!
     
  21. Offline

    Jeyge

    Playing with it now showed me that I can inherit from the exact group I currently belong to from the global files but inheritance isn't working. So if I'm in Moderator in my world file, I will have everything in Moderator from the global file but if Moderator inherits from Default in both, I will only have access to the commands granted in the world file and not the global.
     
  22. Offline

    vfern_fern

    Does 2.7.4 work with cb803? I do not think WorldEdit, Essentials work with 3.0.6

    iChat thread said 2.3.0 does not work with 3.0.6 if anyone else wants to know!
     
  23. Offline

    Jeyge

    Yep, I'm still running 2.7.4 on my live server. I only have 3.0 on my test server.
     
  24. Offline

    Clontarf[X]

  25. Offline

    Revenger

    If you manage to figure something out can you send me a message on it. As this thread will get very cluttered with support requests.
     
  26. Offline

    1337

    What does a plugin dev have to do to fix a broken plugin to 3.0.6? from the latest old one from theyeti
     
  27. Offline

    Toastman

    1337, try recompiling it against the latest 2.x.x version of Permissions, not this one. People recommend not using this version until the next version of Bukkit, which all the devs are waiting for

    Because, last time I tried Archers, it's not even working with the one from TheYeti... =\
     
  28. Offline

    h3ndy_

    Do we have to use SQL?
    I would rather stick with YAML ...
     
    Dreadreaver likes this.
  29. Offline

    Hex

  30. I am completely new to Permissions and i have no clue how to use it. Is there a tutorial for the new version 3.0.6? or can someone help me with it
     
  31. Offline

    Snowy007

    ah man... usually i'm not having much problems when installing most plugins but i just can't seem to get this right.
    permissions v2 was easy but this...
    problem is that none of the groups have any permissions. only the 'admins' group with permissions '*' can still do something. so right now... i made every user an admin. as you might understand, i would like to solve this asap.

    My global groups, global users and storageconfig are completely empty. I just tried to fill the storageconfig with:
    Code:
    permissions:
        storage:
            type: YAML
    but that didn't help.

    i have a folder called 'world' and these are the groups and users YML files:
    users.yml:
    Code:
    users:
        Snowy007:
            groups:
                - Admins
            permissions:
        Testuser:
            groups:
                - Elite Builders
            permissions:
        Shadowslayer159:
            groups:
                - Elite Builders
            permissions:
        TheMrSuomi:
            groups:
                - Elite Builders
            permissions:
        Aecnoril:
            groups:
                - Elite Builders
            permissions:
        skratsch:
            groups:
                - Moderators
            permissions:
        iHiPNoTiC:
            groups:
                - Elite Builders
            permissions:
        zigk:
            groups:
                - Elite Builders
            permissions:
                - 'worldedit.superpickaxe'
        fuzionnetwork:
            groups:
                - Elite Builders
            permissions:
        pascal:
            groups:
                - Moderators
            permissions:
                - 'general.mobspawn.*'
        tycoonboy:
            groups:
                - Moderators
            permissions:
                - 'general.mobspawn.*'
        zwammer1993:
            groups:
                - Builders
            permissions:
        90jules84:
            groups:
                - Elite Builders
            permissions:
        Leipotje:
            groups:
                - Elite Builders
            permissions:
        renssner:
            groups:
                - Elite Builders
            permissions:
        SpittyFire:
            groups:
                - Elite Builders
            permissions:
        Soycule43346:
            groups:
                - Elite Builders
            permissions:
        penguin:
            groups:
                - Builders
            permissions:
        casper636:
            groups:
                - Elite Builders
            permissions:
        SWCruciality:
            groups:
                - Elite Builders
            permissions:
        marijn473:
            groups:
                - Elite Builders
            permissions:
        Garalzja:
            groups:
                - Elite Builders
            permissions:
        90tom84:
            groups:
                - Elite Builders
            permissions:
        Dannebrog:
            groups:
                - Elite Builders
            permissions:
        Mary:
            groups:
                - Elite Builders
            permissions:
        Neo920:
            groups:
                - Builders
            permissions:
        inko:
            groups:
                - Builders
            permissions:
        Melissa:
            groups:
                - Elite Builders
            permissions:
        DaveysWorld:
            groups:
                - Elite Builders
            permissions:
        Xurion:
            groups:
                - Elite Builders
            permissions:
        MrFail:
            groups:
                - Builders
            permissions:
        Trenom:
            groups:
                - Elite Builders
            permissions:
        GFE_Wout:
            groups:
                - Builders
            permissions:
        dylan:
            groups:
                - Elite Builders
            permissions:
        _Sinch_:
            groups:
                - Builders
            permissions:
        Hillion:
            groups:
                - Elite Builders
            permissions:
        bux:
            groups:
                - Elite Builders
            permissions:
        TheZrial:
            groups:
                - Elite Builders
            permissions:
        cheetaro:
            groups:
                - Builders
            permissions:
        remco666:
            groups:
                - Builders
            permissions:
        melwar:
            groups:
                - Elite Builders
            permissions:
        Jander:
            groups:
                - Builders
            permissions:
        The_GodRadiateur:
            groups:
                - Builders
            permissions:
        slachijt:
            groups:
                - Builders
            permissions:
        mrlijp0:
            groups:
                - Builders
            permissions:
        Heijmans:
            groups:
                - Builders
            permissions:
        Treyel:
            groups:
                - Elite Builders
            permissions:
    groups.yml:
    Code:
    groups:
        Guest:
            default: true
            info:
                prefix: ''
                suffix: '&e'
                build: false
            inheritance:
            permissions:
                - 'general.basic'
                - 'ThunderJoin.join'
                - 'chaircraft.sit'
        Builders:
            default: true
            info:
                prefix: '&b'
                suffix: '&e'
                build: true
            inheritance:
                - Guest
            permissions:
                - 'general.spawn'
                - 'general.teleport'
                - 'general.clear'
                - 'craftbook.*'
                - 'PhysicalShop.build'
                - 'PhysicalShop.use'
                - 'achievements.check '
                - 'achievements.view.*'
                - 'stats.log'
                - 'stats.view.*'
                - 'myhome.home.basic.*'
                - 'multiverse.world.spawn'
                - 'portalstick.placeportal'
                - 'portalstick.creategrill'
                - 'portalstick.deletegrill'
                - 'portalstick.teleport'
                - 'portalstick.damageboots'
                - 'itemdetector.*'
                - 'blockhead.hat'
                - 'showcase.basic'
                - 'tetris.use'
        Elite Builders:
            default: true
            info:
                prefix: '&a'
                suffix: '&e'
                build: true
            inheritance:
                - Builders
            permissions:
                - 'general.give.*'
                - 'general.kit'
                - 'general.kit.tools'
                - 'general.kit.armor'
                - 'magiccarpet.mc'
                - 'magiccarpet.ml'
                - 'achievements.check '
                - 'achievements.view.*'
                - 'stats.log'
                - 'stats.view.*'
        Moderators:
            default: false
            info:
                prefix: '&d'
                suffix: '&e'
                build: true
            inheritance:
                - Elite Builders
            permissions:
                - 'general.teleport.*'
                - 'general.time.*'
                - 'general.getpos.other'
                - 'general.clear.*'
                - 'general.take.*'
                - 'general.heal.*'
                - 'general.admin'
                - 'general.kit.edit'
                - 'general.weather'
                - 'permissions.reload'
                - 'BackupPlugin.backup'
                - 'BackupPlugin.admin'
                - 'worldedit.*'
                - 'worldguard.region.*'
                - '/stack'
                - '/reloadwg'
                - '/region'
                - '/regionclaim'
                - '/regionbypass'
                - 'PhysicalShop.*'
                - 'archievements.*'
                - 'stats.*'
                - 'kiwiadmin.*'
                - 'voidmage.*'
                - 'backup.canbackup'
                - 'vanish.vanish'
        Admins:
            default: false
            info:
                prefix: '&c'
                suffix: '&e'
                build: true
            inheritance:
            permissions:
                - '*'
    I copied the groups straight from my other v2 permissions file.
    I changed the users file so the groups are correct.
    What is wrong???
    EDIT:
    also, CraftBukkit 803
    Permissions 3.0.6
     
Thread Status:
Not open for further replies.

Share This Page