Inactive [ADMN/DEV] PermissionsEx (PEX) v1.19.5 - Tomorrow is Today! [1.4.6-R0.1]

Discussion in 'Inactive/Unsupported Plugins' started by t3hk0d3, May 21, 2011.

  1. Offline


    Version: 1.19.5


    PermissionsEx (PEX) is a new permissions plugin, based on Permissions ideas and supports all of its features. But PEX is more! It offers different backends, powerful ingame management, fine grained restrictions for world modification.


    Current features
    1. Bukkit Permissions (SuperPerms) compatible.
    2. Several backend support. Currently bundled backends is File (YAML) and SQL (MySQL, SQLite). Also it's possible to add your own.
    3. YAML backend, with new, fully rethinked, config schema. Now all user, groups and their permissions are stored in one file - permission.yml. BTW file name is adjustable too.
    4. SQL backend, most delicious. Currently MySQL and SQLite supported, but other DB (like Postgre) are possible too. PEX deploys the DB scheme (tables and initial data) automatically. This means, that you only need to provide data on how to connect to the db, everything else PEX will handle by itself.
    5. Flexible architecture and API - you can change a lot programmatically.
    6. Compatibility layer with TheYeti's Permissions (2.7.4) (as a separate part of the plugin). In most cases plugins, which use Permissions, will alsowork with PEX also.
    7. Rich chat/console command interface. You can do almost everything ingame. Command list below.
    8. Modifyworld - Embedded restrictions mechanism (we call it "modifyworld"), which provides the possibility to control players abilities, such as destroying/placing blocks, riding carts/boats or even getting spotted by mobs and much more. Disabled by default.
    9. Multigroup inheritance. User, as well as Group, can be member of several groups. And inherit their permissions, options and prefix/suffix.
    10. Permissions based upon Regular Expressions. This mean you can use regular expressions. Example: modifyworld.blocks.(destroy|place).(3|12) - this permission allow place or destroy only sand (12) or dirt (3) blocks. There is still limitation on dot usage in your regexps - dots are escaped by default.
    11. Multiworld permissions. Just don't specify world and permission would work in any world.
    12. Multiworld inheritance. You can inherit different groups in different worlds.
    13. Easy migration from Permissions 2.x. Converter for both YAML and SQL are embedded into PermissionsCompat. Just use simple instruction.
    14. Perfomance friendly. Low-level caching helps alot when you have 100+ online users :)
    15. Promotional/Demotional system. You can assign ranks to groups and promote/demote users to higher/lower ranked group.
    16. World-inheritance - permissions/option of one world can be inherited by another world.
    17. Timed Permissions - you can give user permission only for some amount of time.
    18. Chat Manager - small chat plugin, bundled with PEX. With prefixes/suffiex and colors. Check wiki for more details.


    Basic setup tutorial (Thanks to lycano)

    Nice tutorial made by Bennetman

    Stable version

    Development version (mostly stable) - always lastest dev build.



    Maven Repository

    Join us on #permissionsex, Feel free to ask any related questions.

    Tools !NEW!
    Pex Auto-Setup Tool - MySQL and FlatFile !

    Show Changelog (open)
    Proper intervals for timed commands (both group/permissions management), without pesky seconds calculations (like /pex user t3hk0d3 timed add cool.permission 10days)
    1.4.6 compatibility.

    Built for Bukkit 1.4.2-R0.1
    Added inventory permissions (modifyworld.items.put/take.<item>.of.<chest>)
    Added item hold permission (modifyworld.items.hold.<item>)
    Sdded monster egg spawn permission (modifyworld.spawn.<creature>)
    Few other minor fixes
    Modifyworld improvements (configurable messages, now independent from PEX)
    /pex help command
    Minor improvements and bugfixes
    New modifyworld permissions
    Some bugfixes
    Bugfix release
    Bukkit R6 compatible.
    Several bugfixes!
    Permissions now case-insensetive.
    Users logging and cleanup feature.
    Non-inheriting nodes feature.
    Several Bugfixes.
    PermissionsCompat is finally remove from default bundle.
    User/group specific management permissions (
    Fixed some superperms compatibility issues
    Fixed several bugs
    SuperPerms compatbility bridge were rewritten - no lags anymore and now with debug output (now you can view superperms checks).
    Numerous of bugs were fixed (Thanks you guys for reporting them)
    Modifyworld were improved (modifyworld.item.use)
    Compatiblity for 1317+
    Fixed perfomance issues with SuperPerms (if you still experience they try to disable "raw-permissions" in config.yml)
    Fixed issue with prefix inheritance
    Improved Options mechanism.
    Auto saving new users feature, disabled by default.
    SuperPerms bridge improved - more permissions supported by wildcards.
    File backend dumping now fully functional. SQL dumping is still bogus (do not dump world-specific inheritance and prefixes), will be fixed soon.
    Many bugfixes and minor improvements.
    Superperms (BukkitPerms) support
    Multiworld inheritance and prefixes/suffixes
    Groups weighting
    ChatManager, chat plugin which bundled with PEX.
    Modifyworld now separate plugin, but still bundled with PEX.
    API changed slightly, CustomEvents (PermissionsEntityEvent, PermissionsSystemEvent) introduced.
    Many lesser improvements and tons of bugfixes.
    API get slightly improved
    Ranking ladders.
    User/group name case-insensetivity.
    Timed permissions.
    Modifyworld rules are get improved.
    Tons of minor improvements and bugfixes.
    Many bugfixes and improvements.
    MySQL connection stability improved - reconnection mechanism.
    Promotional/Demotional system.
    Perfomance improvement, with new low-level caching system (thx Joy)
    Modifyworld improved.
    Many lesser improvements and bugfixes.
    New p2compat backend, for easy migration from Permissions 2.x to PEX.
    Users/Groups dumping (pex dump <backend> <file>).
    New commands pex promote/demote. Actually this is just aliases for "pex user group set/remove"
    Few bugfixes.
    Players now can be informed about changes (has been added to group, changed permission/option). Disabled by default - set "permissions.informplayers.changes" to "true"
    Config node "permissions.verbose", which responsible for player informing about modifyworld restrictions has been renamed to "permissions.infromplayers.modifyworld".
    Autocomplete has been improved.
    New command "pex config <node> [value]". This command help to manipulate configuration file (config.yml) from console/chat interface.
    Many bugfixes.
    Autocomplete for users (taken from registred users and online users) and groups names.
    New command for user removing (pex user <user> delete)
    Fixed several nasty bugs. Thanks for bugreports!
    Compatibility layer loading order issue fixed. Now most of plugins should work.
    Tested with new CB 803 build.
    Regular expression permissions support.
    Newer permissions now added above (bugfix).
    Several bugfixes.
    Initial public release.
    BRampersad, grid21, MrRazull and 71 others like this.
  2. Offline


    I found it but i want it that they cant use the node i found it here but i just dont want them any unless i add them and if you have skype i can add you so i can get help
  3. Offline



    with these configurations i do not have permissions to do anything.
    does anyone know what i did wrong?

    thanks in advance,

    superperms' permissions.yml: (open)

        default: true
            admincmd.player.list: true
            admincmd.player.msg: true
            admincmd.player.afk: true
            admincmd.player.reply: true
            Gold2Economy.iron: true
            Gold2Economy.diamond: true
            jobs.join.*: true
            launchme.launch: true
            supernatural.command.*: true
            supernatural.player.*: true
            multihome.defaulthome.set: true
            multihome.defaulthome.go: true
            backpack.size9: true
            backpack.upgrade54: true
            backpack.workbench: true
            SpoutWallet.*: true
            spoutessentials.joinmessage: true
            spoutessentials.leavemessage: true
            spoutessentials.guiHELP: true
            towny.nation.*: true
            iConomy.payment: true
            firstlastseen.*: true
            okchat.format.Default: true
            easyban.*: true
            hawkeye.*: true
            supernatural.*: true
            okchat.format.Executioner: true
            admincmd.*: true
            automessage.*: true
            buycraft.*: true
            firstlastseen.*: true
            hawkeye.*: true
            iconomy.*: true
            jobs.*: true
            lagmeter.*: true
            launchme.*: true
            multihome.*: true
            multiverse.*: true
            spouttrade.*: true
            spoutessentials.*: true
            towny.*: true
            VIP.*: true
            worldborder.*: true
            worldedit.*: true
            worldguard.*: true

    PEX' permissions.yml: (open)

            default: true
            - server.Default
            default: false
            - server.1
            default: false
            - server.2
            default: false
            - server.3
            default: false
            - server.Elite
            default: false
            - server.Executioner
            - server.Default
            default: false
            - server.Admin
            - okchat.format.pim
            default: false
            - server.Admin
            - okchat.format.tom
            - Pim

    PEX' config.yml: (open)

                file: permissions.yml
        backend: file
            parent-nodes: true
            enable: true
            strict-mode: false
        createUserRecords: false
        allowOps: false
        debug: false
        basedir: plugins/PermissionsEx
  4. No, that can be done, just with a file backend, the negation nodes has to come before the nodes that grant permissions.
    - -prevent.this.action
    - '*'
    Thank you for using code tags!

    Looking at your permissions, it appears that it should work. What errors are you getting when you try to use those commands? I have a feeling that you might have a conflicting plugin as those commands you listed are default bukkit commands.

    No, I don't have skype under this account name. And you are getting help here in the forum, where these questions belong so others can benefit from the exchange.

    Thank you for using code tags, it makes the forum a lot easier to read.

    As for your question, those permissions files are for ones like bpermissions and such, those are not PEX format permissions. PEX uses a format similar to the old permissions 2/3. You need to convert it over.

    PEX supports the SuperPerms API natively. Think of it as it 'listens' for plugins that request a permission check from the bukkit permissions API, it's own internal API, or the one from the compatibility layer (if running) and checks it's permissions list.

    I don't know if I'm explaining it correctly or not, but it works. I have a plugin or two that use the permission system that is in bukkit only, and I just added the nodes to the PEX permissions file, in the format it uses, like any other node. Nothing more.

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


    can someone post their pex config.yml file so i can see it.
  6. Offline


    default: true
    - modifyworld.*

    default: false
    - worldedit.limit
    prefix: '&b[&builder&b]&f'
    suffix: '&f'
  7. Offline


    wat is superperms
  8. Offline


    Can someone that has everything in their server working please show me their pex config.yml file
  9. Offline


    can i use superperms' permissions.yml with converted permissions or should i leave the whole file?
    how is superperms supported then?


    so if a plugin supports only superperms, it also supports PEX, even when you are not using superperms' permissions.yml?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: Nov 10, 2018
  10. No, the plugin still only supports Superperms. PEX has it's own API, as it has had since the beginning when permissions 2/3 were the 'gold standard' for permissions. PEX just has the ability to 'listen' for calls using Superperms as well as it's own.
  11. Offline


    Thank you but members,vip and moderator still cant talk

    EDIT: i forgot
  12. Offline


    lol u have no inheritance for member which gives them no permissions, and therfore your vip's inherit nothing from the members. Moderators have no inheritance aswell.

    i suggest adding inheritance for the groups and to give each group a couple of more commands to use :)
  13. Offline


    I could give you my permissions.yml
  14. Offline


    I have a few extra ranks added so you can delete them if you want. also i have extra nodes, so delete those if you like/dont have the plugins

    Attached Files:

  15. Offline


    my computer is dumb and wont let me extract the config.yml files. can you please paste them here?
  16. Offline


    Hey there, hope you get this mod working soon. Currently I'm using permissionsEx 1.15 on mysql without issues, but if I upgrade to 1.16 many of my permissions cease to function - according to one reply here the "proper" solution is to specify these permissions in a flat file.

    If this is the case, I don't see the point in having mysql support in the first place.
    As mentioned, anyone who has issues with 1.16 and mysql - revert to 1.15. If this is not an option, switch to flat file config or switch to another plugin.
    Please offer no support to the notion that spreading your permission configuration randomly across different storage formats is in any way a good thing.
  17. Offline


    Hi all,

    Anyone else having issues running iConomy 6 with PEX 1.16 on Bukkit 1.0.1-R1?

    I'm running a very simplistic test server with only iConomy and PEX installed and a very simple permissions file as shown here:-

    This file is located in \plugins\PermissionsEx\permissions.yml

    03:36:24 [INFO] [iConomy - Celty] Enabled (17 ms)
    03:36:24 [INFO] [PermissionsEx] Superperms support enabled.
    03:36:24 [INFO] [PermissionsEx] v1.16 enabled

    PEX is working OK with other plugins that I've tried such as WorldGuard, commandbook etc, yet iconomy 6 doesn't pickup any of its permissions.

    "/money help" gives the following error:
    Invalid Command Usage: You do not have permission to do that.

    Yet I can get it working fine with PermissionsBukkit.

    Any ideas?
  18. Offline


    Actually man i went to my desktop and it let me extract it. thank you alot!
  19. Offline


    your very welcom
  20. Offline


    10:37 PM [INFO] [Pail] Setting up window...
    10:37 PM [INFO] [Pail] Pail 0.7.5 Enabled
    10:37 PM [INFO] Preparing level "Ben's WorldA"
    10:37 PM [INFO] Default game type: 0
    10:37 PM [INFO] Preparing start region for level 0 (Seed: 4612512896721804979)
    10:37 PM [INFO] Preparing spawn area: 53%
    10:38 PM [INFO] Preparing start region for level 1 (Seed: 1)
    10:38 PM [INFO] Preparing spawn area: 28%
    10:38 PM [INFO] Preparing start region for level 2 (Seed: 1)
    10:38 PM [INFO] Preparing spawn area: 8%
    10:38 PM [INFO] CraftBukkitUpToDate version 2.7.1 is enabled!
    10:38 PM [INFO] PailPlus v0.2 beta enabled
    10:38 PM [INFO] [PermissionsEx] Superperms support enabled.
    10:38 PM [INFO] [PermissionsEx] v1.16 enabled
    10:38 PM [INFO] [PermissionsCompat] Compatibility layer enabled.
    10:38 PM [INFO] Server permissions file permissions.yml is empty, ignoring it
    10:38 PM [INFO] CButD: CraftBukkit is Outdate, try to download new version
    10:38 PM [INFO] Done (0.455s)! For help, type "help" or "?"
    10:38 PM [INFO] The automatic update-Check only work every 6 hours, the last check was 344 minutes ago.
    10:38 PM [INFO] CButD: CraftBukkit download new Build, please stop the server and copy C:\Users\Ben\Desktop\MINECRAFT UPDATE 1.0.0\bukkit_update\craftbukkit-0.0.1-SNAPSHOT.jar to your Main-Folder.
    10:39 PM [INFO] Unknown command. Type "help" for help.
    10:39 PM [SEVERE] Exception in thread "AWT-EventQueue-0"
    10:39 PM [SEVERE] org.bukkit.command.CommandException: Unhandled exception executing command 'pex' in plugin PermissionsEx v1.16
    10:39 PM [SEVERE] at org.bukkit.command.PluginCommand.execute(
    10:39 PM [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(
    10:39 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    10:39 PM [SEVERE] at me.escapeNT.pail.GUIComponents.ServerConsolePanel$ConsoleCommandListener.actionPerformed(
    10:39 PM [SEVERE] at javax.swing.JTextField.fireActionPerformed(Unknown Source)
    10:39 PM [SEVERE] at javax.swing.JTextField.postActionEvent(Unknown Source)
    10:39 PM [SEVERE] at javax.swing.JTextField$NotifyAction.actionPerformed(Unknown Source)
    10:39 PM [SEVERE] at javax.swing.SwingUtilities.notifyAction(Unknown Source)
    10:39 PM [SEVERE] at javax.swing.JComponent.processKeyBinding(Unknown Source)
    10:39 PM [SEVERE] at javax.swing.JComponent.processKeyBindings(Unknown Source)
    10:39 PM [SEVERE] at javax.swing.JComponent.processKeyEvent(Unknown Source)
    10:39 PM [SEVERE] at java.awt.Component.processEvent(Unknown Source)
    10:39 PM [SEVERE] at java.awt.Container.processEvent(Unknown Source)
    10:39 PM [SEVERE] at java.awt.Component.dispatchEventImpl(Unknown Source)
    10:39 PM [SEVERE] at java.awt.Container.dispatchEventImpl(Unknown Source)
    10:39 PM [SEVERE] at java.awt.Component.dispatchEvent(Unknown Source)
    10:39 PM [SEVERE] at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
    10:39 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
    10:39 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
    10:39 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
    10:39 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
    10:39 PM [SEVERE] at java.awt.Component.dispatchEventImpl(Unknown Source)
    10:39 PM [SEVERE] at java.awt.Container.dispatchEventImpl(Unknown Source)
    10:39 PM [SEVERE] at java.awt.Window.dispatchEventImpl(Unknown Source)
    10:39 PM [SEVERE] at java.awt.Component.dispatchEvent(Unknown Source)
    10:39 PM [SEVERE] at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    10:39 PM [SEVERE] at java.awt.EventQueue.access$000(Unknown Source)
    10:39 PM [SEVERE] at java.awt.EventQueue$ Source)
    10:39 PM [SEVERE] at Method)
    10:39 PM [SEVERE] at$1.doIntersectionPrivilege(Unknown Source)
    10:39 PM [SEVERE] at java.awt.EventQueue$ Source)
    10:39 PM [SEVERE] at Method)
    10:39 PM [SEVERE] at$1.doIntersectionPrivilege(Unknown Source)
    10:39 PM [SEVERE] at java.awt.EventQueue.dispatchEvent(Unknown Source)
    10:39 PM [SEVERE] at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    10:39 PM [SEVERE] at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    10:39 PM [SEVERE] at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    10:39 PM [SEVERE] at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    10:39 PM [SEVERE] at Source)
    10:39 PM [SEVERE] Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    10:39 PM [SEVERE] at ru.tehkode.permissions.commands.CommandsManager.execute(
    10:39 PM [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(
    10:39 PM [SEVERE] at org.bukkit.command.PluginCommand.execute(
    10:39 PM [SEVERE] ... 42 more
    10:39 PM [SEVERE] Caused by: java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    10:39 PM [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(
    10:39 PM [SEVERE] at ru.tehkode.permissions.bukkit.commands.GroupCommands.groupCreate(
    10:39 PM [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    10:39 PM [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    10:39 PM [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    10:39 PM [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
    10:39 PM [SEVERE] at ru.tehkode.permissions.commands.CommandsManager$
    10:39 PM [SEVERE] at ru.tehkode.permissions.commands.CommandsManager.execute(
    10:39 PM [SEVERE] ... 44 more
    what am i doing wrong? my permissions and my config in my PremissionsEx file look just like that other guys.
    are you supposed to have anything in the permissions outside of the plugins folder?
    because when i add stuff to it then its like warning somethin somethin token somethin somethin
  21. Sure. Your permissions are wrong.

    I keep seeing that permissions.$NODE line from a lot of people who are converting over from PermissionsBukkit. I'm not sure what that is (my guess is some kind of bridge thing), but it's not a PEX node.

    If you are trying to give the admins group access to everything, you will want to give them * (- '*' in the file).

    Please, next time use code tags.

    As for the exception, I don't know off the top of my head, the log you posted isn't complete (it doesn't start at the bukkit version line).

    "Exception in thread "AWT-EventQueue-0" - a google tells me that is a java swing error, which means it's from pail (at least I think pail uses java swing).

    The usual guess is that you have another plugin running that is blocking access to PEX.

    While I am also waiting for an update, unless you have some bug that you have found, 1.16 does seem to work with the new bukkit RB.

    Well, it does for me on my tests. :)

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


    recommended build! AAAWWW YEEEEEEAAH!
  23. Offline


    Is it just me or does PEX perform very slowly when using Bukkit 1.0.1 R1? I'm getting a 3 to 8 second lag when promoting people in PEX.
  24. Offline


    It works normal for me.
  25. How many people do you have in your user list? I know that from my own testing, a file backend setup with around 100-150 players will lag when doing promoting. If you have that many, I'd look at moving to a SQL backend.
  26. Offline


    Waiting for an update :)
  27. Offline


    Thanks, but I prefer waiting :)
  28. Offline


    So, testing dev 1.17.... ;)
  29. Offline


    Thanks for the response, however, I'm not using the bridge plugin, just PermissionsEX.jar and
    The Permissions.* node gives access to all PEX commands and works fine (It is from the PEX wiki), that's not the problem. The problem is that iConomy nodes do nothing. In this case
  30. Offline


    Recommend build OUT :)
  31. Offline


Share This Page