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

    d0m182

    HELP! WHEN ever i load up my server i get along error code and cannot build, this only happens when i use more then 12 Plugins though, im really confused please help the server log is:
    Code:
    148 recipes
    16 achievements
    17:19:00 [INFO] Starting minecraft server version Beta 1.6.6
    17:19:00 [INFO] Loading properties
    17:19:00 [INFO] Starting Minecraft server on *:25565
    17:19:00 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-
    g3fc0460-b818jnks (MC: 1.6.6)
    17:19:00 [INFO] Preparing level "world"
    17:19:00 [INFO] Preparing start region for level 0
    17:19:01 [INFO] Preparing start region for level 1
    17:19:01 [INFO] Preparing spawn area: 0%
    17:19:02 [SEVERE] Could not load 'plugins\PermissionsSql.jar' in folder 'plugins
    ':
    java.lang.NoClassDefFoundError: com/nijiko/data/StorageCreator
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:167)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:194)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:117)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:103)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.data.StorageCreator
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 11 more
    17:19:02 [INFO] [Permissions] (Yeti) was initialized.
    17:19:02 [INFO] [ColorMe] v2.2 has been enabled.
    17:19:02 [INFO] [CommandSigns] 0.8.5 enabled.
    17:19:02 [INFO] CommandSigns: Integrated with Permissions
    17:19:02 [SEVERE] java.lang.NullPointerException
    17:19:02 [SEVERE]       at com.herocraftonline.dthielke.herochat.util.ConfigMana
    ger.loadChannels(ConfigManager.java:102)
    17:19:02 [SEVERE]       at com.herocraftonline.dthielke.herochat.util.ConfigMana
    ger.load(ConfigManager.java:49)
    17:19:02 [SEVERE]       at com.herocraftonline.dthielke.herochat.HeroChat.onEnab
    le(HeroChat.java:128)
    17:19:02 [SEVERE]       at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:125)
    17:19:02 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:750)
    17:19:02 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:253)
    17:19:02 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:134)
    17:19:02 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:112)
    17:19:02 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:232)
    17:19:02 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:219)
    17:19:02 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:146)
    17:19:02 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:285)
    17:19:02 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    17:19:02 [WARNING] [HeroChat] Error encountered while loading data. Check your c
    onfig.yml and users.yml. Disabling HeroChat.
    17:19:02 [INFO] [HeroChat] HeroChat version 4.10.3 disabled.
    17:19:02 [INFO] [HeroicDeath] 1.8.1.156 enabled.
    17:19:02 [INFO] 280
    17:19:02 [INFO] 50
    17:19:02 [INFO] [Jail] Loaded 1 jail zones.
    17:19:02 [INFO] [Jail] Loaded 2 prisoners.
    17:19:02 [INFO] [Jail] Loaded 0 cells.
    17:19:02 [INFO] [MYWARP]: 34 warps loaded
    17:19:02 [INFO] [MYWARP] Permissions enabled using: Permissions v3.1.1
    17:19:02 [WARNING] [MYWARP] 'Help' isn't detected. No /help support.
    17:19:02 [INFO] MyWarp 1.10.7 enabled
    17:19:02 [INFO] [Permissions] version [3.1.1] (Yeti)  loaded
    17:19:02 [INFO] [HeroChat] Permissions 3.1.1 found.
    17:19:02 [INFO] PlgEssentials version 4.6 is enabled!
    17:19:02 [INFO] PlgSetspawn version 4.1 is enabled!
    17:19:02 [INFO] [SimpleSign] Permissions system detected!
    17:19:02 [INFO] [SimpleSign] Version 1.3 has been enabled!
    17:19:02 [INFO] [WeatherControl] Loaded configuration for world 'world'
    17:19:02 [INFO] [WeatherControl] Loaded configuration for world 'world_nether'
    17:19:02 [INFO] [WeatherControl] version 0.8.2 is enabled!
    17:19:02 [INFO] WorldEdit 4.4 enabled.
    17:19:02 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
     for permissions.
    17:19:03 [INFO] Done (0.251s)! For help, type "help" or "?"
    >
     
  3. Offline

    po24

    12:20:09 [SEVERE] java.lang.IllegalAccessError: tried to access class com.nijiko​
    .permissions.ModularControl$1RefreshTask from class com.nijiko.permissions.Modul​
    arControl​
    12:20:09 [SEVERE] at com.nijiko.permissions.ModularControl.<init>(ModularC​
    ontrol.java:54)​
    12:20:09 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.setupPer​
    missions(Permissions.java:180)​
    12:20:09 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P​
    ermissions.java:138)​
    12:20:09 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS​
    erver.java:106)​
    12:20:09 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServe​
    r.java:232)​
    12:20:09 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe​
    r.java:219)​
    12:20:09 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftSe​
    rver.java:146)​
    12:20:09 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer​
    ver.java:285)​
    12:20:09 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour​
    ceFile:422)​
    12:20:09 [SEVERE] [Permissions] Unable to load permission data.​
    12:20:09 [INFO] [Permissions] Shutting down Permissions due to error(s).​

    I get this error on startup. I checked my YAML and it is ok.​

     
  4. Offline

    Jeyge

    Spacing is very important in yml files and in this case, your - Owner needs to be in line with the groups: tag at a minimum. Add 4 spaces before the - and you should be good.
    First thing to try is to run both Permissions and PermissionsSql with the 3.1.2 versions. It looks like you have 3.1.1 of Permissions and 3.1.2 of PermissionsSql. Second would be to remove MyWarp if the first suggestion doesn't work.

    Remove MyHome and/or MyWarp.

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

    maxexcloo

    Will this be fixed or do I have to find a new warp plugin...
     
  6. Offline

    Jeyge

    MyHome says they have a fix already but haven't released it yet. MyWarp says they don't care. The dev of Permissions says he may have a fix for it. So overall, I have no idea. :(
     
  7. Offline

    d0m182

    i tried both things and nothing worked any other ideas :(
     
  8. Offline

    Rafuros

    i cant make myself admin! can you see anything wrong?

    Code:
    {
      "Admin": {
        "default": false,
        "info": {
          "prefix": "",
          "build": true,
          "suffix": ""
        },
        "permissions": [
          "*",
        ],
        "inheritance": []
      },
      "groups": {
        "Player": {
          "default": true,
          "info": {
            "prefix": "",
            "build": true,
            "suffix": ""
          },
          "permissions": [
            "factions.participate",
            "factions.create",
            "iConomy.access",
            "iConomy.bank.access",
            "iConomy.bank.deposit",
            "iConomy.bank.join",
            "iConomy.bank.leave",
            "iConomy.bank.list",
            "iConomy.bank.main",
            "iConomy.bank.main.change",
            "iConomy.bank.main.set",
            "iConomy.bank.main.view",
            "iConomy.bank.transfer",
            "iConomy.bank.transfer.multiple",
            "iConomy.bank.withdraw",
            "iConomy.list",
            "iConomy.payment",
            "iConomy.rank",
            "lottery.buy",
            "mcmmo.motd",
            "mcmmo.commands.ability",
            "mcmmo.commands.whois",
            "mcmmo.ability.woodcutting",
            "mcmmo.ability.mining",
            "mcmmo.ability.axes",
            "mcmmo.ability.excavation",
            "mcmmo.ability.swords",
            "mcmmo.ability.unarmed",
            "mcmmo.ability.herbalism",
            "mcmmo.skills.*"
            "lwc.protect",
            "iConomyChestShop.shop.create.<id>",
            "iConomyChestShop.command.iteminfo",
            "iConomyChestShop.shop.buy",
            "iConomyChestShop.shop.sell",
    
          ],
          "inheritance": []
        }
      }
    }
    
    
    Users.yml
    
    {
      "users": {
        "Rafuros": {
          "groups": "Admin", 
          "permissions": "*"
        }, 
        "BlueByte": {
          "permissions": "*"
        }, 
        "groups": "Admin"
      }
    }
    
    
    
     
  9. Offline

    jbMurdock

    What do all those " and {} do in your file???
     
  10. Offline

    Jeyge

    Post your server.log again.
    Looks like you ran your file thru a parser then copied the output from there. While this is a valid yml file, it is made for other languages and probably won't work for Permissions. I would convert your original again and make it look like the examples.

    They cause tons of problems. :) The file was converted to the json version of yml.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 10, 2018
  11. Offline

    1nsane89

    I have a problem with this aswell:

    Craftbukkit 818
    Server plugins:
    BigBrother
    CraftBook
    Essentials
    Multiverse
    Mywarp
    Permissions 3.1.2
    Proper time
    World edit
    World guard

    [​IMG]

    Users.yml for all worlds
    Code:
    users:
        theManiac696:
            groups:
                - Admins
        1nsane89:
            groups:
                - Admins
    Groups.yml for our main world, the others have some permissions removed/added, othervise they are copypaste
    Code:
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - essentials.me
                - essentials.home
                - essentials.sethome
                - essentials.mail
                - essentials.mail.send
                - essentials.spawn
                - essentials.help
                - essentials.afk
                - essentials.msg
                - essentials.motd
                - craftbook.mech.bookshelf.use
                - craftbook.mech.cauldron
                - craftbook.mech.light-switch
                - craftbook.mech.bridge
                - craftbook.mech.elevator
                - craftbook.mech.elevator.use
                - craftbook.mech.gate
                - essentials.signs.free.use
                - essentials.signs.disposal.create
                - essentials.signs.disposal.use
                - essentials.signs.heal.use
                - essentials.signs.trade.create
                - essentials.signs.trade.use
                - essentials.signs.buy.use
                - essentials.signs.sell.use
                - essentials.signs.mail.create
                - essentials.signs.mail.use
                - essentials.list
                - essentials.rules
                - essentials.back.ondeath
                - essentials.signs.protection.create
                - essentials.signs.protection.use
                - worldguard.region.claim
                - worldguard.region.define
                - worldguard.region.redefine
                - worldguard.region.select
                - worldguard.region.flag
                - worldguard.region.addmember
                - worldguard.region.addowner
                - worldguard.region.removemember
                - worldguard.region.removeowner
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
     
  12. Offline

    mavbear

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: '&7'
                build: false
                suffix: ''
                rank: 1
            inheritance:
            permissions:
                - 'commandbook.spawn'
                - 'mcdocs.*'
                - 'craftbook.who'
                - 'commandbook.who'
                - 'chaircraft.sit'
                - 'SpawnControl.spawn.use'
                - 'SpawnControl.groupspawn.use'
                - 'SpawnX.spawn'
        Respected:
            default: false
            permissions:
                - 'commandbook.kit'
                - 'commandbook.msg'
                - 'commandbook.rules'
                - 'commandbook.say'
                - 'commandbook.say.me'
                - 'commandbook.spawn'
                - 'commandbook.who'
                - 'craftbook.*'
                - 'craftbook.mech.bookcase.use'
                - 'craftbook.mech.elevator.use'
                - 'ecoCreature.Creature.*'
                - 'HomeX.*'
                - 'iConomy.access'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'iConomy.rank'
                - 'iConomyChestShop.shop.*'
                - 'iConomyChestShop.command.iteminfo'
                - 'lwc.protect'
                - 'mcmmo.ability.*'
                - 'mcmmo.commands.ability'
                - 'mcmmo.skills.*'
                - 'commandbook.whereami'
                - 'commandbook.whereami.compass'
                - 'commandbook.whois'
                - 'commandbook.whois.other'
                - 'craftbook.mech.bridge'
                - 'craftbook.mech.cauldron'
                - 'craftbook.mech.elevator'
                - 'craftbook.mech.gate'
                - 'craftbook.mech.light-switch'
                - 'warp.to.own'
                - 'warp.to.invited'
                - 'warp.to.other'
                - 'warp.to.global'
                - 'warp.sign.to.*'
                - 'warp.command.list'
                - 'warp.command.search'
                - 'warp.command.info'
                - 'warp.to.*'
                - 'mcdocs.*'
                - 'warp.command.*'
                - 'chaircraft.sit'
                - 'showcase.basic'
                - 'showcase.finite'
                - 'showcase.buy.finite'
                - 'showcase.buy.infinite'
            inheritance:
            info:
                prefix: '&2'
                build: true
                suffix: ''
                rank: 2
                warp:
                    timers:
                        warmup:
                            private: 10
                            public: 10
                        cooldown:
                            private: 30
                            public: 30
        Donor:
            default: false
            permissions:
                - 'warp.create.private'
                - 'warp.edit.delete'
                - 'warp.edit.invite.add'
                - 'warp.edit.invite.delete'
                - 'warp.edit.message'
                - 'warp.edit.update'
                - 'warp.edit.rename'
                - 'warp.to.*'
                - 'chaircraft.sit'
                - 'showcase.basic'
                - 'showcase.finite'
                - 'showcase.buy.finite'
                - 'showcase.buy.infinite'
                - 'warp.create.*'
            inheritance:
                - Respected
            info:
                prefix: '&a'
                build: true
                suffix: ''
                rank: 3
                warp:
                    timers:
                        warmup:
                            private: 5
                            public: 5
                        cooldown:
                            private: 20
                            public: 20
                    limit:
                        public: 3
        Mod:
            default: false
            permissions:
                - 'commandbook.clear'
                - 'commandbook.give'
                - 'commandbook.give.stacks'
                - 'commandbook.give.unlimited'
                - 'commandbook.kick'
                - 'commandbook.spawn'
                - 'commandbook.teleport'
                - 'commandbook.teleport.other'
                - 'commandbook.time'
                - 'commandbook.warp'
                - 'craftbook.ban'
                - 'craftbook.unban'
                - 'nocheat.flying'
                - 'tpp.*'
                - 'tpp.mod.*'
                - 'tpp.others.*'
                - 'warp.to.*'
                - 'chaircraft.sit'
            inheritance:
                - Donor
            info:
                prefix: '&b'
                build: true
                suffix: ''
                rank: 10
        Admin:
            default: false
            permissions:
                - '*'
            inheritance:
                - Mod
            info:
                prefix: '&9'
                build: true
                suffix: ''
                rank: 20
    Why does this make everyone on the server 'default'? I don't see what's wrong with this groups file.
     
  13. Offline

    angro

    all plugins
    Residence
    Regios
    LatencyTester
    MoveCraft
    MapClone
    mxTimedDoors
    NeoMeteorites
    FalseBook
    BigBrother
    Elevators
    one mistake
    Code:
    [SEVERE] java.lang.IllegalAccessError: tried to access class com.nijiko.permissions.ModularControl$1RefreshTask from class com.nijiko.permissions.ModularControl
    [SEVERE]     at com.nijiko.permissions.ModularControl.<init>(ModularControl.java:54)
    [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:180)
    [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:138)
    [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:106)
    [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    [SEVERE] [Permissions] Unable to load permission data.
    bukkit 818
    permissions 3.1.2
     
  14. Offline

    Jeyge

    Remove MyWarp and see if that fixes things.
    You don't have the normal MyWarp or MyHome so I can only suggest you remove plugins until it starts to work. I would start with BigBrother.
     
  15. Offline

    mavbear

    Any advice for my situation above? ^
     
  16. Offline

    StClaus

    I don't understand these all commands. I need one command.
    For example:
    /pr add USERNAME GROUP

    How i can add a User to a Group?
     
  17. Offline

    Jeyge

    For 2.7, you will need to include your users at the bottom of the file. If you decided to still give 3.x a try, then that file doesn't decide what group a user is assigned to so you will need to post your users.yml file.

    "/pr <user> parents add <group>" or "/pr <user> w:<world> parents add <group>" if you have multiple worlds.

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

    mavbear

    Code:
    users:
        FirecatTheTwit:
            group: Mod
        GodofSauce:
            group: Admin
            info:
                prefix: '&6'
        clixter:
            group: Admin
            info:
                prefix: '&f'
        Demon8779:
            group: Admin
            info:
                prefix: '&4'
        mavbear:
            group: Admin
            info:
                color: '&9'
                prefix: '&6'
        SunkenBoat:
            group: Admin
            info:
                prefix: '&d'
        Lediard:
            group: Admin
        KyoDemer:
            group: Admin
    (This is for P3.)

    Still don't see what's wrong with it. I should be in the Admin group, but everyone gets placed in the Default group... but they still have access to WorldEdit tools like cuboid and stuff.. but not the feather. The whole thing is a clusterf**k and it makes me sad all day. :(

    Any help would be greatly appreciated, thanks duder.
     
  19. Offline

    1nsane89

    I see... taking out Craftbook fixes it, but we WANT it to be there so... problem....
     
  20. Offline

    StClaus

    I have write: "/pr maladus4 parents add Member"
    So i get these error: User/Group does not exist"
     
  21. Offline

    mavbear

    I think Craftbook runs on Permissions 2.x stuff, the creator hasn't updated it in eons.
     
  22. Offline

    Jeyge

    Well, I saw your nerdrage earlier and I see you now removed it which is good. And if you just ask questions, you will receive responses. Oh, and I'm not a duder. Perhaps a dude but not a duder.

    As for what is wrong, you didn't convert your users.yml file to the correct 3.0 format. You need to change your group: Admin to:
    Code:
            groups:
                - Admins
    
     
  23. Offline

    mavbear

    I was fighting with the bastard for over an hour before posting, my bad. :3
    I'll make the necessary changes and return with the results.
     
  24. Offline

    Jeyge

    Try adding the world parameter and see if that helps. If not, post your server.log and all permissions files.
    It might be best to switch back to 2.7.4 until these problems are ironed out. People living without MyHome or MyWarp isn't as bad as not having CraftBook.
     
  25. Offline

    1nsane89

    Right, tried to change to FalseBook and it gives the same error, so that means for some reason Permissions 3.1.2 does not like this type of plugin.
     
  26. Offline

    Jeyge

    It seems to be a combination of things. MyHome/MyWarp seems to cause the problem the most. This is the first time I've seen CraftBook and FalseBook. Early reports pointed to dynmap and BigBrother. And the rest seemed to have something to do with 12+ plugins. Hopefully, we'll have a fix soon. I think there were around 15 reports of this yesterday with all of them being caused by MyHome/MyWarp. It would sure take a lot of the clutter out of the post. And I wouldn't have to type the same thing over and over again. :)
     
  27. Offline

    nmcnick

    Hey, I made a video to help with installing permissions 3.0. Here it is!
     
  28. Offline

    godgodgodgo

    This looks so much more complicated than the origional :/
     
  29. Offline

    mavbear

    That seems to work, however anyone who right clicks a block and isn't an admin gets a "You do not have permission" warning. This could be the work of either CraftBook or mcMMO.. and both are fully enabled for everyone. Halp?
     
  30. Offline

    Jeyge

    Add craftbook.mech.cauldron to everyone permissions.
    While there are now other options like storageconfig.yml and global files, if you just focus on the basics of having a world with permissions, there is only 1 change. The users now have a groups: tag instead of a group: tag. The rest is just extras you don't need right away but will be very handy.

    There have been reports of the latest mcMMO not working correctly right now but nothing saying if it is Permissions or the plugin itself causing the problems. He said he would have a new release out soon though. I haven't heard anything about xWarp though and I don't follow that thread.

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

    mavbear

    This seriously makes me dizzy. :(
     
Thread Status:
Not open for further replies.

Share This Page