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

    Jeyge

    Global users works but it isn't the easiest thing to use. To set it up, you would want to look at example 2 in the Global vs World topic and delete all users from your users.yml files. The drawbacks are that your new users will still be added to the individual users.yml files so you will have to delete them and add each to the globalusers.yml file.
     
  3. Offline

    Hubok


    You missed a ' after factions.config and only used 3 spaces for Owner. I would post the fix, but the code in bbcode isn't working.
     
  4. Offline

    Jeyge

    I probably won't be able to help with the SQL data that you have but I can tell you what causes the error and it might lead you to what needs to be fixed. The error is caused by a user either being added to the users without a group or a user already being there that doesn't have a group. This triggers the code which tried to give that user the default group. Sometimes, when there are inheritance problems in the groups.yml, that error will show up. If you can find the user that is being added or is already in the tables and give them a group, it should make the error go away. Also, make sure you take a look at issue #142 as it has some information about the default group when used with SQL.
     
  5. Offline

    Spinner0205

    The provided web converter for YAML to SQL says to paste the yml file. Do I paste just my groups.yml or the users.yml or how exactly is it done? Because every time I try it only gives me the code for inserting the world.
     
  6. Offline

    Hubok

    May I suggest for promoting/demoting, you just use the following:
    /promote <username> <usergroup>
    /demote <username> <usergroup>
    And could you make it so not defining a usergroup sets their rank one higher/lower (or default if they have no group)?
     
  7. Offline

    FireFreak111

    Wow, It seems the developer of this plugin has ditched the project....
     
  8. Offline

    Daedalus733

    Her's my groups.yml for World. I made it quickly after reinstalling just to test.
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'multiverse.tp'
        SuperAdmin:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    I'm unsure what's wrong with it.
     
  9. Offline

    Sc1234freak

    Thanks for the help, I do appreciate it.
    Thanks to your post, I just realized that I never assigned rank to the users I added to the database. After cross referencing the SQL Database Schema in the wiki, I realized that I don’t know what table to do this in. Where exactly do I assign users to my groups?
    Also, I noticed when I start the world, in the 'prworlds' table it adds a world named '*'. Is this normal?
    Thanks again,
    Sc1234freak
    Legit Minecraft Lead Administrator
    ---
    EDIT: After more research I now know that it is for the default world. I went ahead and created an row with and id of '0' and named it '*' in 'prworlds'. I then created a row on 'prentries' with the values of "0, Guest, 0, 1". I then assigned the defualt group to the defualt world in the 'prworldbase' table, however I am still having issues. How exactly to I assign groups to users?
     
  10. Offline

    Michael Jumes

    Someone please help me my permissions is not working for some reason. I have watched several tuts on how to use it but all of them didn't fix my permissions. I have also parsed the YAML and it showed no errors. These are my YAMLs:
    users:
    mj82912:
    groups:
    - Admin
    permissions:
    FriendA:
    info:
    prefix: '&4[~Alice~]&f'
    groups:
    - Moderator
    permissions:
    FriendB:
    groups:
    - Moderator
    permissions:
    - warpplugin.manage.*
    NewGuy:
    groups:
    - Guest
    Herpina:
    groups:
    - Member
    Derpina:
    groups:
    - Member




    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance:
    Member:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - warpplugin.warp
    - econplugin.basic.*
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Member
    permissions:
    - modplugin.ban
    - modplugin.kick
    - modplugin.unban
    Admins:
    default: false
    info:
    prefix: Admin
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
     
  11. Offline

    Michael Jumes

    These are my YAML files. PLEASE HELP I WANT TO BE ABLE TO HOST A MINECRAFT SERVER!!!!!
     

    Attached Files:

  12. Offline

    Daedalus733

    Those are just the default files. The permissions there are examples, you have to put in your own information and permissions from other plugins you use.
     
  13. Offline

    L4yr3k

    Hey community
    i have a problem with permissions

    My plugins are AdminCmd;Falsebook; Wolrdedit & WorldGuard and ichat-p3

    alsomy problem is:

    Since then I have permissions false book no longer works.
    I can not create ics and no use except to create permisions before Ics. [I just lifts and transmitter and receiver have created. the transmitter and receiver still work but not the lifts]
    I can also use any other ics
    ichat and doesent works, too.

    here is the text that stand in the Cmd
    Code:
    21:04:26 [SCHWERWIEGEND] mapping values are not allowed here
     in "<reader>", line 4, column 16:
                 prefix: '&4[ADMIN]&4'
                       ^
    
    21:04:26 [SCHWERWIEGEND]        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchV
    alue(ScannerImpl.java:745)
    21:04:26 [SCHWERWIEGEND]        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchM
    oreTokens(ScannerImpl.java:307)
    21:04:26 [SCHWERWIEGEND]        at org.yaml.snakeyaml.scanner.ScannerImpl.checkT
    oken(ScannerImpl.java:183)
    21:04:26 [SCHWERWIEGEND]        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlo
    ckMappingKey.produce(ParserImpl.java:564)
    21:04:26 [SCHWERWIEGEND]        at org.yaml.snakeyaml.parser.ParserImpl.peekEven
    t(ParserImpl.java:163)
    21:04:26 [SCHWERWIEGEND]        at org.yaml.snakeyaml.parser.ParserImpl.checkEve
    nt(ParserImpl.java:148)
    21:04:26 [SCHWERWIEGEND]        at org.yaml.snakeyaml.composer.Composer.composeM
    appingNode(Composer.java:228)
    21:04:26 [SCHWERWIEGEND]        at org.yaml.snakeyaml.composer.Composer.composeN
    ode(Composer.java:160)
    21:04:26 [SCHWERWIEGEND]        at org.yaml.snakeyaml.composer.Composer.composeM
    appingNode(Composer.java:230)
    21:04:26 [SCHWERWIEGEND]        at org.yaml.snakeyaml.composer.Composer.composeN
    ode(Composer.java:160)
    21:04:26 [SCHWERWIEGEND]        at org.yaml.snakeyaml.composer.Composer.composeD
    ocument(Composer.java:122)
    21:04:26 [SCHWERWIEGEND]        at org.yaml.snakeyaml.composer.Composer.getSingl
    eNode(Composer.java:105)
    21:04:26 [SCHWERWIEGEND]        at org.yaml.snakeyaml.constructor.BaseConstructo
    r.getSingleData(BaseConstructor.java:124)
    21:04:26 [SCHWERWIEGEND]        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    21:04:26 [SCHWERWIEGEND]        at org.bukkit.util.config.Configuration.load(Con
    figuration.java:82)
    21:04:26 [SCHWERWIEGEND]        at com.nijiko.data.YamlUserStorage.performConver
    sion(YamlUserStorage.java:35)
    21:04:26 [SCHWERWIEGEND]        at com.nijiko.data.YamlUserStorage.<init>(YamlUs
    erStorage.java:30)
    21:04:26 [SCHWERWIEGEND]        at com.nijiko.data.YamlCreator.getUserStorage(Ya
    mlCreator.java:33)
    21:04:26 [SCHWERWIEGEND]        at com.nijiko.data.StorageFactory.getUserStorage
    (StorageFactory.java:76)
    21:04:26 [SCHWERWIEGEND]        at com.nijiko.permissions.ModularControl.forceLo
    adWorld(ModularControl.java:95)
    21:04:26 [SCHWERWIEGEND]        at com.nijiko.permissions.ModularControl.loadWor
    ld(ModularControl.java:86)
    21:04:26 [SCHWERWIEGEND]        at com.nijiko.permissions.ModularControl.load(Mo
    dularControl.java:116)
    21:04:26 [SCHWERWIEGEND]        at com.nijikokun.bukkit.Permissions.Permissions.
    setupPermissions(Permissions.java:181)
    21:04:26 [SCHWERWIEGEND]        at com.nijikokun.bukkit.Permissions.Permissions.
    onLoad(Permissions.java:133)
    21:04:26 [SCHWERWIEGEND]        at org.bukkit.craftbukkit.CraftServer.loadPlugin
    s(CraftServer.java:131)
    21:04:26 [SCHWERWIEGEND]        at org.bukkit.craftbukkit.CraftServer.<init>(Cra
    ftServer.java:97)
    21:04:26 [SCHWERWIEGEND]        at net.minecraft.server.ServerConfigurationManag
    er.<init>(ServerConfigurationManager.java:51)
    21:04:26 [SCHWERWIEGEND]        at net.minecraft.server.MinecraftServer.init(Min
    ecraftServer.java:132)
    21:04:26 [SCHWERWIEGEND]        at net.minecraft.server.MinecraftServer.run(Mine
    craftServer.java:335)
    21:04:26 [SCHWERWIEGEND]        at net.minecraft.server.ThreadServerApplication.
    run(SourceFile:422)
    21:04:26 [SCHWERWIEGEND] [Permissions] Unable to load permission data.
    21:04:26 [SCHWERWIEGEND] [Permissions] Shutting down Permissions due to error(s)
    .
    21:04:26 [INFORMATION] [Permissions] (Yeti) was initialized.
    21:04:26 [INFORMATION] [Permissions] (Yeti) disabled successfully.
    21:04:26 [INFORMATION] Preparing level "Nexus"
    21:04:26 [INFORMATION] Preparing start region for level 0 (Seed: -78950340136294
    5381)
    21:04:27 [INFORMATION] Preparing start region for level 1 (Seed: -78950340136294
    5381)
    21:04:27 [INFORMATION] Preparing spawn area: 65%
    21:04:28 [INFORMATION] [FalseBook Block] 3100 Books loaded!
    21:04:28 [INFORMATION] FalseBookBlock v0.87alpha DEV#3 by GeMo enabled
    21:04:28 [INFORMATION] [FalseBook Block] 2 Cauldrons successfully loaded.
    21:04:28 [INFORMATION] FalseBookCart v0.87alpha DEV#3 by GeMo enabled
    21:04:28 [INFORMATION] [FalseBook Chat] 0 ChatRooms loaded.
    21:04:28 [INFORMATION] FalseBookChat v0.87alpha DEV#2 by GeMo enabled
    21:04:28 [INFORMATION] [FalseBook Core] FalseBookCore v0.87alpha DEV#3 by GeMo e
    nabled!
    21:04:28 [INFORMATION] FalseBookExtra v0.87alpha DEV#3 by GeMo enabled
    21:04:28 [INFORMATION] FalseBookIC v0.87alpha DEV#3 by GeMo enabled
    21:04:28 [INFORMATION] [Permissions] SQL Interface enabled!
    21:04:28 [INFORMATION] WorldEdit 4.6 enabled.
    21:04:28 [INFORMATION] WorldEdit: No known permissions plugin detected. Using co
    nfiguration file for permissions.
    21:04:28 [INFORMATION] WorldGuard: No known permissions plugin detected. Using c
    onfiguration file for permissions.
    21:04:28 [INFORMATION] WorldGuard: (Nexus) Single session is enforced.
    21:04:28 [INFORMATION] WorldGuard: (Nexus) TNT ignition is PERMITTED.
    21:04:28 [INFORMATION] WorldGuard: (Nexus) Lighters are PERMITTED.
    21:04:28 [INFORMATION] WorldGuard: (Nexus) Lava fire is blocked.
    21:04:28 [INFORMATION] WorldGuard: (Nexus) Fire spread is UNRESTRICTED.
    21:04:28 [INFORMATION] WorldGuard: Loaded configuration for world 'Nexus"
    21:04:28 [INFORMATION] WorldGuard: (Nexus_nether) Single session is enforced.
    21:04:28 [INFORMATION] WorldGuard: (Nexus_nether) TNT ignition is PERMITTED.
    21:04:28 [INFORMATION] WorldGuard: (Nexus_nether) Lighters are PERMITTED.
    21:04:28 [INFORMATION] WorldGuard: (Nexus_nether) Lava fire is blocked.
    21:04:28 [INFORMATION] WorldGuard: (Nexus_nether) Fire spread is UNRESTRICTED.
    21:04:28 [INFORMATION] WorldGuard: Loaded configuration for world 'Nexus_nether"
    
    21:04:28 [INFORMATION] WorldGuard: 1 regions loaded for 'Nexus'
    21:04:28 [INFORMATION] WorldGuard 5.2.2 enabled.
    21:04:28 [INFORMATION] [iChat] Permissions plugin not found or wrong version. Di
    sabling
    21:04:28 [INFORMATION] [iChat] iChat Disabled
    21:04:28 [INFORMATION] [AdminCmd] Plugin Enabled. (version 5.7.1)
    21:04:28 [INFORMATION] [AdminCmd] bal_extinguish has all his alias already regis
    tered. Command deactivated
    21:04:28 [INFORMATION] [AdminCmd] Disabled Alias(es) for bal_playerheal : heal,
    
    21:04:28 [INFORMATION] [AdminCmd] Disabled Alias(es) for bal_undo : undo,
    21:04:28 [INFORMATION] [AdminCmd] Disabled Alias(es) for bal_god : god,
    21:04:28 [INFORMATION] Server permissions file permissions.yml is empty, ignorin
    g it
    21:04:28 [INFORMATION] Done (0,219s)! For help, type "help" or "?"
    21:04:28 [INFORMATION] [FalseBook Block] 0 Bridges successfully loaded.
    21:04:28 [INFORMATION] [FalseBook Block] 0 Doors successfully loaded.
    21:04:29 [INFORMATION] [FalseBook Block] 16 protected gateblocks successfully lo
    aded.
    21:04:32 [INFORMATION] [FalseBook IC] Loaded selftriggered ICs: 36 done
    21:04:32 [INFORMATION] [FalseBook IC] Loaded selftriggered ICs: 16 failed
    21:04:32 [INFORMATION] [FalseBook IC] List of failed ICs:
    21:04:32 [INFORMATION] [FalseBook IC] ID: 2, [MC1110] @ Location - World: Nexus
    , X: -64 , Y: 64 , Z: 53
    21:04:32 [INFORMATION] [FalseBook IC] ID: 3, [MC0111] @ Location - World: Nexus
    , X: -59 , Y: 64 , Z: 55
    21:04:32 [INFORMATION] [FalseBook IC] ID: 4, [MC1110] @ Location - World: Nexus
    , X: -67 , Y: 64 , Z: 52
    21:04:32 [INFORMATION] [FalseBook IC] ID: 6, [MC0111] @ Location - World: Nexus
    , X: -61 , Y: 64 , Z: 48
    21:04:32 [INFORMATION] [FalseBook IC] ID: 8, [MC0111] @ Location - World: Nexus
    , X: -75 , Y: 79 , Z: -6
    21:04:32 [INFORMATION] [FalseBook IC] ID: 12, [MC1110] @ Location - World: Nexus
     , X: -54 , Y: 64 , Z: -7
    21:04:32 [INFORMATION] [FalseBook IC] ID: 13, [MC1110] @ Location - World: Nexus
     , X: -53 , Y: 64 , Z: -16
    21:04:32 [INFORMATION] [FalseBook IC] ID: 14, [MC1110] @ Location - World: Nexus
     , X: -53 , Y: 64 , Z: -11
    21:04:32 [INFORMATION] [FalseBook IC] ID: 15, [MC1110] @ Location - World: Nexus
     , X: -52 , Y: 65 , Z: -11
    21:04:32 [INFORMATION] [FalseBook IC] ID: 16, [MC1110] @ Location - World: Nexus
     , X: -52 , Y: 65 , Z: -12
    21:04:32 [INFORMATION] [FalseBook IC] ID: 17, [MC1110] @ Location - World: Nexus
     , X: -54 , Y: 65 , Z: -11
    21:04:32 [INFORMATION] [FalseBook IC] ID: 18, [MC1110] @ Location - World: Nexus
     , X: -54 , Y: 65 , Z: -12
    21:04:32 [INFORMATION] [FalseBook IC] ID: 20, [MC1110] @ Location - World: Nexus
     , X: -54 , Y: 64 , Z: -9
    21:04:32 [INFORMATION] [FalseBook IC] ID: 41, [MC0111] @ Location - World: Nexus
     , X: -45 , Y: 62 , Z: 8
    21:04:32 [INFORMATION] [FalseBook IC] ID: 60, [MC1110] @ Location - World: Nexus
     , X: -80 , Y: 66 , Z: -21
    21:04:32 [INFORMATION] [FalseBook IC] ID: 61, [MC1110] @ Location - World: Nexus
     , X: -80 , Y: 66 , Z: -22
    and here are the permissions.yml for users and groups
    Users
    Code:
    users:
        L4yr3k:
          info
             prefix: '&4[ADMIN]&4'
            groups:
            - Admins
            permissions:
            - 'admincmd.server.*'
            - 'falsebook.anyic'
            - 'falsebook.blocks.*'
            - 'falsebook.destroy.blocks'
            - 'falsebook.blocks.lift'
            - '*'
        chriss:
            info:
                prefix: ''
            groups:
            - Moderator
            permissions:
            - 'admincmd.server.*'
        Player:
            groups:
            - Moderator
            permissions:
            - 'admincmd.server.*'
    
    the falsebook permissions i just put there in, because I was suspicious
    or sould they be in?


    and Groups:
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
        Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'admincmd.player.list'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Member
            permissions:
                - 'admincmd.time.set'
                - 'admincmd.time.day'
                - 'admincmd.tp.players'
                - 'admincmd.player.heal'
                - 'admincmd.player.heal.other'
                - 'admincmd.player.clear'
                - 'admincmd.weather.clear'
        Admins:
            default: false
            info:
                prefix: '&4[ADMIN]&4'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    did i something wrong?:confused:

    sry for so much text
    and sry for my bad english I used a translater :)
    because im not from England or Amerika :)

    i hope you can help me ;)
     
  14. Offline

    Sc1234freak

    At the top of the error log, it says the line where the typo exists. It is most likely a space issue, make sure you use a program like Notepad++ to edit YAML files and don't use tabs.
    Code:
    in "<reader>", line 4, column 16
     
  15. Offline

    L4yr3k

    i edited the Yaml file with Notepad++ and i don't used just space
    but can i somehow make tab viible if i used it (with notepad++)??
     
  16. Offline

    Jeyge

    You are missing a : on line 3 in your users.yml file.
    Code:
          info
    
     
  17. Offline

    L4yr3k

    i corrected it but falsebook doesen't work and ichat ,too
     
  18. Offline

    panade

    is there a easy sollution to use permissions 3 without getting read time outs and server freezes? i localized permissions at the source of my read time outs.

    could a downgrade may help? if yes to wich version?
     
  19. Hey, I am getting a null object when doing:
    Group groupObject = permHandler.getGroupObject(worldname, player.getName());
    why?
     
  20. Offline

    Solo7319

    I've been having problems figuring out how to use Permissions to create universal Permissions over a 3 world server.
    Do I ignore the files in the individual world folders and just use the globalGroups.yml and globalUsers.yml? Or do I have to set up identical, individual folders just to retain cross-world continuity? I tried to set it up with a combination of the two, and promptly crashed Permissions. I tried looking at the 'Global vs World' GitHub page, but it just confused me more. I have brought Permissions back to default, but saved my old globalGroups.yml, as it has my old groups setup.
    Thanks in advance for any advice that you guys can give. :)
     
  21. Offline

    Jeyge

    Because the second parameter to getGroupObject() takes the group name and not a player name.
    Some have had luck using 3.1.5 and others the version posted in the devs profile.
    What about FalseBook and iChat isn't working?

    If you want all of your permissions to be the same on all worlds, then use example 1 from the Global vs World topic. If you want to have different permissions on all worlds but all users to be in the same rank, then use example 2.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  22. Offline

    panade

    devs profile on guthub or on this forums? dont rly get where to keep that.
    i also was this custom build of 3.2 it also solves the problem but i cant restart or stop the server with it :-\
     
  23. Offline

    Solo7319

    What about if I want my users to have both the same rank when they change worlds, and also the same permissions?
    So, I looked at the Global vs World page again, and it made some sense this time. Thanks to you, I've almost figured it out, except for a couple of things. The example storageconfig.yml looks like this:
    Code:
    permissions:
      storage:
        type: YAML
        worldcopy:
            world2: world1
    So, with the extra world, should mine look like this:
    Code:
    permissions:
        storage:
            type: YAML
            worldcopy:
                world2: world1
                world3: world1
    or like this:
    Code:
    permissions:
        storage:
            type: YAML
            worldcopy:
                world3: world2: world1
    
    and yes, I know that these examples aren't in proper format with 4 spaces, etc.
     
  24. Offline

    Jeyge

    His profile here. I didn't quite understand the rest of what you said.
    That would be example 1 then. You set all permissions and users in say plugins\permissions\world for both groups.yml and users.yml and then use worldcopy to keep all of the other worlds in sync with world.

    That is a good question which I don't know the answer to but it should be pretty easy to figure out. Or, if what you are really looking for is the highest rank/primary group, you can then use getPrimaryGroup().

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 28, 2018
    Solo7319 likes this.
  25. So, how do I get the group a player belongs to?
     
  26. Offline

    Jeyge

    getGroups(), the one you asked about before.

    There is some information about building problems in the wiki FAQ that might help. If not, come back here and post the requested information.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  27. Offline

    Solo7319

    sorry for editing my post so drastically, please answer it again. :oops:
     
  28. Offline

    Jeyge

    I'll go make that more clear right now but you should go with your second file:
    Code:
    permissions:
        storage:
            type: YAML
            worldcopy:
                world2: world1
                world3: world1
     
    Solo7319 likes this.
  29. And the last String is the highest rank, or the last rank in the yml file that applies?
     
  30. Offline

    JustMeFlex

    I can't build or destroy anything with this plugin on. Even though I am op and in an admin group with -'*' permission. I've tried running my server with only this plugin and i still get the problem, but without it's fine

    I don't get any errors and all my plugins work fine, even worldedit. I just can't build and mine the regular way
     
  31. Offline

    JustMeFlex

    I never read the wiki FAQ only the one in the post.
    It didn't work though, i set spawn-radius to 0, though i haven't done anything with build so that might be the problem. I just don't know how to set build to true.


    I made copies of all the files with the extension txt in order to upload them.
    Of course they have the real extensions in minecraft
     

    Attached Files:

Thread Status:
Not open for further replies.

Share This Page