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

    0ffn00b

    k thanks
     
  3. Permissions 3.X has really been a disaster, get help. Things aren't working.
     
  4. Offline

    but2002

    I've made Permissions completely MySQL, and the only file in the Permissions folder is "storageconfig.yml" however I'm getting console errors with cannot pass BLOCK_BREAK, and any time I execute ANY permissions command from console it just returns the basic help. What's going on here?
     
  5. Offline

    Jeyge

    BLOCK_BREAK errors seem a little strange from the 3.x version of Permissions and especially from the SQL version. Did you convert your 2.x files to the SQL tables or load them using the console commands? Post your server.log.
     
  6. Offline

    1born2kill

    Awesome Man TYVM! may I ask why it works now when u add a "z" in front of Permissions?
     
  7. Offline

    but2002

    I've not converted anything, this is a FRESH install. One SQL table was automatically created but nothing more. No rows or anything.

    Code:
    2011-06-07 19:20:52 [INFO] Starting minecraft server version Beta 1.6.6
    2011-06-07 19:20:52 [INFO] Loading properties
    2011-06-07 19:20:52 [INFO] Starting Minecraft server on *:1234
    2011-06-07 19:20:52 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-g3fc0460-b818jnks (MC: 1.6.6)
    2011-06-07 19:20:52 [INFO] Preparing level "world"
    2011-06-07 19:20:52 [INFO] Preparing start region for level 0
    2011-06-07 19:20:53 [INFO] Preparing start region for level 1
    2011-06-07 19:20:53 [INFO] Preparing spawn area: 12%
    2011-06-07 19:20:54 [INFO] LWC    Loading shared objects
    2011-06-07 19:20:54 [INFO] Cache    Protection cache: 0/10000
    2011-06-07 19:20:54 [INFO] LWC    Native library: plugins/LWC/lib/native/Linux/amd64/libsqlitejdbc.so
    2011-06-07 19:20:54 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-06-07 19:20:54 [INFO] Starting Minequery server on *:25566
    2011-06-07 19:20:54 [INFO] PlgEssentials version 4.6 is enabled!
    2011-06-07 19:20:54 [INFO] FalseBookExtra v0.85alpha by GeMo enabled
    2011-06-07 19:20:55 [INFO] [HeroicDeath] 1.8.1.156 enabled.
    2011-06-07 19:20:55 [INFO] FalseBookBlock v0.85alpha by GeMo enabled
    2011-06-07 19:20:55 [INFO] [FalseBook Block] No Cauldrons loaded!
    2011-06-07 19:20:55 [INFO] FalseBookCart v0.85alpha by GeMo enabled
    2011-06-07 19:20:55 [INFO] MapMarkers version 0.3.2 enabled
    2011-06-07 19:20:55 [INFO] LWC    Loaded 125 locale strings (0 overrides)
    2011-06-07 19:20:55 [INFO] [Permissions] version [3.1.4] (Phoenix)  loaded
    2011-06-07 19:20:55 [INFO] LWC    Using Permissions API...
    2011-06-07 19:20:55 [INFO] LWC    Loading SQLite
    2011-06-07 19:20:55 [INFO] SQLite    Using: Native
    2011-06-07 19:20:55 [INFO] PhysDB    Precached 0 protections.
    2011-06-07 19:20:55 [INFO] LWC    At version: v3.01
    2011-06-07 19:20:55 [INFO] [FalseBook Core] FalseBookCore v0.85alpha by GeMo enabled!
    2011-06-07 19:20:55 [INFO] [NoAFK] Permission enabled
    2011-06-07 19:20:55 [INFO] [NoAFK] version 0.2.1 enabled
    2011-06-07 19:20:55 [INFO] [iConomy] Logging is currently disabled.
    2011-06-07 19:20:55 [INFO] [iConomy] v5.01 (Eruanna) loaded.
    2011-06-07 19:20:55 [INFO] [iConomy] Developed by: [Nijikokun]
    2011-06-07 19:20:55 [INFO] [iConomy] hooked into Permissions.
    2011-06-07 19:20:56 [INFO] [Runecraft] Rune blacklist with 0 runes loaded.
    2011-06-07 19:20:56 [INFO] [Runecraft] World 'world': id changed to 0
    2011-06-07 19:20:56 [INFO] [Runecraft] Runecraft 2.7 initialized.
    2011-06-07 19:20:56 [INFO] [Runecraft] World 'world_nether': id changed to 1
    2011-06-07 19:20:56 [INFO] Runecraft plugin version 0.4 is enabled!
    2011-06-07 19:20:56 [INFO] [BBROTHER] ------------------------------------
    2011-06-07 19:20:56 [INFO] [BBROTHER] Hello, and thank you for using the TESTING version of BigBrother!
    2011-06-07 19:20:56 [INFO] [BBROTHER] Please note that, since this is far from complete, there will be many bugs.
    2011-06-07 19:20:56 [INFO] [BBROTHER] IF YOU FIND ANY BUGS, PLEASE REPORT THEM ON http://bugs.nexisonline.net/bb
    2011-06-07 19:20:56 [INFO] [BBROTHER] Please stay tuned in irc.esper.net #bigbrother for updates and build notifications.
    2011-06-07 19:20:56 [INFO] [BBROTHER] ------------------------------------
    2011-06-07 19:20:56 [INFO] [BBROTHER] BBData MySQL Driver r1 loaded!
    2011-06-07 19:20:56 [INFO] [BBROTHER] Permissions enabled using: Permissions v3.1.4
    2011-06-07 19:20:56 [WARNING] [BBROTHER] 'Help' isn't detected. No /help support
    2011-06-07 19:20:56 [INFO] [BBROTHER] BigBrother 1.8-SNAPSHOT (build #490) enabled!
    2011-06-07 19:20:56 [INFO] RegionalWeather v0.4.5 enabled.
    2011-06-07 19:20:56 [INFO] [Command iConomy] Loaded.
    2011-06-07 19:20:56 [INFO] [iChat] Found Permissions (v3.1.4)
    2011-06-07 19:20:56 [INFO] iChat (v2.3.1) enabled
    2011-06-07 19:20:56 [INFO] BankAccount version 0.5 is enabled!
    2011-06-07 19:20:56 [INFO] [BankAccount] Config file found!
    2011-06-07 19:20:56 [INFO] [BankAccount] Properties Loaded
    2011-06-07 19:20:56 [INFO] [BankAccount] Connected to MySQL
    2011-06-07 19:20:56 [INFO] [BankAccount] Running interest every 5 minutes by 0.1%
    2011-06-07 19:20:56 [INFO] [BankAccount] Established connection with iConomy!
    2011-06-07 19:20:56 [INFO] FalseBookIC v0.85alpha by GeMo enabled
    2011-06-07 19:20:56 [INFO] SpongeRestore version 0.9.8 is enabled!
    2011-06-07 19:20:56 [INFO] [FlatEarth] Permissions enabled using: Permissions v3.1.4
    2011-06-07 19:20:56 [INFO] FlatEarth 0.7 enabled
    2011-06-07 19:20:56 [INFO] Loading ColoredSigns
    2011-06-07 19:20:56 [INFO] [VanishNoPickup] 1.8.1 enabled.
    2011-06-07 19:20:56 [INFO] [BananaChunk] version 4.6 is enabled!
    2011-06-07 19:20:56 [INFO] CreeperNerfNoTNT version 0.3 enabled
    2011-06-07 19:20:56 [INFO] PlgMisc version 1.1 is enabled!
    2011-06-07 19:20:56 [INFO] Turnstile 1.7.6 is enabled!
    2011-06-07 19:20:56 [INFO] [Turnstile] Successfully linked with Permissions!
    2011-06-07 19:20:56 [INFO] [Turnstile] Successfully linked with iConomy 5!
    2011-06-07 19:20:56 [INFO] WorldEdit 4.6 enabled.
    2011-06-07 19:20:56 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-07 19:20:56 [INFO] Zeus configuration loaded.
    2011-06-07 19:20:56 [INFO] Zeus version 0.8 has started, the gods are at your will
    2011-06-07 19:20:56 [INFO] PistonPlugin 1.4 enabled.
    2011-06-07 19:20:56 [INFO] PlgLogCmd version 1.0 is enabled!
    2011-06-07 19:20:56 [INFO] [Permissions] SQL Interface enabled!
    2011-06-07 19:20:56 [INFO] [NoCheat] version [1.03] couldn't find CrafTIRC plugin. Disabling logging to IRC.
    2011-06-07 19:20:56 [INFO] [NoCheat] version [1.03] is enabled with the following checks: moving bedteleport speedhack flying fastswim
    2011-06-07 19:20:56 [INFO] Done (0.434s)! For help, type "help" or "?"
    2011-06-07 19:20:56 [INFO] [FalseBook Block] 0 Areas loaded.
    2011-06-07 19:20:56 [INFO] [FalseBook Block] 0 Bridges successfully loaded.
    2011-06-07 19:20:56 [INFO] [FalseBook Block] 0 Doors successfully loaded.
    2011-06-07 19:20:56 [INFO] [FalseBook Block] Gates successfully loaded.
    2011-06-07 19:20:56 [INFO] [FalseBook IC] plugins/FalseBook/Transmitter.db not found.
    2011-06-07 19:20:56 [INFO] [FalseBook IC] plugins/FalseBook/Receiver.db not found.
    2011-06-07 19:20:56 [INFO] [FalseBook IC] plugins/FalseBook/SensorList.db not found.
    2011-06-07 19:20:59 [INFO] [BBROTHER] Removed 0 old records because of age in 0h00m00s.
    2011-06-07 19:21:38 [INFO] but2002 [/76.242.184.33:50076] logged in with entity id 133 at (-67.46875, 67.0, -63.71875)
    2011-06-07 19:21:41 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
        at com.nijiko.permissions.Control.getGroups(Control.java:620)
        at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:61)
        at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.java:475)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:156)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:118)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:462)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-07 19:21:44 [SEVERE] Could not pass event BLOCK_PLACE to Permissions
    java.lang.NullPointerException
        at com.nijiko.permissions.Control.getGroups(Control.java:620)
        at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:43)
        at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
        at net.minecraft.server.ItemBlock.a(ItemBlock.java:76)
        at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:219)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:556)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-07 19:21:45 [INFO] [?f] but2002: asdf
    2011-06-07 19:21:52 [INFO] [Permissions] version [3.1.4] (Phoenix)  loaded
    2011-06-07 19:21:52 [INFO] /pr | Displays Permissions Info
    2011-06-07 19:21:52 [INFO] /pr -reload | Reloads the default world
    2011-06-07 19:21:52 [INFO] /pr -reload all | Reloads all worlds
    2011-06-07 19:21:52 [INFO] /pr -reload [world] | Reloads [world]
    2011-06-07 19:21:52 [INFO] /pr (g:)<target> (w:<targetworld>) (action) (actionparams) | Directs (action) on specified group/user.
    2011-06-07 19:21:56 [INFO] /pr | Displays Permissions Info
    2011-06-07 19:21:56 [INFO] /pr -reload | Reloads the default world
    2011-06-07 19:21:56 [INFO] /pr -reload all | Reloads all worlds
    2011-06-07 19:21:56 [INFO] /pr -reload [world] | Reloads [world]
    2011-06-07 19:21:56 [INFO] /pr (g:)<target> (w:<targetworld>) (action) (actionparams) | Directs (action) on specified group/user.
    2011-06-07 19:23:06 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
        at com.nijiko.permissions.Control.getGroups(Control.java:620)
        at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:61)
        at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.java:475)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:156)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:118)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:462)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-07 19:23:35 [INFO] /pr | Displays Permissions Info
    2011-06-07 19:23:35 [INFO] /pr -reload | Reloads the default world
    2011-06-07 19:23:35 [INFO] /pr -reload all | Reloads all worlds
    2011-06-07 19:23:35 [INFO] /pr -reload [world] | Reloads [world]
    2011-06-07 19:23:35 [INFO] /pr (g:)<target> (w:<targetworld>) (action) (actionparams) | Directs (action) on specified group/user.
    2011-06-07 19:23:38 [INFO] [Permissions] version [3.1.4] (Phoenix)  loaded
    2011-06-07 19:23:38 [INFO] /pr | Displays Permissions Info
    2011-06-07 19:23:38 [INFO] /pr -reload | Reloads the default world
    2011-06-07 19:23:38 [INFO] /pr -reload all | Reloads all worlds
    2011-06-07 19:23:38 [INFO] /pr -reload [world] | Reloads [world]
    2011-06-07 19:23:38 [INFO] /pr (g:)<target> (w:<targetworld>) (action) (actionparams) | Directs (action) on specified group/user.
    2011-06-07 19:23:40 [INFO] [HeroicDeath] but2002 was killed by an angry Zombie
    2011-06-07 19:24:12 [INFO] Read timed out
    2011-06-07 19:24:12 [SEVERE] java.net.SocketException: Socket closed
    2011-06-07 19:24:12 [SEVERE]     at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:99)
    2011-06-07 19:24:12 [SEVERE]     at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    2011-06-07 19:24:12 [SEVERE]     at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    2011-06-07 19:24:12 [SEVERE]     at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    2011-06-07 19:24:12 [SEVERE]     at java.io.DataOutputStream.flush(DataOutputStream.java:106)
    2011-06-07 19:24:12 [SEVERE]     at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    2011-06-07 19:24:12 [INFO] but2002 lost connection: disconnect.endOfStream
    2011-06-07 19:24:12 [SEVERE] Nag author: '<NoAuthorGiven>' of 'MapMarkers' about the following: onPlayerQuit has been replaced with a new signature, (PlayerQuitEvent)
    2011-06-07 19:24:35 [INFO] but2002 [/76.242.184.33:50090] logged in with entity id 940 at (-63.84477477233736, 63.0, -47.40932479986528)
    2011-06-07 19:24:47 [INFO] but2002 tried to use command /time =0
    2011-06-07 19:24:49 [INFO] but2002 tried to use command /time day
    2011-06-07 19:24:55 [INFO] but2002 tried to use command /help
    2011-06-07 19:24:59 [INFO] but2002 tried to use command /kill but2002
    2011-06-07 19:24:59 [INFO] [HeroicDeath] but2002 was killed by Herobrine
    2011-06-07 19:25:11 [INFO] but2002 tried to use command /mob Herobrine
    2011-06-07 19:25:14 [INFO] but2002 tried to use command /mob
    2011-06-07 19:25:16 [INFO] but2002 tried to use command /mon help
    2011-06-07 19:25:20 [INFO] but2002 tried to use command /pr
    2011-06-07 19:25:25 [INFO] but2002 tried to use command /pr help
    2011-06-07 19:25:31 [INFO] but2002 tried to use command /pr g:God create
    2011-06-07 19:25:39 [INFO] but2002 tried to use command /pr God create
    2011-06-07 19:25:56 [INFO] [BankAccount] Running interest system
    2011-06-07 19:25:56 [INFO] [BankAccount] Total given 0.00 Dollars in interest
    2011-06-07 19:26:29 [INFO] but2002 tried to use command /permissions g:God w:world create
    2011-06-07 19:26:41 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
        at com.nijiko.permissions.Control.getGroups(Control.java:620)
        at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:61)
        at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.java:475)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:156)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:118)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:462)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-07 19:26:43 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
        at com.nijiko.permissions.Control.getGroups(Control.java:620)
        at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:61)
        at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.java:475)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:156)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:118)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:462)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-07 19:27:51 [INFO] but2002 tried to use command /permissions but2002 perms list
    2011-06-07 19:27:55 [INFO] but2002 tried to use command /permissions but2002 god
    2011-06-07 19:28:27 [SEVERE] Could not pass event BLOCK_PLACE to Permissions
    java.lang.NullPointerException
        at com.nijiko.permissions.Control.getGroups(Control.java:620)
        at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:43)
        at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
        at net.minecraft.server.ItemBlock.a(ItemBlock.java:76)
        at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:219)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:556)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-07 19:28:51 [INFO] /pr | Displays Permissions Info
    2011-06-07 19:28:51 [INFO] /pr -reload | Reloads the default world
    2011-06-07 19:28:51 [INFO] /pr -reload all | Reloads all worlds
    2011-06-07 19:28:51 [INFO] /pr -reload [world] | Reloads [world]
    2011-06-07 19:28:51 [INFO] /pr (g:)<target> (w:<targetworld>) (action) (actionparams) | Directs (action) on specified group/user.
    2011-06-07 19:30:56 [INFO] [BankAccount] Running interest system
    2011-06-07 19:30:56 [INFO] [BankAccount] Total given 0.00 Dollars in interest
    2011-06-07 19:31:38 [INFO] /pr | Displays Permissions Info
    2011-06-07 19:31:38 [INFO] /pr -reload | Reloads the default world
    2011-06-07 19:31:38 [INFO] /pr -reload all | Reloads all worlds
    2011-06-07 19:31:38 [INFO] /pr -reload [world] | Reloads [world]
    2011-06-07 19:31:38 [INFO] /pr (g:)<target> (w:<targetworld>) (action) (actionparams) | Directs (action) on specified group/user.
    2011-06-07 19:31:40 [INFO] /pr | Displays Permissions Info
    2011-06-07 19:31:40 [INFO] /pr -reload | Reloads the default world
    2011-06-07 19:31:40 [INFO] /pr -reload all | Reloads all worlds
    2011-06-07 19:31:40 [INFO] /pr -reload [world] | Reloads [world]
    2011-06-07 19:31:40 [INFO] /pr (g:)<target> (w:<targetworld>) (action) (actionparams) | Directs (action) on specified group/user.
     
  8. Offline

    Jeyge

    If we knew that, then rcjrrjcr could probably fix it quickly. :)

    If there is only one table created, I would delete the database and let it start over. Do you remember if there were any errors the first time you launched it?

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

    but2002

    There were none.
    EDIT: Wiped the database, started up again. No errors, only one table created.
     
  10. Offline

    Jeyge

    Which table is it?

    Edit - and do you have the latest PermissionsSQL.jar?
     
  11. Offline

    but2002

    Yes, downloaded straight from the latest in the first post. The table created is PrWorlds
     
  12. Offline

    Jeyge

    I just tried to replicate it on my test machine and I can't even get the one table created. We'll probably have to wait for @rcjrrjcr or someone else who knows more about the SQL version.

    You need to change your group: <group> in your users.yml files to:
    Code:
            groups:
                - <group>
    
    That would cause getGroup to only return the default.

    You can find the example files in the zip version of the download along with the instructions.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Feb 15, 2019
  13. Offline

    tyzoid

    I have a problem hooking into this...
    Every time I run:
    Code:
    permissionHandler.getGroup(player.getWorld().getName(), player.getName());
    
    It will always return Default no matter what group the player belongs to. Only happens in v3, didn't happen in 2.5.5.

    Anyone know what this is caused by?
     
  14. Offline

    Revenger

    I have managed to get global groups and global users and overriding inheritance working and then inheriting working also from the global users, then inheritance via the storage config into another world and having all world group inheritance in all worlds inc global files for permissions working also, so for all you guys, It can be done in a setup like that.

    My Setup atm all with inheritance overriding is
    Global files -> World files -> Another Worlds files

    And at each level I have inherittance for each world file both internal and from another file.

    Have tested on a 7 world setup which will be our main setup fine.

    I'm going to inherit the subworld to a second subworld sometime and see if that works also.

    I will post up something a little later on how it actually works and I hope one of you guys see it and add it to the wiki.

    The only thing that won't cascade with the setup automatically is users prefix's or suffixes.
     
    unl33t likes this.
  15. Offline

    Jeyge

    It seems to be working correctly for most of the chat plugins. What do your permissions files look like?
     
  16. Offline

    x21x

    k so im kinda new to this forum thing so don't judge me lol, apparently when i put the jar into my plugins folder, run the server to get the Permissions files and eventually open the group.yml its empty. I checked every file in the folder and when i opened it with notepad they were all empty. I'm not sure if its supposed to be empty and i have to put some template into it or if it should be there by default. I'd really apreciate if u'd give me the template for each of the files if you cant find out what problem im having.
    Thanks in advance!

    thanks so much, u dont know how much time i spent trying to find the answer to this, uve helped alot :D
    i love this forum, people respond so quickly :p

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

    tyzoid

    Here are my config files.

    This happens by default. It used to be that it generated a template, but it doesn't anymore.
     

    Attached Files:

    x21x likes this.
  18. Offline

    Jackzilla88

    Does anyone know if the Permissions GUI is updated for this?
     
  19. Offline

    Jeyge

    I'm not aware of any Permissions GUI. Can you point us to that?
     
  20. Offline

    tyzoid

    Thank you very much. That fixed it!

    Now to tell my plugin users it is bad configs...

    No problem :)
     
  21. Offline

    Scandragon

    Errors on server start. CB818 and permissions 3.1.4
    Oh, and noone can login.. Never gets past the login. Started with the update of permissions!
    Code:
    2011-06-06 19:11:39 [SEVERE] while parsing a block mapping
    in "<reader>", line 1, column 1:
        users:
        ^
    expected <block end>, but found BlockMappingStart
    in "<reader>", line 34, column 4:
          eraboko:
          ^
    
    2011-06-06 19:11:39 [SEVERE]    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
    2011-06-06 19:11:39 [SEVERE]    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    2011-06-06 19:11:39 [SEVERE]    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    2011-06-06 19:11:39 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    2011-06-06 19:11:39 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-06-06 19:11:39 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    2011-06-06 19:11:39 [SEVERE]    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    2011-06-06 19:11:39 [SEVERE]    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    2011-06-06 19:11:39 [SEVERE]    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    2011-06-06 19:11:39 [SEVERE]    at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:52)
    2011-06-06 19:11:39 [SEVERE]    at com.nijiko.data.YamlUserStorage.reload(YamlUserStorage.java:201)
    2011-06-06 19:11:39 [SEVERE]    at com.nijiko.data.YamlUserStorage.<init>(YamlUserStorage.java:29)
    2011-06-06 19:11:39 [SEVERE]    at com.nijiko.data.YamlCreator.getUserStorage(YamlCreator.java:34)
    2011-06-06 19:11:39 [SEVERE]    at com.nijiko.data.StorageFactory.getUserStorage(StorageFactory.java:76)
    2011-06-06 19:11:39 [SEVERE]    at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:90)
    2011-06-06 19:11:39 [SEVERE]    at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:82)
    2011-06-06 19:11:39 [SEVERE]    at com.nijiko.permissions.ModularControl.load(ModularControl.java:103)
    2011-06-06 19:11:39 [SEVERE]    at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:184)
    2011-06-06 19:11:39 [SEVERE]    at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:140)
    2011-06-06 19:11:39 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:106)
    2011-06-06 19:11:39 [SEVERE]    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    2011-06-06 19:11:39 [SEVERE]    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    2011-06-06 19:11:39 [SEVERE]    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    2011-06-06 19:11:39 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-06-06 19:11:39 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-06 19:11:39 [SEVERE] [Permissions] Unable to load permission data.
     
  22. Offline

    Jeyge

    It looks like at least one of your users starts in column 4 and it should be in column 5 but there could be more than that. Make that change and any others that are like that and if it doesn't fix things, post your permissions files.
     
  23. Offline

    Revenger

    Oh here is what you need to do for a multiworld global group inheritance thing I mentioned earlier.

    Just listing the configs you should be able to work it out from here.

    All commands even (build=) can be modified on each level. So you can have global build for guests false then a guest world with it true etc.

    Or even add a permission global side take it away world side and re-add it sub level side.

    Just make sure you don't double up or cross inheritance nodes.

    Global Groups setup normally no extras.
    Code:
    groups:
        Guest:
            info:
                build: false
            inheritance:
            permissions:
        Member:
            info:
                build: true
            inheritance:
            - Guest
          permissions:
            - (Permission Here)
    World file now, you need the (- '*,Group') inheritance node changing for every group to inherit from global groups of that type.

    Set local inheritance up as normal.
    Code:
    groups:
        Guest:
            info:
                build: false
            inheritance:
            - '*,Guest'
            permissions:
        Member:
            info:
                build: true
            inheritance:
            - '*,Member'
            - Guest
           permissions:
            - (Permission Here)
    For a sub world set storage config to:
    Code:
    permissions:
        storage:
            type: YAML
            world-inheritance:
                subworld: mainworld
    Set sub worlds config to use local inheritance only.
    This will inherit from main world which intern inherits from global groups.

    No need to put the global group code as that's in the world file above we are inheriting from, remember stuff cascades down.
    Code:
    groups:
        Guest:
            info:
                build: false
            inheritance:
            permissions:
        Member:
            info:
                build: true
            inheritance:
            - Guest
           permissions:
            - (Permission Here)
    Global Users file.
    The group code is needed to propagate the users group to all permissions automatically.
    Code:
    users:
        User:
            permissions:
            groups:
            - '?,Member'
    World Users file, generated automatically when the user logs into that world.

    No need to add a group in here permissions will work based on the global users group level.

    Currently essentials chat needs a group for showing the players proper group else it shows as whatever the default group for that world is which for me is Guest.
    Code:
    users:
        drguild:
            permissions: null
            groups: null
    I hope that's enough information and someone can add this to the wiki as its essential needed information.
     
    Don Redhorse and ACStache like this.
  24. Offline

    Scandragon

    With my experience in human stupidity.. I think this is where the really annoying admin would be saying.. "Oh, I fixed it myself. I'm smart"

    Thanks mate.. I would never even have thought of looking there..
    Now suddenly everything works!! (permissions related, that is)
     
  25. Offline

    rcjrrjcr

    Looks like Help also causes an IAE. Added to the list.
    Are you two running BigBrother, MyWarp, MyHome, or Help?
     
  26. Offline

    Ashens

    I had a random "java.lang.IllegalAccessError: tried to access class com.nijiko
    .permissions.ModularControl$1RefreshTask" coming out of nowhere earlier (didn't add or remove plugins, or change configuration), which I fixed by renaming Permissions.jar to AAAPermissions.jar to try to tweak load order. Been working fine since.
    Plugin list (open)
    Plugins:
    -Annotate v1.2.3 (http://forums.bukkit.org/threads/18167/)
    *Backup v1.6 (http://forums.bukkit.org/threads/9871/)
    -BananaChunk v4.6 (http://forums.bukkit.org/threads/19232/)
    -BigBrother v1.8 b461 (http://forums.bukkit.org/threads/12879/)
    *CommandBook v1.5.1 (http://forums.bukkit.org/threads/6525/)
    *CommandHelper v3.1.0 (http://forums.bukkit.org/threads/4669/)
    -CommandSigns v0.8.7 (http://forums.bukkit.org/threads/16173/)
    -CraftBukkitUpToDate v2.5.5 (http://forums.bukkit.org/threads/5026/)
    -CreativeBuild v1.5 (http://forums.bukkit.org/threads/16993/)
    *DispNameChanger v1.4 (http://forums.bukkit.org/threads/13253/)
    !Dynmap v0.17 (http://forums.bukkit.org/threads/489/)
    -Help v2.4.1 (http://forums.bukkit.org/threads/13601/)
    -HeroicDeath v1.8.1.156 (http://forums.bukkit.org/threads/3255/)
    *iChat v2.3.0 (http://forums.bukkit.org/threads/5857/)
    -KeepGrowing v0.1 (http://forums.bukkit.org/threads/17293/)
    -LoginMessage v0.6_61 (http://forums.bukkit.org/threads/252/)
    -LWC v2.31 (http://forums.bukkit.org/threads/967/)
    -MagicCarpet v1.5.5 (http://forums.bukkit.org/threads/704/)
    -Minecart Mania v1.2.8 (http://forums.bukkit.org/threads/388/)
    -MinecartManiaCore v1.2.8
    -MinecartManiaSignCommands v1.2.8
    -MinecartManiaStation v1.2.5
    -MinecartManiaAdminControls v1.2.7
    !MultiInv v2.1.0 (http://forums.bukkit.org/threads/4742/)
    !MultiVerse v1.7.2 (http://forums.bukkit.org/threads/3707/)
    -PerformanceTweaks v0.08 (http://forums.bukkit.org/threads/15827/)
    -Permissions v3.1.4 (http://forums.bukkit.org/threads/18430/)
    -Tetris v0.4 (http://forums.bukkit.org/threads/18357/)
    -TweakedCycle v0.4.1 (http://forums.bukkit.org/threads/9378/)
    *WorldEdit v4.6 (http://forums.bukkit.org/threads/62/)
    *WorldGuard 5.0-alpha10 (http://forums.bukkit.org/threads/790/)
     
  27. Offline

    rcjrrjcr

    I thought about the current table schema for quite a while before deciding on it. Let me point out some flaws in your proposal.
    1. Users can have personal prefixes/suffixes/build settings too.
    2. Sticking all group inheritances and permission node ids in one field is not good for performance, as I have to parse the string. Besides, it violates the purpose of having a relational database.
    3. Prefixes/suffixes/build settings are not the only info nodes. Other plugins may use info nodes too.
    No offense, but I would say your table structure is more "awful" than what Permissions uses currently.

    Yes, it's a known issue. See the first post for details.

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

    Xom

    I tried to make an argument to this, but I just made it sound even more complicated than it is, so I'll simply say this: if you take the time to figure it out, it's worth it, it is really organized and super simple. It makes op.txt obsolete, especially if you have AdminCmd or something similar (with Perm support of course), you don't need op.txt anymore, you can have people with non-op like status, op+ status, or anything in between simply using groups.
     
  29. Offline

    slaymonok

    cant you fix so that its easy commands for placing peapols in groups? so hard to go to permissions-file each time someone wanna become a member.
     
  30. Offline

    e_zach

    try the promote command (broken in 3.1.4, fine in 3.1.1) so long as the user is placed within a default group, u can promote them to whatever
     
  31. Offline

    unl33t

    rcjrrjcr, I'm running all 4 of those and then some.

    Plugin list:
    AntiBuild
    AutoReplace
    BigBrother
    CraftBukkitUpToDate
    CraftIRC
    dynmap
    GeneralEssentials
    General
    Help
    IRCTransport-0
    LWC
    mcbans
    MCMA_compat
    MinecartManiaAdminControls
    MinecartManiaAutocart
    MinecartManiaAutomations
    MinecartManiaChestControl
    MinecartManiaCore
    MinecartManiaSignCommands
    MinecartManiaStation
    Minestairs
    MonsterHunt
    MultiVerse
    MyWarp
    Netstats
    NoGriefHoneyPots
    NoGriefIgnite
    NoGrief
    NoGriefLava
    NoGriefTNT
    Permissions
    PlugMan
    SpawnControl
    TelePlusPlus
    TeslaCoil1
    ThunderJoin
    TimeFold
    Tombstone
    VehicleZap
    WorldBorder
    WorldEdit
    WorldGuard
     
Thread Status:
Not open for further replies.

Share This Page