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

    tattar8

    I fixed those two problems and I can now use those commands. However, for some reason, it still doesn't allow me to build.

    I didn't find any helpful information there... I tried adding permissions.build to my permissions as well.

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

    Xproplayer

    Having a very large issue with permissions, can't even come close to booting the server, i've checked my configuration files with an online yaml parser and they produce no errors and I don't remember changing anything before it went down.
    Posted is the server.log with the error entry, nothing else so that you dont have to sift through crap and my plugins\permissions.
     

    Attached Files:

  4. Offline

    Monkey_nuts

    Ok - So Jeyge i took your advise and i am going to go back to YAML and here is my serverlog:

    Code:
    2011-08-06 21:57:27 [INFO] Starting minecraft server version Beta 1.7.3
    2011-08-06 21:57:27 [INFO] Loading properties
    2011-08-06 21:57:27 [INFO] Starting Minecraft server on *:25565
    2011-08-06 21:57:27 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-g73697a4-b1000jnks (MC: 1.7.3)
    2011-08-06 21:57:27 [SEVERE] while parsing a block mapping
     in "<reader>", line 109, column 9:
                default: false
                ^
    expected <block end>, but found Scalar
     in "<reader>", line 121, column 12:
                - 'essentials.chat.spy'
                   ^
    
    2011-08-06 21:57:27 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
    2011-08-06 21:57:27 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    2011-08-06 21:57:27 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    2011-08-06 21:57:27 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    2011-08-06 21:57:27 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-08-06 21:57:27 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-08-06 21:57:27 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-08-06 21:57:27 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-08-06 21:57:27 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-08-06 21:57:27 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    2011-08-06 21:57:27 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    2011-08-06 21:57:27 [SEVERE]     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    2011-08-06 21:57:27 [SEVERE]     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    2011-08-06 21:57:27 [SEVERE]     at org.bukkit.util.config.Configuration.load(Configuration.java:82)
    2011-08-06 21:57:27 [SEVERE]     at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStorage.java:179)
    2011-08-06 21:57:27 [SEVERE]     at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStorage.java:30)
    2011-08-06 21:57:27 [SEVERE]     at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreator.java:57)
    2011-08-06 21:57:27 [SEVERE]     at com.nijiko.data.StorageFactory.getGroupStorage(StorageFactory.java:129)
    2011-08-06 21:57:27 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:96)
    2011-08-06 21:57:27 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:86)
    2011-08-06 21:57:27 [SEVERE]     at com.nijiko.permissions.ModularControl.load(ModularControl.java:116)
    2011-08-06 21:57:27 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:181)
    2011-08-06 21:57:27 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:133)
    2011-08-06 21:57:27 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:131)
    2011-08-06 21:57:27 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:97)
    2011-08-06 21:57:27 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
    2011-08-06 21:57:27 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
    2011-08-06 21:57:27 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-08-06 21:57:27 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-06 21:57:27 [SEVERE] [Permissions] Unable to load permission data.
    2011-08-06 21:57:27 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    2011-08-06 21:57:27 [INFO] [Permissions] (Yeti) was initialized.
    2011-08-06 21:57:27 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-08-06 21:57:27 [INFO] Preparing level "World"
    2011-08-06 21:57:27 [INFO] Preparing start region for level 0 (Seed: 6169767516654231995)
    2011-08-06 21:57:28 [INFO] Preparing spawn area: 60%
    2011-08-06 21:57:29 [INFO] Preparing start region for level 1 (Seed: -237506734870786927)
    2011-08-06 21:57:29 [INFO] Preparing spawn area: 69%
    2011-08-06 21:57:30 [INFO] [AutoSave] Loading config file
    2011-08-06 21:57:30 [INFO] [AutoSave] Version 2.0.1 is enabled: 9331caed-cce0-40c1-8d3c-6650daf6f24c
    2011-08-06 21:57:30 [INFO] [AutoSave][Permission] Custom Permissions "Local Permissions" found: Loaded
    2011-08-06 21:57:30 [INFO] [AutoSave][Permission] PermissionsEx not found.
    2011-08-06 21:57:30 [INFO] [AutoSave][Permission] Permissions (Phoenix) not found.
    2011-08-06 21:57:30 [SEVERE] Error occurred while enabling BlackJack v1.8 (Is it up to date?): com/nijikokun/bukkit/Permissions/Permissions
    java.lang.NoClassDefFoundError: com/nijikokun/bukkit/Permissions/Permissions
        at BlackJack.BlackJack.setupPermissions(BlackJack.java:473)
        at BlackJack.BlackJack.onEnable(BlackJack.java:90)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.nijikokun.bukkit.Permissions.Permissions
        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)
        ... 12 more
    2011-08-06 21:57:30 [INFO] Loaded Essentials build 2.2.8 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    2011-08-06 21:57:30 [INFO] Loaded EssentialsProtect build 2.2.8 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    2011-08-06 21:57:30 [INFO] Loaded EssentialsSpawn build 2.2.8 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    2011-08-06 21:57:31 [INFO] [iConomy] v5.01 (Eruanna) loaded.
    2011-08-06 21:57:31 [INFO] [iConomy] Developed by: [Nijikokun]
    2011-08-06 21:57:31 [INFO] [MonsterHunt] MonsterHunt Loaded!
    2011-08-06 21:57:31 [INFO] [Permissions] SQL Interface enabled!
    2011-08-06 21:57:31 [INFO] [iChat] Permissions plugin not found or wrong version. Disabling
    2011-08-06 21:57:31 [INFO] [iChat] iChat Disabled
    2011-08-06 21:57:31 [SEVERE] Error occurred while enabling MobArena v0.93.4 (Is it up to date?): com/nijikokun/bukkit/Permissions/Permissions
    java.lang.NoClassDefFoundError: com/nijikokun/bukkit/Permissions/Permissions
        at com.garbagemule.MobArena.MobArena.setupPermissions(MobArena.java:188)
        at com.garbagemule.MobArena.MobArena.onEnable(MobArena.java:53)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.nijikokun.bukkit.Permissions.Permissions
        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)
        ... 12 more
    2011-08-06 21:57:31 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-08-06 21:57:31 [INFO] Done (0.354s)! For help, type "help" or "?"
    
    
    And i will attach my plug-ins folder too,

    For some reason there are weird error's in the groups.yml that make no sense because they are spelt right. and i have no idea what is causing the error where permissions not loading due to it not finding the correct data :/
     

    Attached Files:

  5. Offline

    Jeyge

    WorldGuard also has a heal so you may be seeing a conflict between the 2 plugins. Try giving them worldguard.heal just as a test to see if it is trying to use that version.
    There is some information on building problems in the wiki FAQ that might help. Take a look at that and report back if it doesn't work.
     
  6. Offline

    Buckethead

    when i reload

    17:15:52 [SEVERE] Nag author: 'TheNo1Yeti' of 'Permissions' about the following:
    This plugin is not properly shutting down its async tasks when it is being relo
    aded. This may cause conflicts with the newly loaded version of the plugin

    plz asap answer
     
  7. Offline

    Jeyge

    That is always a hard one to track down but it is caused by the plugin getting stuck in a loop trying to update a user. It is usually caused by a group inheriting from itself but in this case it is a group being above the default group (which isn't anything that you did wrong). I believe the bug was fixed in the 3.2 version of Permissions but that hasn't been released yet. What you can do to fix it for now is to give the person who is currently missing a group a group. I would post the name here but it really isn't appropriate. Just change "groups: []" to:
    Code:
            groups:
            - Member
    
    You still have tabs in your files and on line 120, you are missing a closing quote. See the wiki FAQ for information on how to remove the tabs and avoid them in the future.

    Just ignore it if you feel as though you need to use /reload but understand that /reload can cause a lot of problems. That is why plugins have things like "/pr -reload all" to reload config files.

    You'll need to post your server.log then to make sure there aren't any conflicting plugins that might cause problems. Also, permissions.build is something used by other permissions plugins and not this one.

    See the wiki FAQ for compatible versions.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 28, 2018
  8. Offline

    tattar8

    My server.log is attached.
     

    Attached Files:

  9. Offline

    Xproplayer

    I love you, no homo, I was messing around with him and I was trying to demote him since he was spamming /thor for a few minutes and I guess i forgot to give him the group back, that fixed it no problems. Thank you so much
     
  10. Offline

    Jany95

    i'm on the newest version that's in this post, my console is just spamming me with errors with buttonwarp and citzens both have problems with permissionshandler. i'm using permissions per world but i have the same for every world.
    groups:
    Default:
    default: false
    build: true
    inheritance:
    - Default
    permissions:
    - 'movecraft.*'
    - 'oredetector.*'
    - 'buttonwarp.use'
    - 'citizens.use.*'
    - 'warpz0r.warp'
    - 'warpz0r.sethome'
    - 'warpz0r.home'
    - 'warpz0r.worldwarp'
    - 'warpz0r.worldhome'
    - 'iConomy.access'
    - 'iConomy.rank'
    - 'iConomy.payment'
    users:
    Admins:
    build: true
    inheritance:
    permissions:
    - '*'
    Johnysz:
    permissions: []
    groups:
    - Spieler
    Jany0:
    permissions: []
    groups:
    - Admins
    kutusow:
    permissions: []
    groups:
    - Admins
     
  11. Offline

    Jeyge

    Nothing jumps out as a conflict but I have no idea what Regions v1.4 is. I couldn't find it in the plugin list so I'm guessing it is inactive or an old version. That may or may not be the cause of your building problems. Also, you are running a non-RB version of CraftBukkit. I would update to either 953 or 1000. Outside of that, as long as you aren't in the spawn area or in a protected area, I'm not sure what might cause it. Do you get a message or does the block just show up again?
     
  12. Offline

    SupedUpFog

    Is this version of permissions build 935 compatible with build 1000 ( minecraft version 1.7.3 ? )

    Cause I keep getting a server error when trying to promote someone to a group and I am using build 1000.

    Thanks :)
     
  13. Offline

    ACStache

    by looking at your groups/users I see a few things that jump out at me.
    • in your groups, you do not have info sections.
    • Default group is inheriting itself, remove the inheritance
    • Default group isn't listed as the default group, nor is any group
    • You seemingly merged your users and groups files
    • In your users file, Johnysz is in group "Spieler" which isn't in your groups list
    groups.yml should look like:
    Code:
    groups:
        Default:
            default: true
            info:
                build: true
                prefix: ''
                suffix: ''
            inheritance:
            permissions:
            - 'movecraft.*'
            - 'oredetector.*'
            - 'buttonwarp.use'
            - 'citizens.use.*'
            - 'warpz0r.warp'
            - 'warpz0r.sethome'
            - 'warpz0r.home'
            - 'warpz0r.worldwarp'
            - 'warpz0r.worldhome'
            - 'iConomy.access'
            - 'iConomy.rank'
            - 'iConomy.payment'
        Admins:
            default: false
            info:
                build: true
                prefix: ''
                suffix: ''
            inheritance:
            permissions:
            - '*'
    
    users.yml should looke like:
    Code:
    users:
        Johnysz:
            permissions: []
            groups:
            - Spieler  <-- change this to an actual group
          Jany0:
            permissions: []
            groups:
            - Admins
          kutusow:
            permissions: []
            groups:
            - Admins
    
    and please, for future reference, read and follow all the instructions people give you if you're looking for help. I'm grasping for tiny bits of info you're giving me to help you.

    what you've done/answered so far is what is crossed out:
    2 things done/answered out of 8 things. Not good... if you're unsure how to do them, just ask.
    if it doesn't work after this, I'm not helping out anymore until the rest of the requests are done.

    also I forgot to mention use either code blocks (the symbol that looks like {}#) or pastebin and link it when posting any sort of config files or server.logs
     
  14. Offline

    Buckethead

    ok ty also. i am using essentals and for some things permissions doesnt alsways ob=verrde it. i dont know if this is a permissions or essentials problem
     
  15. Offline

    Jany95

    i already fixed it but the nitrado webinterface didn't save it...

    thx for your help, i fixed everything. i'm retarded because me and my friend had a challenge, watching this video for 10 hours: hope you'll understand after watching this a bit xD

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

    tattar8

    Both. How do I make it allow building in the spawn area without being op, and how far does the spawn area reach?
     
  17. Offline

    Jeyge

    What is the message you are getting? As for building in the spawn area, that was included in the information from the wiki FAQ.
     
  18. Offline

    tattar8

    I figured out the problem. For some reason, CraftBook was giving the message.

    Any idea why?

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

    Jeyge

    That would depend on the message. You haven't posted it yet.
     
  20. Offline

    tattar8

    "You don't have permission to do this"
     
  21. Offline

    Jeyge

    You are running an old version of CraftBook which still required you to have the craftbook.mech.cauldron permission to not have that show up. Either update to the newest version or add the permission but that error shouldn't have prevented you from building.
     
  22. Offline

    axebyte

    I read the info just moved over from group.. sadly i cant get the Titles to change from in game.
    /pr (name) promote group
    just throws errors i just want to move people from one group to the next
    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'pr' in plugin Permissions v3.1.6
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    If i add the tracks it works, but tracks dont work at all for the Title system i have.
    I am not using GLOBAL just world and world_nether
    /pr Name promote name title <-- error
    /pr name promote name tile world <--- error
    andone able to help with what comand to use??
    i have to many players to not be able to change rank/title on the fly to wat it needs to be.

    God it is soo much easy to just /manuadd name rank...
    this is insane command lines to change ranks lol

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

    Psx3

    There is a glitch with the plugin. I am sure that my config and groups are formatted correctly because I do not use tabs. This seems to happen on and off. My players will lose permissions and regain them randomly. Can anyone help me fix this? Idk if a plugin is conflicting with Permissions or not.
     
  24. Offline

    NeoCronos

    why in bloody hell doesn't this plugin use the SQL Database? It says it enabled it like 5 times, but it doesn't.
    i even created those empty table by hand... still nothing.

    and your wiki differs from the table structurs in those convertthingys

    also, why aren't the tables created by the plugin?

    i had to stack with permissions 2.x when the update from 1.5 to 1.6 came, looks like this 3.x still doesn't work properly.
     
  25. Offline

    Jeyge

    If you are using the default track, you would use "/pr <user> w:<world> promote" to promote someone to the next rank or for a specific track you would use "/pr <user> w:<world> promote t:<track>". You can exclude the w:<world> if you are in the same world you want to promote them in.
    Is it usually after you use "/reload" or anything like that? What permissions do they lose? Are you using a rank timing plugin or something along those lines? How about BuyAbilities? That might make it look like they lost a permission.

    It seems as though you will either have it work with no problems or it won't work at all. For me, it would enable 8 times. One time for each table it was trying to create but it wouldn't actually create them and even after I created them manually, it still wouldn't work. I assumed it was because my MySQL server was on another machine in the same room and so I just stuck with the YAML files.

    I would swear I responded to this but I'm not seeing it now.

    Yes, you would leave them empty.
    The only problem I see with your files is that your Member group is inheriting from Default but you don't have a Default. I would change it to Newcomer. Other than that, I would take a look at the wiki FAQ for the information there on reasons why you may not be able to build.
    1) See issue #142 for information on why the default group isn't working and how to fix it.
    2) Did you set up the group in the world you specified or just in the global groups? If it is only in the global groups then you will need to promote in the global groups using the w:*. I would suggest against doing that though and instead using an actual world.

    Remove "- Owner" from the list.

    Something with the load happening before the save finishes. I've always wanted to add some debugging code to the plugin just to see where it was going wrong but I can't duplicate the file being reset on my machine.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 6, 2019
  26. Offline

    sorka25798

    Hi, I have a question about setting up the global permissions. We are going to be running about 5 different worlds with 4 of them running the same config (the fifth being an admin/test world where all staff have almost all permission nodes). Actually, it will lead to a couple questions.
    1. Can I make the worldcopy thing in storage.yml copy my globalGroups as a world?
    2. If I can do that, would the default group work properly? (first post says that I have to specify it each world)
    3. Is there an easier way to make it so I don't have to change every world's groups/user file when I want to promote someone to staff?
    In other words, I want to be a lazy bastard and just edit the globalGroups and globalUser file and set my 4 player worlds to inherit from them while keeping a world that is individual permissions. Thanks in advance for any help given. This is my first time asking for support, so if I missed something please don't get all upset on me. lol

    EDIT: Oh yea, the wiki kind of confused my tiny brain, so that's why I am asking here.
     
  27. Offline

    Jeyge

    That is actually a perfect amount of detail. What I would do is use your first world instead of your global files and then use the worldcopy feature to copy that world to all of the others except for the admin/test world so it would look like:
    Code:
    permissions:
        storage:
            type: YAML
            worldcopy:
                world2: world
                world3: world
                world4: world
    
    And then for the 5th world (admin/test), I would lock it down using permissions with whatever teleport/multiworld plugin you are using and give it it's own groups.yml and users.yml.
     
  28. Offline

    sorka25798

    Thanks! Would I leave my globalGroups/Users file empty then?
     
  29. Offline

    muffintops

    Code:
    users:
        muffintops:
            groups:
            - Admins
            permissions:
            - '*'
        BleedingAnus:
            info:
                prefix: '&4[~Alice~]&f'
            groups:
            - Moderator
            permissions:
            - essentials.help
            - essentials.home
            - essentials.motd
            - essentials.rules
            - essentials.sethome
            - essentials.tp
            - essentials.tphere
        Neko:
            groups:
            - Member
            permissions:
            - essentials.help
            - essentials.home
            - essentials.motd
            - essentials.rules
            - essentials.sethome
        NewGuy:
            groups:
            - Newcomer
        open_wndow:
            groups:
            - Member
            Permissions:
            - essentials.help
            - essentials.home
            - essentials.motd
            - essentials.rules
            - essentials.sethome
    
    Hahahahaha so for some reason I cant seem to get me and my friends to be able to break blocks even though ive done the whole permissions set up. What should i do?
    Code:
    groups:
        Newcomer:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
        Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Default
            permissions:
            - essentials.help
            - essentials.home
            - essentials.motd
            - essentials.rules
            - essentials.sethome
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Member
            permissions:
            - essentials.tp
            - essentials.tphere
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
            - '*'
        Default:
            permissions:
            inheritance:
    
    Hahahaha sry if this is a messy post, ive never added code into a post before
     
  30. Offline

    Jcink

    Two problems. I'm using the MySQL database.

    #1. I have a group called "Observers." I want all users to be put into this group by default. When someone connects, Permissions 3.1.6 just "creates them in world ''." How can I set the group?

    #2. I'm using MultiVerse plugin and /pr (name) w:[world name] parents add (mygroup) is not working. Permissions just says that the group does not exist, but that's not true. Doing it with w:* works fine. What is wrong here?
     
  31. Offline

    kotpx3

    Does anyone know why my users.yml was reset? It reached 600 users than the whole file reset and I lost the list of players that joined my server :( also that reset peoples groups to default!

    Why does using reload cause this?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
Thread Status:
Not open for further replies.

Share This Page