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

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

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

    rcjrrjcr

    Permissions 3.1.6 (Yeti)

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

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


    COMMAND RESTRUCTURING
    Feel free to comment and give suggestions.


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

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

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




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





    Plugin Authors: How to hook into Permissions

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

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

    The Permissions Team

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

    What's new in 3.x?

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







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


    Install (open)
    For the admins

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

    Samkio has updated his tutorial for P3:


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

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

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

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


    FAQ (open)

    [FAQ]

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

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

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

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


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

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

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



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





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








    Credits (open)


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

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


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

    Old thread: Permissions v2.7.4
     
  2. Offline

    Jeyge

    If the error you are getting is something along the lines of:
    Code:
    2011-07-24 00:12:26 [SEVERE] while parsing a block mapping
     in "<reader>", line 2, column 6:
             Member:
             ^
    expected <block end>, but found BlockMappingStart
     in "<reader>", line 4, column 9:
                info:
    
    then you need to move Member: back to column 5, move all default: back one space to column 9 and add a closing quote to line 21.
    Code:
    groups:
        Member:
            default: true
            info:
                prefix: '&9 '
                suffix: ''
                build: true
            inheritance:
            permissions:
            - 'lwc.protect'
            - 'essentials.help'
            - 'essentials.getpos'
            - 'essentials.home'
            - 'essentials.sethome'
            - 'essentials.msg'
            - 'essentials.afk'
            - 'essentials.rules'
            - 'essentials.motd'
            - 'essentials.me'
            - 'essentials.list'
            - 'essentials.spawn'
        Moderator:
            default: false
            info:
                prefix: '&a '
                suffix: ''
                build: true
            inheritance:
            - Member
            permissions:
            - 'lwc.mod'
            - 'nocheat.notify'
            - 'bb.admin.info'
            - 'bb.admin.watch'
            - 'essentials.top'
            - 'essentials.jump'
            - 'essentials.tp'
            - 'essentials.tpo'
            - 'essentials.tphere'
            - 'essentials.tpohere'
            - 'essentials.tppos'
            - 'essentials.tpall'
            - 'essentials.home.others'
            - 'essentials.setwarp'
            - 'essentials.delwarp'
            - 'essentials.spawnmob'
            - 'essentials.clearinventory.others'
            - 'essentials.broadcast'
            - 'essentials.burn'
            - 'essentials.ext'
            - 'essentials.kill'
            - 'essentials.kick'
            - 'essentials.invsee'
            - 'essentials.give'
            - 'essentials.item'
            - 'essentials.time'
            - 'essentials.god'
        Admins:
            default: false
            info:
                prefix: '&c '
                suffix: ''
                build: true
            inheritance:
            permissions:
            - '*'
            - 'lwc.admin'
     
    MrFanForced likes this.
  3. Offline

    MrFanForced

    OMG! THANK YOU! :D
     
  4. Offline

    decebaldecebal

    My HeroChat config:

    [Mod: trimmed]

    I don't think it's a conflict with essentials because i don't have EssentialsChat!
     

    Attached Files:

  5. Offline

    Jeyge

    @decebaldecebal
    You'll need to post those again but in code blocks or on pastebin.com this time.
     
  6. Offline

    vefald

    Hey, is there anyway i can do like all the essentials commands with essentials.* BUT not having godmode?
    something like that is there a -- thing? to remove commands?
     
  7. Offline

    slaymonok

    can Someone Please give me the name or link to the plugin that make you able to set time for demotion
    like if i want a vip to demote to member after 30 days it should do that
    some ppl say that it existed but dident know name, and i searched but couldent find it
    Please =)
    if u know, please quote this so i see =)
     
  8. permissions 3X is giving me problems...all ranks are able to enable and use every plugin! i know that just recently bukkit made it's own permissions system, of course i don't know how to use it and transfer stuff over. THis is my worlds groups xml(not global groups because that doesn't seem to override whats in groups... so that doesn't work either)
     
  9. Offline

    LaKiller

    How to convert GroupManeger files to Permissions files?
     
  10. Offline

    Lookatmego

    does anyone know and can help me because my users.yml keep reseting themself every 10 min and turns everyone to default any ideas?
     
  11. Offline

    xChris14

    I am trying to use my iChat and it doesnt seem to be working correctly with my Permissions. Please tell me how to make it so that the [Citizen(COLORED)]UserName(WHITE): Talk(WHITE)... My iChat has default settings.
    Code:
    groups:
            Admin:
                default: false
                info:
                    prefix: '[&5Admin]'
                    suffix: ''
                    build: true
                inheritance: ''
                permissions:
                  - '*'
            Moderators:
                default: false
                info:
                    prefix: '[&2Mods]'
                    suffix: ''
                    build: true
                inheritance: 'Citizen'
                permissions:
                  - 'essentials.ban'
                  - 'essentials.kick'
                  - 'essentials.setwarp'
                  - 'essentials.kit.*'
            Citizens:
                default: true
                info:
                    prefix: '[&3Citizen]'
                    suffix: ''
                    build: true
                inheritance: ''
                permissions:
                  - 'essentials.home'
                  - 'essentials.sethome'
                  - 'essentials.warp'
                  - 'essentials.help'
                  - 'essentials.warp.list'
                  - 'lockette.user.create.*'

    Also my users is NOT working at all. Here it is. I enter everything in, then when I go ingame, I am still just the default group.


    Code:
    users:
        xChris14:
            groups:
                - Admins
            permissions:
        johnhutson85:
            groups:
                - Admins
            permissions:
     
  12. Offline

    LaKiller

    Can somebody help?
    Code:
    2011-07-24 18:36:57 [INFO] Starting minecraft server version Beta 1.7.3
    2011-07-24 18:36:57 [INFO] Loading properties
    2011-07-24 18:36:57 [INFO] Starting Minecraft server on 5.127.255.155:25565
    2011-07-24 18:36:57 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-07-24 18:36:57 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-07-24 18:36:57 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2011-07-24 18:36:57 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-07-24 18:36:57 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-g73697a4-b1000jnks (MC: 1.7.3)
    2011-07-24 18:36:57 [SEVERE] while scanning a simple key
     in "<reader>", line 29, column 17:
                        build:true
                        ^
    could not found expected ':'
     in "<reader>", line 30, column 13:
                    inheritance:
                    ^
    
    2011-07-24 18:36:57 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:400)
    2011-07-24 18:36:57 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:231)
    2011-07-24 18:36:57 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:182)
    2011-07-24 18:36:57 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
    2011-07-24 18:36:57 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    2011-07-24 18:36:57 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    2011-07-24 18:36:57 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    2011-07-24 18:36:57 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-07-24 18:36:57 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-07-24 18:36:57 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-07-24 18:36:57 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-07-24 18:36:57 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-07-24 18:36:57 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-07-24 18:36:57 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-07-24 18:36:57 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    2011-07-24 18:36:57 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    2011-07-24 18:36:57 [SEVERE]     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    2011-07-24 18:36:57 [SEVERE]     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    2011-07-24 18:36:57 [SEVERE]     at org.bukkit.util.config.Configuration.load(Configuration.java:82)
    2011-07-24 18:36:57 [SEVERE]     at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStorage.java:179)
    2011-07-24 18:36:57 [SEVERE]     at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStorage.java:30)
    2011-07-24 18:36:57 [SEVERE]     at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreator.java:57)
    2011-07-24 18:36:57 [SEVERE]     at com.nijiko.data.StorageFactory.getGroupStorage(StorageFactory.java:129)
    2011-07-24 18:36:57 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:96)
    2011-07-24 18:36:57 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:86)
    2011-07-24 18:36:57 [SEVERE]     at com.nijiko.permissions.ModularControl.load(ModularControl.java:116)
    2011-07-24 18:36:57 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:181)
    2011-07-24 18:36:57 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:133)
    2011-07-24 18:36:57 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:131)
    2011-07-24 18:36:57 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:97)
    2011-07-24 18:36:57 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
    2011-07-24 18:36:57 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
    2011-07-24 18:36:57 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    2011-07-24 18:36:57 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-24 18:36:57 [SEVERE] [Permissions] Unable to load permission data.
    2011-07-24 18:36:57 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    2011-07-24 18:36:57 [INFO] [Permissions] (Yeti) was initialized.
    2011-07-24 18:36:57 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-07-24 18:36:57 [INFO] Preparing level "StovezataPraha"
    2011-07-24 18:36:57 [INFO] Preparing start region for level 0 (Seed: -1758946291)
    2011-07-24 18:36:58 [INFO] Preparing start region for level 1 (Seed: -1758946291)
    2011-07-24 18:36:58 [INFO] Loaded Essentials build 2.4.2 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-07-24 18:36:58 [INFO] [MultiWorld] Booting...
    2011-07-24 18:36:58 [INFO] [MultiWorld] Permissions system detected!
    2011-07-24 18:36:58 [SEVERE] Error occurred while enabling MultiWorld v1.0 (Is it up to date?): com/nijikokun/bukkit/Permissions/Permissions
    java.lang.NoClassDefFoundError: com/nijikokun/bukkit/Permissions/Permissions
        at com.Baummann.MultiWorld.MultiWorld.setupPermissions(MultiWorld.java:42)
        at com.Baummann.MultiWorld.MultiWorld.onEnable(MultiWorld.java:25)
        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-07-24 18:36:58 [INFO] [Permissions] SQL Interface enabled!
    2011-07-24 18:36:58 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-07-24 18:36:58 [INFO] Done (0,125s)! For help, type "help" or "?"
    

    My Groups:
    Code:
    groups:
    
            Noob:
    
                default: true
                info:
                   prefix: '[&aNoob&f] &b'
                   suffix: ''
                   build: false
                inheritance:
                permissions:
                  - 'essentials.online'
                  - 'essentials.spawn'
                  - 'lockette.user.create.*'
                  - 'mywarp.warp.basic.*'
                  - 'mywarp.warp.sign.warp'
     
            Builder:
    
                default: false
                info:
                    prefix: '&b'
                    suffix: ''
                    build:true
                inheritance:
                permissions:
    
                  - 'citizens.create.*'
                  - 'citizens.modifiy.*'
                  - 'citizens.use.*'
                  - 'citizens.use.trader'
                  - 'essentials.afk'
                  - 'essentials.back.ondeath'
                  - 'essentials.balance'
                  - 'essentials.chat.shout'
                  - 'essentials.compass'
                  - 'essentials.home'
                  - 'essentials.kit'
                  - 'essentials.mail'
                  - 'essentials.mail.send'
                  - 'essentials.me'
                  - 'essentials.msg'
                  - 'essentials.online'
                  - 'essentials.protect'
                  - 'essentials.sethome'
                  - 'essentials.signs.disposal.create'
                  - 'essentials.signs.disposal.use'
                  - 'essentials.signs.mail.create'
                  - 'essentials.signs.mail.use'
                  - 'essentials.spawn'
                  - 'essentials.suicide'
                  - 'essentials.tpa'
                  - 'essentials.tpaccept'
                  - 'essentials.tpahere'
                  - 'essentials.tpdeny'
                  - 'jobs.join.*'
                  - 'jobs.world.*'
                  - 'lockette.admin.create.*'
                  - 'lockette.user.create.*'
                  - 'mywarp.warp.basic.*'
                  - 'mywarp.warp.sign.create'
                  - 'mywarp.warp.sign.warp'
                  - 'mywarp.warp.soc.*'
                  - 'online'
            Admin:
    
                default: false
    
                info:
                    prefix: &4[Admin] &3
                    suffix: ''
                    build:true
                inheritance:
                permissions:
    
                  - 'essentials.protect.damage.*'
                  - '*'
    My Users:
    Code:
    users:
        LaKiller:
            groups:
                - Admins
            permissions:
        JohnCZ123:
            groups:
                - Admins
            permissions:
    Very very thanks for help =(
     
  13. Offline

    Darkone003

    What would you suggest we use in place of this plugin?
     
  14. Offline

    noron596

    I just get a TON of errors ,which disables all the plugins that work with permissions.
    It doesnt say like, unexpected symbols, just a laod of errors. Do I really have to show all of them?
    also, help.
     
  15. Offline

    billybobjoe1223

    You're missing a space after the build: in your Builder group.
     
  16. Offline

    joby890

    y does it need to die
     
  17. Offline

    Dagumboss

    Code:
    [Error]    7/24/2011 12:04:16 PM Duplicate plugin 'Permissions' in ./plugins\EssentialsGroupBridge.jar.disabled and ./plugins\Permissions.jar
    [Error]    7/24/2011 12:04:17 PM Duplicate plugin 'Permissions' in ./plugins\EssentialsGroupBridge.jar.disabled and ./plugins\Permissions.jar
    [Error]    7/24/2011 12:04:44 PM Minecraft server error. Server will be restarted.
    [Error]    7/24/2011 12:12:07 PM Duplicate plugin 'Permissions' in ./plugins\EssentialsGroupBridge.jar.disabled and ./plugins\Permissions.jar
    [Error]    7/24/2011 12:12:09 PM Duplicate plugin 'Permissions' in ./plugins\EssentialsGroupBridge.jar.disabled and ./plugins\Permissions.jar
    [Error]    7/24/2011 12:12:27 PM Minecraft server error. Server will be restarted.
    [Error]    7/24/2011 12:12:38 PM Duplicate plugin 'Permissions' in ./plugins\EssentialsGroupBridge.jar.disabled and ./plugins\Permissions.jar
    [Error]    7/24/2011 12:12:51 PM Minecraft server error. Server will be restarted.
    [Error]    7/24/2011 12:18:39 PM Minecraft server error. Server will be restarted.
    EssentialsGroupBridge is not even in there.

    I'm getting a whole bunch of other errors, but there's not even room here to post that.
     
  18. Offline

    Jeyge

    You can do the following:
    Code:
                - 'essentials.*'
                - '-essentials.god'
    
    Sounds like you gave everyone OP status. If that is the case, remove them from your ops.txt file. If not, you'll need to post a little more information like your users.yml file, who has all access to everything, exactly what commands they shouldn't have and your server.log.
    Add them to your plugins\permissions\<world> directory and run your server. Permissions keys off of some of the GroupManager specific keywords and will run the conversion when it finds them.
    Sounds like you are running McMyAdmin and have it set to reload your permissions or perhaps another wrapper. The only other thing I can think of is that you have a frequent /reload scheduled.
    The second problem is easy so I'll answer that first. You have everyone assigned to Admins but your group is Admin. Either change the group in groups.yml to Admins or assign the users to Admin.

    I'll need a little more information on the first problem like exactly how you want the chat text to show up. Are you wanting the username to be colored or just the group name?

    Nope, just the Permissions error will be enough. If you can't find it, then feel free to post your whole server.log and someone will find it for you.
    [/FONT][/SIZE][/COLOR]
    [/CODE][/quote]
    Looks like you are editing the post a lot changing the error message so I hope I don't catch it while you are changing the message again but it looks like you are running both Permissions and GroupManager. I would pick one and stick with it and remove the other.[/CODE][/FONT][/SIZE][/COLOR][/quote]

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

    Dagumboss

    Ha yeah it was giving me problems. See the thing is I've disabled GroupManager and it still says that.
     
  20. Offline

    Jeyge

    You can't disable it. It needs to be removed.

    That is an iWarning error. Post it in their thread.

    If you are adding a permission in-game and it breaks everything, then you can stop the server and start it up again. This should show the errors in your server.log. Once you have those, post them here and someone should be able to help.

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

    Dagumboss

    It was removed. It was not in there at all. Right now I've put it back in just so I can remove it again. Would the old groupmanagers file itself be causing this problem? The jar is gone, but the config file and all is still there
     
  22. For some reason Permissions has been changing players groups into Guest for some reason. What could be the reason for this? What can be causing this?
    I use Permissions 3.1.5 and PermissionsPlus 3.2 and bukkit build #1000.

    I've been trying also to promote them with the Permissions commands, but everytime I type something like
    /pr ibab promote I just get the "[Permissions] Syntax:" and instructions how to use the command and even after trying 100's of times different ways it just doesn't work.
     
  23. Offline

    Jeyge

    You should know that GroupManager consists of 2 jar files. If you don't remove both, you will get errors like the one you have. Remove both EssentialsGroupManager.jar and EssentialsGroupBridge.jar if you no longer want to see them.

    Are all of your users being reset to an earlier time when they were in the Guest group or do they keep their currently assigned group but end up with the permissions of the default group? If it is the first, then it might be caused by the use of a /reload. If not, then post your permission yml files and point out who no longer has the permissions they should.

    For 3.1.5, the syntax of the promote was different so you will need to use "/pr <user> (w:<world>) promote <group> <track>" and it didn't support the default track so you will have to actually give it one.

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

    Dagumboss

    Yeah, I know that, but weird thing... I put GroupBirdge back in and now the server seems to be working fine.

    But now I'm getting this:


    Code:
    2011-07-24 12:49:58 [SEVERE] at net.minedev.cronikkk.iWarning.SettingsHandler.getPropertyBoolean(SettingsHandler.java:90)
    2011-07-24 12:49:58 [SEVERE] at net.minedev.cronikkk.iWarning.IWBlockListener.onBlockPlace(IWBlockListener.java:21)
    2011-07-24 12:49:58 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$28.execute(JavaPluginLoader.java:434)
    2011-07-24 12:49:58 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-07-24 12:49:58 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    2011-07-24 12:49:58 [SEVERE] at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:90)
    2011-07-24 12:49:58 [SEVERE] at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:74)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.ItemBlock.a(ItemBlock.java:81)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:223)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.Packet15Place.a(SourceFile:57)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    2011-07-24 12:49:58 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-24 12:49:58 [SEVERE] java.lang.NullPointerException
     
  25. Offline

    bloodyguy84

    How come everytime i add a permission to the groups permissions wont work? Im trying to add the iconomy payment and acces nodes but as soon as i do that i cant do /permissions in game. Thx for help
    o and i didnt copy and paste i set up everything right since /permissions works in the beggining and no tabs
     
  26. Only some users are being set to the Guest group. When they have the line - Member or something in the users.yml, it just changes it to - Guest.
    First off it happened only for the new players, but recently even some Moderators have been moved to the Guest group.

    I don't remember this happening after using /reload command though, their groups just suddendly when playing changed to Guest.
     
  27. Offline

    Dagumboss

    Ah. I ended up turning that off, but still, server times out. Now I don't get any errors or anything in the logs that tells me why it is. It just says Minecraft server error, restarting. Doesn't even necessarily restart.
     
  28. Offline

    Jeyge

    Sounds like someone is messing around with your promote/demote commands either using the built in Permissions commands or the PermissionsPlus ones. The only reported cases of this happening outside of that are caused by /reload.
     
  29. I tried asking the author of PermissionsPlus and he just said he hadn't seen this kind of behavior before. He asked me to send a list of plugins I have installed and I did, but so far no reply on that. I was hoping to get this solved from here.

    Though, could the reason be that my users.yml includes around 100 users in it and the file is too large?
     
  30. Offline

    Jeyge

    Some servers have files with over 1,000 users in them so I don't think you have any problems there. I did read your PermissionsPlus messages and if it is happening 10 minutes after you promote them, it sounds like a caching problem caused by a /reload or a wrapper like McMyAdmin.
     
  31. I don't use McMyAdmin. But you would suggest getting rid of Essentials with /reload command? Or does /reload come with bukkit?
     
Thread Status:
Not open for further replies.

Share This Page