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

    Revenger

    You have a error when permissions get disabled.

    Code:
    2011-05-27 20:29:32 [SEVERE] Error occurred while disabling Permissions v3.0.4 (Is it up to date?): null
    java.lang.NullPointerException
        at com.nijiko.permissions.ModularControl.closeAll(ModularControl.java:112)
        at com.nijikokun.bukkit.Permissions.Permissions.onDisable(Permissions.java:126)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:771)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:269)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:262)
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:121)
        at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:246)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:322)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  3. Offline

    rcjrrjcr

    3.0.5 released. This should fix the cache NPEs everyone's been getting, and quoted worlds.
     
  4. Offline

    Revenger

    Permissions 3.04 and 3.05 have this error 3.03 doesn't.

    Code:
    2011-05-27 20:40:37 [SEVERE] Could not pass event PLAYER_JOIN to MultiInv
    java.lang.StackOverflowError
        at java.util.regex.Pattern.atom(Pattern.java:1969)
        at java.util.regex.Pattern.sequence(Pattern.java:1851)
        at java.util.regex.Pattern.expr(Pattern.java:1769)
        at java.util.regex.Pattern.compile(Pattern.java:1477)
        at java.util.regex.Pattern.<init>(Pattern.java:1150)
        at java.util.regex.Pattern.compile(Pattern.java:840)
        at java.lang.String.split(String.java:2304)
        at java.lang.String.split(String.java:2346)
        at org.bukkit.util.config.ConfigurationNode.getProperty(ConfigurationNode.java:41)
        at org.bukkit.util.config.ConfigurationNode.getList(ConfigurationNode.java:232)
        at org.bukkit.util.config.ConfigurationNode.getStringList(ConfigurationNode.java:256)
        at com.nijiko.data.YamlGroupStorage.getParents(YamlGroupStorage.java:52)
        at com.nijiko.permissions.Group.getRawParents(Group.java:67)
        at com.nijiko.permissions.Entry.getParents(Entry.java:168)
        at com.nijiko.permissions.Entry.getParents(Entry.java:164)
        at com.nijiko.permissions.Entry.has(Entry.java:81)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
    Code:
    2011-05-27 20:40:51 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'permissions' in plugin Permissions v3.0.5
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:127)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:279)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:699)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:666)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.StackOverflowError
        at java.util.regex.Pattern.atom(Pattern.java:1969)
        at java.util.regex.Pattern.sequence(Pattern.java:1851)
        at java.util.regex.Pattern.expr(Pattern.java:1769)
        at java.util.regex.Pattern.compile(Pattern.java:1477)
        at java.util.regex.Pattern.<init>(Pattern.java:1150)
        at java.util.regex.Pattern.compile(Pattern.java:840)
        at java.lang.String.split(String.java:2304)
        at java.lang.String.split(String.java:2346)
        at org.bukkit.util.config.ConfigurationNode.getProperty(ConfigurationNode.java:41)
        at org.bukkit.util.config.ConfigurationNode.getList(ConfigurationNode.java:232)
        at org.bukkit.util.config.ConfigurationNode.getStringList(ConfigurationNode.java:256)
        at com.nijiko.data.YamlGroupStorage.getPermissions(YamlGroupStorage.java:41)
        at com.nijiko.permissions.Group.getPermissions(Group.java:62)
        at com.nijiko.permissions.Entry.has(Entry.java:73)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
    
    at com.nijiko.permissions.Entry.has(Entry.java:82)

    Is repeated constantly in the log and console over and over.

    With permissions 3.0.5 cant even stop the server in ubuntu I need to manually kill the process.
     
  5. Offline

    rcjrrjcr

    It seems like you have cyclic inheritance in your config (i.e. A group being a parent of itself directly/indirectly) or an extremely long inheritance chain that your JVM can't handle, but that's doubtful, considering only 5 recursion levels were reached. I'll add back the checks to stop the infinite recursion.

    Code:
    public void work() {
        try {
            work();
        } catch (StackOverflowError e) {
            work();
        }
    }
     
  6. Offline

    Revenger

    My global groups is setup standard.

    Global users and groups is how you mentioned to set them up.

    Global users have.

    Code:
    users:
        drguild:
            permissions:
            groups:
            - '?,Member'
    World groups have.

    Code:
        Member:
            info:
                build: true
            inheritance:
            - '*,Member'
            permissions:
    
     
  7. Offline

    desht

    Something screwy going on with 3.0.5. Here's a tiny test server with just one world, the default:

    Code:
    12:44:03 [INFO] Starting minecraft server version Beta 1.5_02
    12:44:03 [INFO] Loading properties
    12:44:03 [INFO] Starting Minecraft server on *:25565
    12:44:03 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-753-g34e310c-b803jnks (MC: 1.5_02)
    12:44:03 [INFO] Preparing level "world"
    12:44:03 [INFO] Preparing start region
    12:44:05 [INFO] [Permissions] (Yeti) was initialized.
    12:44:05 [INFO] [Permissions] version [3.0.5] (Yeti)  loaded
    12:44:05 [INFO] Done (0.109s)! For help, type "help" or "?"
    >pr -list worlds
    12:44:09 [INFO] [Permissions] Loaded worlds: * ,world
    >pr -list groups world
    12:44:13 [INFO] [Permissions] Groups: Default, Admin, Moderator
    >pr g:Default w:world has xxx
    12:44:22 [INFO] [Permissions] User/Group does not exist.
    The output from "pr -list worlds" looks odd - is that "* " supposed to be there?

    And then although "pr -list groups world" shows the three groups I have defined in world/groups.yml, the next command says that the group doesn't exist?
     
  8. Offline

    vfern_fern

    Were u talking to me? So then what do I do?
     
  9. Offline

    FlawlezZ

    Is there any command like this
    /groupset [name] [group] [world]
    promote & demote are kind of big shit. ^^
     
  10. Offline

    Maxis010

     
  11. Offline

    Revenger

    I was talking to the dev.
     
  12. Offline

    FlawlezZ

    yntax: /permissions <target> (w:<world>) promote <parent> (w:<parentworld>) <track>
    Permission node: permissions.promote.<track>
    Description: This commands promotes the user along the specified parent's track.
    Syntax: /permissions <target> (w:<world>) demote <parent> (w:<parentworld>) <track>
    Permission node: permissions.promote.<track>
    Description: This commands demotes the user along the specified parent's track.

    I only find this and this is unnecessary, because I am not looking for promote or demote commands!
     
  13. Offline

    desht

    Looks like /pr user w:world parents add group does what you want, though I haven't been able to test it yet. Bear in mind users can be in multiple groups so you might also need to remove the user from other groups depending on your setup.
     
  14. Offline

    ARasputin

    I see, thank you so much.
     
  15. Offline

    joebmxx

    when i use the command "/permissions pixelguy w:SERVER promote Admins"

    it says no such group? do you know why this is?

    heres my permissions group file set up:

    Plugin:
    permissions:
    system: default
    Default:
    default: true
    info:
    prefix: 'Resident'
    suffix:
    build: true
    inheritance:
    permissions:
    - 'essentials.signs.mail.use'
    - 'essentials.msg'
    - 'essentials.signs.heal.use'
    - 'essentials.signs.warp.use'
    - 'essentials.signs.trade.use'
    - 'essentials.signs.buy.use'
    - 'essentials.signs.sell.use'
    - 'essentials.signs.balance.use'
    - 'essentials.home'
    - 'essentials.sethome'
    - 'essentials.warp'
    - 'essentials.rules'
    - 'essentials.motd'
    - 'essentials.me'
    - 'essentials.mail.send'
    - 'essentials.mail'
    - 'essentials.helpop'
    - 'essentials.nick'
    - 'essentials.realname'
    - 'essentials.worth'
    - 'essentials.sell'
    - 'essentials.pay'
    - 'essentials.msg'
    - 'essentials.suicide'
    - 'essentials.spawn'
    - 'essentials.list'
    - 'essentials.afk'
    - 'essentials.portal'
    Moderator:
    default: false
    info:
    prefix: 'Mod'
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'essentials.signs.balance.use'
    - 'essentials.tpo'
    - 'essentials.tpohere'
    - 'essentials.tpall'
    - 'essentials.clearinventory'
    - 'essentials.clearinventory.others'
    - 'essentials.broadcast'
    - 'essentials.ban'
    - 'essentials.tempban'
    - 'essentials.mute'
    - 'essentials.kick'
    - 'essentials.togglejail'
    - 'essentials.jails'
    - 'essentials.invsee'
    - 'essentials.give'
    - 'essentials.item'
    - 'essentials.unlimited'
    - 'essentials.time'
    - 'essentials.tree'
    - 'essentials.god'
    - 'essentials.heal'
    - 'essentials.heal.others'
    - 'essentials.weather'
    - 'essentials.thunder'
    - 'essentials.lightning'
    Admins:
    default: false
    info:
    prefix: 'Admin'
    suffix: ''
    build: true
    inheritance:
    - moderator
    - default
    permissions:
    - '*'
    - 'essentials.setspawn'
    - 'groupmanager.manuadd'
    - 'groupmanager.manudel'
    - 'groupmanager.manpromote'
    - 'groupmanager.mandemote'
    - 'groupmanager.manwhois'
    - 'essentials.chat.color'
    - 'essentials.setspawn'
    - 'essentials.powertool'
    - 'essentials.heal.cooldown.bypass'
    - 'essentials.god.others'
    - 'essentials.bigtree'
    - 'essentials.unlimited'
    - 'essentials.setjail'
    - 'essentials.deljail'
    - 'essentials.setjail'
    - 'essentials.unbanip'
    - 'essentials.unban'
    - 'essentials.backup'
    - 'essentials.kill'
    - 'essentials.ext'
    - 'essentials.burn'
    - 'essentials.antioch'
    - 'essentials.spawnmob'
    - 'essentials.plugin'
    - 'essentials.gc'
    - 'essentials.reloadall'
    - 'essentials.essentials'
    - 'essentials.seen'
    - 'essentials.whois'
    - 'essentials.motd'
    - 'essentials.info'
    - 'essentials.setworth'
    - 'essentials.eco'
    - 'essentials.setwarp'
    - 'essentials.delwarp'
    - 'essentials.warp.otherplayers'
    - 'essentials.warp.[warpname]'
    - 'essentials.world'
    - 'essentials.top'
    - 'essentials.compass'
    - 'essentials.getpos'
    - 'essentials.depth'
    - 'essentials.signs.trade.create'
    - 'essentials.signs.buy.create'
    - 'essentials.signs.sell.create'
    - 'essentials.signs.balance.create'
    - 'essentials.signs.warp.create'
    - 'essentials.signs.heal.create'
    - 'essentials.signs.disposal.create'
    - 'essentials.signs.free.create'
    - 'essentials.signs.protection.create'
    - 'essentials.signs.protection.override'
    - 'essentials.signs.mail.create'
    - 'essentials.help'
    - 'worldguard.god'
    - 'worldguard.god.other'
    - 'worldguard.god'
    - 'worldguard.god.other'
    - 'worldguard.heal'
    - 'worldguard.heal.other'
    - 'worldguard.locate'
    - 'worldguard.stack'
    - 'worldguard.region.define'
    - 'worldguard.region.redefine'
    - 'worldguard.region.claim'
    - 'worldguard.region.select'
    - 'worldguard.region.info'
    - 'worldguard.region.list'
    - 'worldguard.region.flag'
    - 'worldguard.region.setpriority'
    - 'worldguard.region.setparent'
    - 'worldguard.region.remove'
    - 'worldguard.region.addmember'
    - 'worldguard.region.addowner'
    - 'worldguard.region.removemember'
    - 'worldguard.region.removeowner'
    - 'worldguard.fire-toggle.stop'
    - 'worldguard.fire-toggle.stop'
    - 'worldguard.reload'
    - 'magiccarpet.mc'
    - 'magiccarpet.ml'
    - 'worldedit.brush.sphere'
    - 'worldedit.brush.cylinder'
    - 'worldedit.brush.clipboard'
    - 'worldedit.brush.smooth'
    - 'worldedit.brush.ex'
    - 'worldedit.chunkinfo'
    - 'worldedit.listchunks'
    - 'worldedit.delchunks'
    - 'worldedit.clipboard.copy'
    - 'worldedit.clipboard.cut'
    - 'worldedit.clipboard.paste'
    - 'worldedit.clipboard.rotate'
    - 'worldedit.clipboard.flip'
    - 'worldedit.clipboard.load'
    - 'worldedit.clipboard.save'
    - 'worldedit.clipboard.clear'
    - 'worldedit.generation.cylinder'
    - 'worldedit.limit'
    - 'worldedit.generation.sphere'
    - 'worldedit.generation.forest'
    - 'worldedit.generation.pumpkins'
    - 'worldedit.history.undo'
    - 'worldedit.history.redo'
    - 'worldedit.history.clear'
    - 'worldedit.navigation.unstuck'
    - 'worldedit.navigation.ascend'
    - 'worldedit.navigation.descend'
    - 'worldedit.navigation.ceiling'
    - 'worldedit.navigation.thru'
    - 'worldedit.navigation.jumpto'
    - 'worldedit.navigation.up'
    - 'worldedit.region.set'
    - 'worldedit.region.replace'
    - 'worldedit.region.overlay'
    - 'worldedit.region.faces'
    - 'worldedit.region.smooth'
    - 'worldedit.region.move'
    - 'worldedit.region.stack'
    - 'worldedit.regen'
    - 'worldedit.scripting.execute'
    - 'worldedit.selection.pos'
    - 'worldedit.selection.hpos'
    - 'worldedit.selection.chunk'
    - 'worldedit.wand'
    - 'worldedit.wand.toggle'
    - 'worldedit.selection.expand'
    - 'worldedit.selection.contract'
    - 'worldedit.selection.shift'
    - 'worldedit.selection.outset'
    - 'worldedit.selection.inset'
    - 'worldedit.selection.size'
    - 'worldedit.analysis.count'
    - 'worldedit.analysis.distr'
    - 'worldedit.snapshots.list'
    - 'worldedit.snapshots.restore'
    - 'worldedit.superpickaxe'
    - 'worldedit.superpickaxe.area'
    - 'worldedit.superpickaxe.recursive'
    - 'worldedit.tool.info'
    - 'worldedit.tool.tree'
    - 'worldedit.tool.replacer'
    - 'worldedit.tool.data-cycler'
    - 'worldedit.brush.options.mask'
    - 'worldedit.brush.options.material'
    - 'worldedit.brush.options.size'
    - 'worldedit.fill'
    - 'worldedit.fill.recursive'
    - 'worldedit.drain'
    - 'worldedit.fixlava'
    - 'worldedit.fixwater'
    - 'worldedit.removeabove'
    - 'worldedit.removebelow'
    - 'worldedit.removenear'
    - 'worldedit.replacenear'
    - 'worldedit.snow'
    - 'worldedit.thaw'
    - 'worldedit.extinguish'
    - 'worldedit.butcher'
    - 'worldedit.remove'
    - 'worldedit.reload'
     
  16. Offline

    redworld2

    I have a question. So I put all my groups, prefixes, permissions and everything into the globalGroups.yml in my permissions folder which is of course located in my plugins folder. My questions is, do I have to put all of that info into my world folder (name of my world) or will the one I just put in do it. I can't try it out since bukkit hasn't gotten a 1.6 stable build yet. Also, can someone explain to me how the new promotion/demotion works but also what the storageconfig.yml is? I have been using Groupmanager so this is a bit different. Thanks
     
  17. Offline

    Jeyge

    For anyone looking for information about Tracks, here is what I have come up with so far. The majority of the changes will come in your groups.yml files in the form of an additional root node called tracks.

    groups.yml with tracks
    Show Spoiler
    Code:
    groups:
        Guest:
            permissions: null
            inheritance: null
        Builder:
            permissions: null
            inheritance: null
        SuperBuilder:
            permissions: null
            inheritance: null
        Donor1:
            permissions: null
            inheritance: null
        Donor2:
            permissions: null
            inheritance: null
        MiniModerator:
            permissions: null
            inheritance: null
        Moderator:
            permissions: null
            inheritance: null
        Admin:
            permissions: null
            inheritance: null
        SuperAdmin:
            permissions: null
            inheritance: null
    tracks:
        BuilderTrack:
        - Guest
        - Builder
        - SuperBuilder
        - MiniModerator
        DonorTrack:
        - Guest
        - Builder
        - SuperBuilder
        - Donor1
        - Donor2
        - MiniModerator
        AdminTrack:
        - MiniModerator
        - Moderator
        - Admin
        - SuperAdmin
    

    Once you have your tracks set up in your file, you will then use the "/permissions <target> (w:<world>) promote <parent> (w:<parentworld>) <track>" command to promote your user. Here is the actual command I was testing with - "permissions Jeyge w:TestWorld promote Guest w:TestWorld BuilderTrack".

    I hope this helps clear up some of the confusion about the tracks.

    BTW - Demote isn't working right now but you should be able to replace promote with demote to demote them along the same tracks.
     
    ricande and Maxis010 like this.
  18. Offline

    FlawlezZ

    Worked. But my users do not have any rights. They can not use for example /sethome even though it is written in the text data.
     
  19. Offline

    vfern_fern

    I want to know as well~ What are these new .yml texts for? I explain more in my reply.

    Just a little update, when I did update everything got fixed. I got my groups back, I was opped, but I noticed a few things an error in the nether.

    First thing I noticed... I now have a new map folder called New World_nether... New World is the name of my original map, and I already had a nether folder called 'nether'. Idk if permissions did this or it was because we finally built a nether portal and stopped using /world.

    Second thing I noticed, when I went into the nether I could not place any torches or blocks and it comes up with this error:

    Code:
    06:52:26 [SEVERE] java.lang.NullPointerException
    06:52:26 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:286)
    06:52:26 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:268)
    06:52:26 [SEVERE]     at com.nijiko.permissions.Entry.canBuild(Entry.java:252)
    06:52:26 [SEVERE]     at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:44)
    06:52:26 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
    06:52:26 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    06:52:26 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    06:52:26 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    06:52:26 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    06:52:26 [SEVERE]     at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    06:52:26 [SEVERE]     at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    06:52:26 [SEVERE]     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:217)
    06:52:26 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:535)
    06:52:26 [SEVERE]     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    06:52:26 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    06:52:26 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    06:52:26 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    06:52:26 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    06:52:26 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    06:52:26 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    06:52:35 [SEVERE] Could not pass event PLAYER_CHAT to iChat
    java.lang.NullPointerException
        at com.nijiko.permissions.Entry.has(Entry.java:85)
        at com.nijiko.permissions.Entry.hasPermission(Entry.java:57)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:288)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:277)
        at com.nijiko.permissions.ModularControl.has(ModularControl.java:270)
        at net.TheDgtl.iChat.iChat.hasPerm(iChat.java:265)
        at net.TheDgtl.iChat.iChat.censor(iChat.java:189)
        at net.TheDgtl.iChat.iChat.parseChat(iChat.java:227)
        at net.TheDgtl.iChat.playerListener.onPlayerChat(playerListener.java:39)
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:278)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:671)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    06:52:35 [INFO] <?cvfern005?f> hello
    06:52:44 [SEVERE] java.lang.NullPointerException
    06:52:44 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:286)
    06:52:44 [SEVERE]     at com.nijiko.permissions.Entry.recursiveCheck(Entry.java:268)
    06:52:44 [SEVERE]     at com.nijiko.permissions.Entry.canBuild(Entry.java:252)
    06:52:44 [SEVERE]     at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:44)
    06:52:44 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
    06:52:44 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    06:52:44 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    06:52:44 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    06:52:44 [SEVERE]     at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    06:52:44 [SEVERE]     at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    06:52:44 [SEVERE]     at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    06:52:44 [SEVERE]     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:217)
    06:52:44 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:535)
    06:52:44 [SEVERE]     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    06:52:44 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    06:52:44 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    06:52:44 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    06:52:44 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    06:52:44 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    06:52:44 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    >
    
    Third thing I noticed, there is now a nether folder in my plugins/Permissions directory(? what is the right term please) the groups.yml is blank and the users.yml says my permissions are null and groups null, so I am guess that is why i can't place anything. Do i just copy and paste my other info into those?

    Also what is the globalgroups.yml, globalusers.yml and storageconfig.yml used for?

    Thanks boys/girls!
     
    xSn4k3x likes this.
  20. Offline

    Don Redhorse

    craftbook, worldedit, worldguard installed?
     
  21. Offline

    Echo4Sierra

    This sound GREAT!.... Especially adding ingame commands and SQL support!
    Couple of questions though:
    1. I cant find where you configure MySQL server information to provide a path for Permissions to link to the database?
    2. After the path to the database is defined, is it the users and groups .yml that needs to be converted to SQL, and can you provide us with instructions on how to actualy import them to the database? In otherwords, do we actually need to create a new table in the SQL DB and then drop the output from the yml/sql converter in the it?
    !
    Thank you for such an awesome plugin! After Bukkit, Permissions is the core to any good server out there.
     
  22. Offline

    Jancsi_PP

    I've got problems, I cannot put my 2.x version files to 3.0.6 :(( can someome help ?

    Users: Jancsi_PP:
    group: Admin
    permissions: null
    Benvill:
    group: SilverMoon
    permissions: null
    Zolee:
    group: Member
    permissions: null
    hobali93:
    group: Member
    permissions: null
    retimester:
    group: Member
    permissions: null
    tomy88trance:
    group: Member
    permissions: null
    lewyty:
    group: SilverMoon
    permissions: null
    hauser93:
    group: Member
    permissions: null
    sidiusbexter:
    group: Moderator
    permissions: null
    Kruskhun:
    group: Member
    permissions: null
    RenkeeHUN:
    group: Member
    permissions: null
    toldiakos:
    group: Member
    permissions: null
    mortyr45:
    group: Member
    permissions: null
    DomovoyHUN:
    group: Member
    permissions: null
    darkpanther99:
    group: Member
    permissions: null
    olika158:
    group: Member
    permissions: null
    cphungary:
    group: SilverMoon
    permissions: null
    Walaki:
    group: Member
    permissions: null
    Vallabi:
    group: Member
    permissions: null
    loserdapro:
    group: Guest
    permissions: null
    MrRocko691:
    group: OuterHeaven
    permissions: null
    seli20:
    group: Guest
    permissions: null
    bigbagira:
    group: Member
    permissions: null
    webomanti:
    group: Member
    permissions: null
    Mirdin:
    group: Member
    permissions: null
    DenyCreep:
    group: Member
    permissions: null
    oneilflanagan:
    group: Member
    permissions: null
    bluntelk:
    group: Member
    permissions: null
    Pseudo_end:
    group: Member
    permissions: null
    axeelf:
    group: Member
    permissions: null
    VercusX:
    group: SilverMoon
    permissions: null
    Lichy:
    group: Member
    permissions: null
    Niliren:
    group: OuterHeaven
    permissions: null
    Garazslo:
    group: OuterHeaven
    permissions:
    - essentials.signs.buy.create
    - essentials.signs.sell.create
    Wolfi211:
    group: Member
    permissions: null
    EvoSasa:
    group: Member
    permissions: null
    Fasded:
    group: Member
    permissions: null
    lucasgold:
    group: Member
    permissions: null
    keko1111:
    group: Member
    permissions: null
    zokni1211:
    group: Member
    permissions: null
    matigeti16:
    group: Member
    permissions: null
    xWish:
    group: Member
    permissions: null
    tekweeny:
    group: Member
    permissions: null
    NimoZero:
    group: Member
    permissions: null
    NSBerserker:
    group: OuterHeaven
    permissions: null
    roltsi:
    group: SilverMoon
    permissions: null
    Tharagul:
    group: Member
    permissions: null
    paulo77:
    group: Member
    permissions: null
    styl3wow:
    group: Member
    permissions: null
    Beatoush:
    group: Member
    permissions: null
    mestermagyar:
    group: Member
    permissions: null
    Zenlee:
    group: Member
    permissions: null
    Kupak:
    group: Member
    permissions: null
    hunor222:
    group: Member
    permissions: null
    SomoP:
    group: Member
    permissions: null
    szedlak:
    group: Member
    permissions: null
    nepszter:
    group: Member
    permissions: null
    arpiii:
    group: Member
    permissions: null
    veress1983:
    group: Member
    permissions: null
    pr1muska:
    group: Member
    permissions: null
    gobbesz:
    group: Support
    permissions: null
    Golra:
    group: Member
    permissions: null
    nelsonmine:
    group: SilverMoon
    permissions: null
    Mafeszka:
    group: Member
    permissions: null
    Gaboka2000:
    group: Member
    permissions: null
    Xypista1:
    group: Member
    permissions: null
    inurfacemom:
    group: Member
    permissions: null
    Lorant:
    group: SilverMoon
    permissions: null
    bete32:
    group: SilverMoon
    permissions: null
    franco01meister:
    group: Member
    permissions: null
    Whisper21:
    group: SilverMoon
    permissions: null
    kuruc:
    group: Member
    permissions: null
    Rothens:
    group: Member
    permissions: null
    pinguinfighter:
    group: Member
    permissions: null
    CLS01:
    group: Member
    permissions: null
    viruzmark:
    group: Member
    permissions: null
    geri930427:
    group: Admin
    permissions: null
    Funaho:
    group: Member
    permissions: null
    Redstar22:
    group: Jail
    permissions: null
    CREFFER:
    group: Member
    permissions: null
    T0mc0:
    group: Member
    permissions: null
    GigaDinnye:
    group: Member
    permissions: null
    t5545856:
    group: SilverMoon
    permissions: null
    Brian007:
    group: Member
    permissions: null
    Belak1:
    group: Member
    permissions: null
    kenny356:
    group: Member
    permissions: null
    qka:
    group: Member
    permissions: null
    Macmillan996:
    group: SilverMoon
    permissions: null
    androidhun:
    group: Member
    permissions: null
    pbp99:
    group: Member
    permissions: null
    Scyth3x:
    group: Member
    permissions: null
    azarm:
    group: Member
    permissions: null
    gboorka91:
    group: Member
    permissions: null
    adamhu:
    group: Member
    permissions: null
    phil512:
    group: Member
    permissions: null
    HPalii96:
    group: Member
    permissions: null
    CappieStar:
    group: Member
    permissions: null
    TheMrHench:
    group: Member
    permissions: null
    iMunchPoopie:
    group: Member
    permissions: null
    mEEdve:
    group: Member
    permissions: null
    Pajti:
    group: Member
    permissions: null
    Erzasan:
    group: Member
    permissions: null
    simonhusi:
    group: Member
    permissions: null
    mcduglas:
    group: Member
    permissions: null
    Kkrisa77:
    group: Member
    permissions: null
    balin92:
    group: Member
    permissions: null
    rudokasm:
    group: SilverMoon
    permissions: null
    hogi1996:
    group: Member
    permissions: null
    fzsolti2004:
    group: Member
    permissions: null
    csosz05:
    group: Member
    permissions: null
    alphazoo:
    group: SilverMoon
    permissions: null
    ZephyrSigmar:
    group: Member
    permissions: null
    Atles16:
    group: Member
    permissions: null
    MihiStar7:
    group: Member
    permissions: null
    oNNN1:
    group: Member
    permissions: null
    Akos83:
    group: Member
    permissions: null
    HunWhite:
    group: Member
    permissions: null
    Xiron001:
    group: Member
    permissions: null
    makesz:
    group: Member
    permissions: null
    Songoku01:
    group: Member
    permissions: null
    KoleraHUN:
    group: Member
    permissions: null
    Daniking:
    group: Member
    permissions: null
    dave914:
    group: Member
    permissions: null
    Kiralykent:
    group: Member
    permissions: null
    Waendor:
    group: Member
    permissions: null
    XxXenomorphxX:
    group: Member
    permissions: null
    Killers72:
    group: Member
    permissions: null
    Teroitin:
    group: Member
    permissions: null
    HunBlack:
    group: Member
    permissions: null
    eskaelx:
    group: Member
    permissions: null
    Greelord:
    group: Member
    permissions: null
    Beryll:
    group: Member
    permissions: null
    eszes123:
    group: Member
    permissions: null
    users:
    Jancsi_PP:
    permissions: null
    groups: null
    DenyCreep:
    permissions: null
    groups: null

    Groups:
    - Guest:
    default: true
    info:
    prefix: '&7'
    suffix: '&7'
    build: false
    inheritance:
    permissions:
    - 'jogokat.ide'
    - 'essentials.help'
    - Jail:
    default: false
    info:
    prefix: '&5'
    suffix: '&5'
    build: false
    inheritance:
    permissions:
    - 'jogokat.ide'
    - 'essentials.help'
    - Member:
    default: false
    info:
    prefix: '&2'
    suffix: '&2'
    build: true
    permissions:
    - 'essentials.signs.buy.use'
    - 'essentials.signs.sell.use'
    - 'essentials.tptoggle'
    - 'essentials.tp'
    - 'essentials.balance'
    - 'essentials.list'
    - 'HomeX.*'
    - 'SpawnX.spawn'
    - 'essentials.warp'
    - 'essentials.warp.list'
    - 'lwc.protect'
    - 'essentials.signs.heal.use'
    - 'essentials.signs.trade.use'
    - 'essentials.signs.trade.create'
    - 'essentials.help'
    - 'citizens.blacksmith.repair'
    - 'essentials.back'
    - Support:
    default: false
    info:
    prefix: '&6'
    suffix: '&6'
    build: true
    permissions:
    - 'essentials.signs.buy.use'
    - 'essentials.signs.sell.use'
    - 'essentials.tptoggle'
    - 'essentials.tp'
    - 'essentials.balance'
    - 'essentials.list'
    - 'HomeX.*'
    - 'SpawnX.spawn'
    - 'essentials.warp'
    - 'essentials.warp.list'
    - 'lwc.protect'
    - 'essentials.signs.heal.use'
    - 'essentials.signs.trade.use'
    - 'essentials.signs.trade.create'
    - 'essentials.help'
    - 'citizens.blacksmith.repair'
    - 'essentials.back'
    - 'essentials.tpo'
    - SilverMoon:
    default: false
    info:
    prefix: '&b'
    suffix: '&b'
    build: true
    permissions:
    - 'essentials.signs.buy.use'
    - 'essentials.signs.sell.use'
    - 'essentials.tptoggle'
    - 'essentials.tp'
    - 'essentials.balance'
    - 'essentials.list'
    - 'HomeX.*'
    - 'SpawnX.spawn'
    - 'essentials.warp'
    - 'essentials.warp.list'
    - 'lwc.protect'
    - 'essentials.signs.heal.use'
    - 'essentials.signs.trade.use'
    - 'essentials.signs.trade.create'
    - 'essentials.help'
    - 'citizens.blacksmith.repair'
    - 'essentials.back'
    - OuterHeaven:
    default: false
    info:
    prefix: '&b'
    suffix: '&b'
    build: true
    permissions:
    - 'essentials.signs.buy.use'
    - 'essentials.signs.sell.use'
    - 'essentials.tptoggle'
    - 'essentials.tp'
    - 'essentials.balance'
    - 'essentials.list'
    - 'HomeX.*'
    - 'SpawnX.spawn'
    - 'essentials.warp'
    - 'essentials.warp.list'
    - 'lwc.protect'
    - 'essentials.signs.heal.use'
    - 'essentials.signs.trade.use'
    - 'essentials.signs.trade.create'
    - 'essentials.help'
    - 'citizens.blacksmith.repair'
    - 'essentials.back'
    - Moderator:
    default: false
    info:
    prefix: '&9'
    suffix: '&9'
    build: true
    permissions:
    - 'essentials.signs.buy.use'
    - 'essentials.signs.sell.use'
    - 'essentials.tptoggle'
    - 'essentials.tp'
    - 'essentials.tpo'
    - 'essentials.balance'
    - 'essentials.list'
    - 'HomeX.*'
    - 'SpawnX.spawn'
    - 'essentials.warp'
    - 'essentials.warp.list'
    - 'lwc.protect'
    - 'essentials.signs.heal.use'
    - 'essentials.signs.trade.use'
    - 'essentials.signs.trade.create'
    - 'essentials.kick'
    - 'lwc.mod'
    - 'essentials.item'
    - 'essentials.time'
    - 'essentials.signs.buy.create'
    - 'essentials.signs.sell.create'
    - 'essentials.help'
    - 'essentials.invsee'
    - 'essentials.tpohere'
    - 'essentials.tphere'
    - 'essentials.weather'
    - 'essentials.togglejail'
    - 'essentials.jails'
    - 'essentials.setjail'
    - 'residence.admin'
    - 'citizens.blacksmith.repair'
    - 'essentials.back'
    - Admin:
    default: false
    info:
    prefix: '&c'
    suffix: '&c'
    build: true
    inheritance:
    permissions:
    - '*'
     
  23. Offline

    FlawlezZ

    Im not that guy, but I also have the same problem that all ppl except those with OP-Rights can not use any Commands. I do have Falsebook, Worldedit and Worldguard installed. ^^
     
  24. Offline

    Helfull

    i am geting following error by stopping the server:
    http://pastebin.com/a4xAnHWx

    other plugins installed:
    BigBrother
    iChat

    Bukkit version 803
    Permissions version 3.0.4
     
  25. Offline

    DJAddi

    What about using Google, the forum search or the page on github? Then you would have noticed that you have to change e.g.
    Code:
    group: Admin
    into
    Code:
    groups:
        - Admin
    So your users.yml should look like this:
    Code:
    users:
        Jancsi_PP:
            groups:
            - Admin
            permissions:
        Benvill:
            groups:
            - SilverMoon
            permissions:
        Zolee:
            groups:
            - Member
            permissions:
    ...


    Though, I have a request for myself.
    All permissions work fine, except for the "build" attribute. No one on my server is able to build or remove any blocks. Checking my permissions (/pr djaddi has build) it tells me that I am allowed to build, but when placing a block, it is instantly removed, also a removed block is instantly replaced. That the "build" permission actually works let me guess that the issue is not within my config, so I tried some things.
    First I removed all other plugins (better: I just set up a new server.) - can't build.
    Next, I tried different versions of bukkit (tried #798, #803 and #814) - same.
    When I temporarily removed the permission plugin, everything worked fine, so back to the plugin.

    And that's where I am right now. I have Java experience but I don't have the time to check all source codes. Hopefully anyone can help me (and please: replys like "show us your config first" tell me that you haven't read what i wrote).
    Have fun,

    Addi
     
  26. Offline

    FlawlezZ

    @DJAddi
    can you send me your groups data ? I have the opposite problem (i can build, but nobody can use permissions).
     
  27. Offline

    DJAddi

    I recommend not to use the global config files, I don't know why but they do not seem to do anything. Go the safe way and let globalGroups.yml and globalUsers.yml empty. In storageconfig.yml you should have:
    Code:
    permissions:
        storage:
            type: YAML
    Replace YAML with SQL if you are using the database instead of the config files.

    Tell me if you need comments to this.
    groups.yml (open)
    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance:
    permissions:
    - 'any.permission'

    Member:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - 'Default'
    permissions:
    - 'any.other.permission'

    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - 'Member'
    permissions:
    - 'permission.whatever'

    Admin:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'

    users.yml (open)
    users:
    YOURNAMEHERE:
    groups:
    - Admin
    permissions:

    ANYONE:
    groups:
    - Member
    permissions:

    ANYONE:
    groups:
    - Member
    permissions:
     
  28. Offline

    Jeyge

    Update to 3.0.6 and see if that makes it go away. There was an NPE fixed between 3.0.4 and the latest.

    https://github.com/TheYeti/Permissions/wiki/Storageconfig.yml-Options
    There is a script to convert your .yml files to a db listed in the OP but as the note says, it is still being tested. If you do test it out, make sure you post here saying how it worked.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  29. Offline

    DJAddi

    Update to my issue:
    This is getting very strange. I told you I cannot place blocks anywhere. When i used /spawn I could not build any blocks there. When I used /home (my home is not at the spawn) it worked fine. Then I went back to the spawn and suddenly I could also place blocks there.
    But not enough: Another player tried the same (/spawn -> try to place a block - failure -> go anywhere else -> try to place a block - success -> /spawn -> try to place a block - FAILURE!). So after teleporting to the spawn, going anywhere else and going to the spawn again, I could build but he could not (although he was able to build at "anywhere else". I am just not getting this... well, seems like I found a work-around. Maybe the developer could analyse this anyway...
     
  30. Offline

    GmK

    You are aware of spawn-protection=x in server.properties?
     
  31. Offline

    Jeyge

    Did you try turning off your spawn protection? Set spawn-protection to 0 in your server.properties.

    Btw - for your earlier post, build isn't a permissions so you can't check to see if a user has the build permissions but you could use "/pr g:<group> w:<world> build get" to see if what the group has build set to.
     
Thread Status:
Not open for further replies.

Share This Page