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

    grapeman

    yep that was it. thanks!
     
  3. Offline

    Jeyge

    In what way are you looking to change their group? I'm guessing not by changing the yml file which you have always been able to do.
     
  4. Offline

    Nazerb

    Using a command. But not with that track thing
     
  5. Offline

    Jeyge

    Good to hear because everything you have sent shows as working on my test server. The only thing that stands out was the change to your storageconfig.yml just minutes before you posted the zip.

    Take a look at the post here but the promote/demote is currently broken.
    Don't open the files in notepad and instead use Notepad++.

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

    keiran

    when i download the config looks like a mess but when i put it in word it looks normal this for some reasone realy anouyed me!
     
  7. Offline

    Nazerb

    Firstly thanks for the quick reply

    Also so if i want to change them from a user to a Vip i have to use 2 commands to do it?
    Also is there a way to get rid of all groups?
     
  8. Offline

    poiuyt580

    Yeah, I redownloaded everything, and you mentioned that so I made sure to replace that first
     
  9. Offline

    Jeyge

    For now you do. Hopefully soon, you will be able to do it with promote again.

    There have been requests for a remove all groups but I don't think there is one yet.
     
  10. Offline

    Nazerb

    Yeah the only problem for promote is that it follows a order, maybe promote would be better if you could choose the group being moved to instead of just linear.
     
  11. Offline

    charlie k-j

    still more illegal access errors...

    Code:
    21:16:49 [SEVERE] java.lang.IllegalAccessError: tried to access class com.nijiko
    .permissions.ModularControl$1RefreshTask from class com.nijiko.permissions.Modul
    arControl
    21:16:49 [SEVERE]       at com.nijiko.permissions.ModularControl.<init>(ModularC
    ontrol.java:54)
    21:16:49 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.setupPer
    missions(Permissions.java:182)
    21:16:49 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P
    ermissions.java:140)
    21:16:49 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:106)
    21:16:49 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:232)
    21:16:49 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:219)
    21:16:49 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:146)
    21:16:49 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:285)
    21:16:49 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
     
  12. Offline

    watersebby

    I got that same error message with permissions and I have over 20 plugins... I also seem to get without permissions. May be a fault with bukkit??
     
  13. Offline

    unl33t

    I've been getting this same thing. Are you running MCMA?
     
  14. Offline

    Laeborg

    I have a hard time figuring out how to disable 'build' for group 'Default' but enable it for group 'User' using MySQL.
     
  15. Offline

    jonathanyc

    Documentation fail. Apparently, this plugin was written by someone who has never used multiworld, or ever intends to use the promised "multiworld inheritance," or perhaps someone who just doesn't understand what the word "inheritance" means.
     
  16. Offline

    ProjectFusion

    Having a issue with trying to switch to SQL, it seem I can add PrEntries, but I cant figure out how to get the users permissions to populate the PrPermissions table
     
  17. Offline

    Joe12o

    What plugin can I use to get prefixes until herochat is updated for this?
     
  18. Offline

    ProjectFusion

    Perhaps is there a way to import all the information from the yml files into the SQL database?
     
  19. Offline

    Jeyge

    I've been using iChat without any problems and I just loaded HeroChat on my test machine and it seems to work with 3.1.4.
    Just the conversion utility in the OP right now.
     
  20. Offline

    1born2kill

    Code:
    148 recipes
    18:18:26 [INFO] Preparing start region for level 1
    18:18:27 [INFO] Preparing spawn area: 89%
    18:18:27 [INFO] DataSourcePool [iConomyChestShop] autoCommit[false] transIsolati
    on[SERIALIZABLE] min[2] max[20]
    18:18:27 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.Plugi
    nClassLoader]
    18:18:27 [INFO] Entities enhanced[0] subclassed[1]
    18:18:27 [SEVERE] java.lang.IllegalAccessError: tried to access class com.nijiko
    .permissions.ModularControl$1RefreshTask from class com.nijiko.permissions.Modul
    arControl
    18:18:27 [SEVERE]       at com.nijiko.permissions.ModularControl.<init>(ModularC
    ontrol.java:54)
    18:18:27 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.setupPer
    missions(Permissions.java:182)
    18:18:27 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P
    ermissions.java:140)
    18:18:27 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:106)
    18:18:27 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:232)
    18:18:27 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:219)
    18:18:27 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:146)
    18:18:27 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:285)
    18:18:27 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    18:18:27 [SEVERE] [Permissions] Unable to load permission data.
    18:18:27 [INFO] [Permissions] Shutting down Permissions due to error(s).
    18:18:27 [INFO] [Permissions] (Yeti) was initialized.
    18:18:27 [INFO] [Cleaner : 1.0] Enabled!
    18:18:27 [SEVERE] Nag author: 'TechGuard' of 'Cleaner' about the following: onPl
    uginEnable has been replaced with a new signature, (PluginEnableEvent)
    18:18:27 [INFO] CommandBook 1.4.3 enabled.
    18:18:27 [INFO] CommandBook: 33 banned name(s) loaded.
    18:18:27 [INFO] CommandBook: 1 kit(s) loaded.
    18:18:27 [INFO] CommandBook: Permissions plugin detected! Using Permissions plug
    in for permissions.
    18:18:27 [INFO] iChat (v2.2.2) enabled
    18:18:30 [INFO] [iConomy] Could not create connection: com.mysql.jdbc.exceptions
    .jdbc4.CommunicationsException: Communications link failure
    
    The last packet sent successfully to the server was 0 milliseconds ago. The driv
    er has not received any packets from the server.
    18:18:38 [INFO] [iConomy] Database initialization failed: java.lang.NullPointerE
    xception
    18:18:38 [INFO] [iConomy] Plugin disabled.
    18:18:38 [INFO] [iConomyChestShop] version 2.74 initialized!
    18:18:38 [INFO] [iConomyChestShop] Permissions version 3.1.4 loaded.
    18:18:38 [INFO] [iConomyChestShop] Lockette version 1.3.6 loaded.
    18:18:38 [INFO] [Jail] Loaded 2 jail zones.
    18:18:38 [INFO] [Jail] Loaded 10 prisoners.
    18:18:38 [INFO] [Jail] Loaded 10 prisoners.
    18:18:38 [INFO] [iConomyChestShop] Permissions version 3.1.4 loaded.
    18:18:38 [INFO] Lockette version 1.3.6 is being enabled!  Yay!  (Core version 1.
    0)
    18:18:38 [INFO] Lockette: Detected craftbukkit build [818] ok.
    18:18:38 [INFO] [Permissions] version [3.1.4] (Yeti)  loaded
    18:18:38 [INFO] CommandBook: Permissions plugin detected! Using Permissions plug
    in for permissions.
    18:18:38 [INFO] [iChat] Found Permissions (v3.1.4)
    18:18:38 [INFO] [iConomyChestShop] Permissions version 3.1.4 loaded.
    18:18:38 [INFO] Lockette: Failed to link to Permissions plugin version 3.1.4!
    18:18:38 [INFO] Lockette: Using ops file for admin permissions.
    18:18:38 [INFO] Lockette: Ready to protect your containers.
    18:18:38 [INFO] [iConomyChestShop] Permissions version 3.1.4 loaded.
    18:18:38 [INFO] [MagicCarpet] MagicCarpet version 1.5.5 is enabled!
    18:18:38 [INFO] [MagicCarpet] Take yourself wonder by wonder, using /magiccarpet
     or /mc.
    18:18:38 [INFO] [MagicCarpet] Restricted to: []
    18:18:38 [INFO] [iConomyChestShop] Permissions version 3.1.4 loaded.
    18:18:38 [INFO] [MYHOME]: 37 homes loaded
    18:18:38 [INFO] [MYHOME] Permissions enabled using: Permissions v3.1.4
    18:18:38 [WARNING] [MYHOME] 'Help' isn't detected. No /help support.
    18:18:38 [INFO] [MYHOME] MyHome 1.9.5 enabled
    18:18:38 [INFO] [iConomyChestShop] Permissions version 3.1.4 loaded.
    18:18:38 [INFO] [MYWARP]: 95 warps loaded
    18:18:38 [INFO] [MYWARP] Permissions enabled using: Permissions v3.1.4
    18:18:38 [WARNING] [MYWARP] 'Help' isn't detected. No /help support.
    18:18:38 [INFO] MyWarp 1.10.6 enabled
    18:18:38 [INFO] [iConomyChestShop] Permissions version 3.1.4 loaded.
    18:18:38 [INFO] [Reporter] v1.1 - Permissions support enabled.
    18:18:38 [INFO] [Reporter] v1.1 - Initialising SQL tables...
    18:18:38 [INFO] [Reporter] v1.1 - Reporter enabled.
    18:18:38 [INFO] [iConomyChestShop] Permissions version 3.1.4 loaded.
    18:18:38 [INFO] [SpawnControl] version [0.8.1] loaded
    18:18:38 [INFO] [iConomyChestShop] Permissions version 3.1.4 loaded.
    18:18:38 [INFO] WorldEdit 4.3 enabled.
    18:18:38 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
     for permissions.
    18:18:38 [INFO] [iConomyChestShop] Permissions version 3.1.4 loaded.
    18:18:38 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugi
    n for permissions.
    18:18:38 [INFO] WorldGuard: (HRPG) Single session is enforced.
    18:18:38 [INFO] WorldGuard: (HRPG) TNT ignition is blocked.
    18:18:38 [INFO] WorldGuard: (HRPG) Lighters are PERMITTED.
    18:18:38 [INFO] WorldGuard: (HRPG) Lava fire is blocked.
    18:18:38 [INFO] WorldGuard: (HRPG) Fire spread is UNRESTRICTED.
    18:18:38 [INFO] WorldGuard: Loaded configuration for world 'HRPG"
    18:18:38 [INFO] WorldGuard: (HRPG_nether) Single session is enforced.
    18:18:38 [INFO] WorldGuard: (HRPG_nether) TNT ignition is PERMITTED.
    18:18:38 [INFO] WorldGuard: (HRPG_nether) Lighters are PERMITTED.
    18:18:38 [INFO] WorldGuard: (HRPG_nether) Lava fire is blocked.
    18:18:38 [INFO] WorldGuard: (HRPG_nether) Fire spread is UNRESTRICTED.
    18:18:38 [INFO] WorldGuard: Loaded configuration for world 'HRPG_nether"
    18:18:38 [INFO] WorldGuard: 9 regions loaded for 'HRPG'
    18:18:38 [INFO] WorldGuard 5.0-alpha8 enabled.
    18:18:38 [INFO] [iConomyChestShop] Permissions version 3.1.4 loaded.
    18:18:38 [INFO] Done (1.244s)! For help, type "help" or "?"
    >
    I dont know how to fix this:
    Code:
    18:18:27 [SEVERE] [Permissions] Unable to load permission data.
    18:18:27 [INFO] [Permissions] Shutting down Permissions due to error(s).
    its really confusing and I need help please.
     
  21. Offline

    Laeborg

    Okay, figured it out:
    I runned this in the console: 'pr g:Default w:world info set build true' for trying to see if it even reacts on the "permissions". When a new user joins the server, this can't build even when group Default has the "build true". The new users must be added to the group 'Default' before this works.

    My problem is that I want my group 'Default' to be the default group.
     
  22. Offline

    Jeyge

    You have a few options. The easiest is to roll back to Permissions 2.7.4. I'll give you a list for the other:
    • Read this post here. If it works, make sure you shoot the author a like.
    • Similar to the previous is to rename MyHome.jar to zMyHome.jar and MyWarp.jar to zMyWarp.jar.
    • Start removing plugins until it works again. I would suggest starting with MyHome/MyWarp then move to the others.
     
    1born2kill likes this.
  23. Offline

    Lehran

    Can you provide some more documentation on how the MySQL database works as a storage type?

    I'm able to add groups, permissions, inheritances, etc. to it, but it doesn't seem to apply when I add them to the '*' world (id 1), which imo should apply to every world.
     
  24. Offline

    Epidemic

    Hm... Guys there runs something wrong or you didn't tried to find the best Solution for your Problems^^
    I'm running about 60+ Plugins on my Server and every Plugin is going its way!
    I'll tell you what i have done:
    • 1. Replace Permissions.jar to aPermissions.jar
    • 2. If you have MyHome(.jar)/MyWarp(.jar) replace it to bMyHome.jar and bMyWarp.jar
    • 3. If you're running Multiverse just let it be Multiverse.jar
    and the last Point is:
    • 4. If you ARE RUNNING ESSENTIALS! Replace every Essentials.....jar to zEssentials......jar!
    This is important without this it would override some Basic Functions and the Dilema would go on.
    If anything isn't going it's way after this, backup your Folders in the Plugins-Dir and let the Plugin create a new one. And then part by part you can rebackup your saved data and see if there is any error.
    So far, there shouldn't be any Errors ( Also not in the Console! ) with this Way of handling the Plugins!

    I'm running CB 820 ( also tested it on RB 818 and worked fine, too ).
    Permissions v3.1.4
    Multiverse v1.7.2
    Essentials v2.3
    And the lastest MyHome and MyWarp ( something about v 1.9.x not 2.x )

    For those with the SQL errors: I can't help you out, because i tried to use Sql bit afterwards thought about it, for what i will need the Permissions to be in the Sql Database^^ So if you can, run it without SQL.

    Greets,

    Epic
     
    Don Redhorse likes this.
  25. Offline

    Maxis010

    Post Fail
    When the bukkit team re-enabked multiworld they also broke it, fixes are being released slowly but surely, as such a lot of Multiworld plugins INCLUDING Multiverse and Permissions 3 are still having a lot of trouble

    Or do you consider the hours upon hours of permissions 2 SUCCESSFULLY running multiworld permissions only to be replaced with permissions 3 which is being run BY THE SAME TEAM to be a fabrication

    tl;dr the multiworld problems are bukkit, not permissions
     
  26. Offline

    Valdor

    Having a weird error. Every time a user tries to do something (use a chat command, place or destroy blocks, pull a lever, etc.) Permissions tells them "You are not permitted to do this" but allows it anyway. They're supposed to be able to do these things, so it's good that it lets them, but the permissions warning gets really annoying. Any idea what causes this?

    Here are my yml files:
    Groups
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
    
        Users:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'commandbook.who'
                - 'commandbook.give'
                - 'commandbook.spawn'
                - 'commandbook.teleport'
                - 'commandbook.teleport.other'
                - 'commandbook.say.me'
                - 'commandbook.msg'
                - 'commandbook.whereami'
                - 'commandbook.whereami.compass'
                - 'wormhole.use.dialer'
                - 'wormhole.use.compass'
                - 'wormhole.list'
                - 'movecraft.*'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'commandbook.give'
                - 'commandbook.give.other'
                - 'commandbook.give.infinite'
                - 'commandbook.give.stacks'
                - 'commandbook.give.stacks.unlimited'
                - 'commandbook.who'
                - 'commandbook.motd'
                - 'commandbook.rules'
                - 'commandbook.setspawn'
                - 'commandbook.spawn'
                - 'commandbook.teleport'
                - 'commandbook.teleport.other'
                - 'commandbook.say.me'
                - 'commandbook.msg'
                - 'commandbook.whereami'
                - 'commandbook.whereami.compass'
                - 'commandbook.kick'
                - 'commandbook.bans.ban'
                - 'commandbook.bans.unban'
                - 'commandbook.bans.isbanned'
                - 'commandbook.bans.load'
                - 'commandbook.bans.save'
                - 'wormhole.use.dialer'
                - 'wormhole.use.compass'
                - 'wormhole.list'
                - 'wormhole.build'
                - 'wormhole.remove.own'
                - 'wormhole.go'
                - 'movecraft.*'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    Users:
    Code:
    users:
        Valdor13:
            permissions:
            groups:
                - Admins
        niemer05:
            permissions:
            groups:
                - Moderator
        Turothus:
            permissions:
            groups:
                - Users
        Minnt:
            permissions:
            groups:
                - Users
        Rysuke:
            permissions:
            groups:
                - Users
        d_wurts:
            permissions:
            groups:
                - Users
        Retoru:
            permissions:
            groups:
                - Users
        bigpastormatt:
            permissions:
            groups:
                - Users
        jronaggaz:
            permissions:
            groups:
                - Users
     
  27. Offline

    samsoccerboyz

    Code:
    group:
        User:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.list'
                - 'essentials.help'
                - 'essentials.motd'
                - 'essentials.rules'
                - 'essentials.getpos'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.ping'
                - 'essentials.realname'
                - 'money.pay'
                - 'money.help'
                - 'money.rank'
                - 'money.top'
                - 'money.stats'
                - 'iConomyChestShop.shop.create'
                - 'iConomyChestShop.shop.buy'
                - 'iConomyChestShop.shop.sell'
                - 'iConomy.payment'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.access'
                - 'iConomy.pay'
                - 'herobounty.new'
                - 'herobounty.accept'
                - 'herobounty.list'
                - 'lottery.buy'
                - 'vampire.default.*'
        Dirt:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - User
            permissions:
        Stone:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Dirt
            permissions:
        Iron:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Stone
            permissions:
        Gold:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Iron
            permissions:
        Diamond:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Gold
            permissions:
                - 'general.whitelist'
                - 'whitelist.add'
                - 'essentials.warp'
                - 'lwc.protect'
                - 'choptree.chop'
                - 'vampire.admin.*'
        Mod:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - User
            permissions:
                - 'essentials.compass'
                - 'essentials.depth'
                - 'essentials.kit.tools'
                - 'essentials.nick'
                - 'essentials.heal'
                - 'essentials.top'
                - 'essentials.jump'
                - 'essentials.kick'
                - 'essentials.ban'
                - 'essentials.whois'
                - 'essentials.unban'
                - 'essentials.unbanip'
                - 'essentials.banip'
                - 'searchids.search.*'
                - 'essentials.give'
                - 'magiccarpet.mc'
                - 'essentials.kill'
                - 'essentials.back'
                - 'essentials.reloadall'
                - 'essentials.rel'
                - 'essentials.plugin'
                - 'essentials.spawnmob'
                - 'essentials.broadcast'
                - 'essentials.antioch'
                - 'essentials.time'
                - 'essentials.tree'
                - 'essentials.bigtree'
                - 'essentials.eco'
                - 'essentials.economy'
                - 'essentials.tptoggle'
                - 'essentials.kick'
                - 'essentials.kickall'
                - 'essentials.setspawn'
                - 'essentials.setwarp'
                - 'essentials.delwarp'
                - '-essentials.mod'
                - '-essentials.modgrp'
        Admin:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    Code:
    Users:
        Samsoccerboyz:
            permissions:
            groups:
                - Admin
        Whosatm:
            permissions:
            groups:
                - Admin
        MrBenneck:
            permissions:
            groups:
                - Admin
        KeyKeyKey:
            permissions:
            groups:
                - Admin
        ChiefTiger:
            permissions:
            groups:
                - Admin
        Mythman:
            permissions:
            groups:
                - Admin
    No permissions error for everyone
     
  28. Offline

    KayoticSully

    What is the best least buggy version of Permissions right now. I see some people say that some features dont work in the new 3.1.4 build. I have been having trouble with the 3.1.3 build when it comes to creating users. What is simply the version to be using right now?
     
  29. Offline

    Jeyge

    In groups.yml, the top node is currently named group: and needs to be groups:. In users.yml, the top node is currently named Users: and needs to be users:.
    The best build to run right now is 2.7.4.

    Your files seem to be fine so I'm guessing you are running CraftBook. If so, give everyone craftbook.mech.cauldron and the message should go away.

    The global files/worlds aren't working right now but should be fixed at some point.

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

    0ffn00b

    if an admin has '*' permission when plugin authors check for permission should we check for * or is that included when we check for a specific node.
     
  31. Offline

    DisposableHero

    this is the most complicated plugin ive ever seen
     
  32. Offline

    Jeyge

    You should just check for the permission you are interested in. If they have '*', it should always return true. Unless you want to know if they have '*'.
     
Thread Status:
Not open for further replies.

Share This Page