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

    t3hk0d3

    [​IMG]
    Version: 1.19.5

    PLEASE USE BUKKIT-DEV FORUM FOR DISCUSSION/HELP
    http://dev.bukkit.org/server-mods/permissionsex/
    THANKS IN ADVANCE.

    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.

    [​IMG]

    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.


    Documentation
    Wiki

    Basic setup tutorial (Thanks to lycano)

    Nice tutorial made by Bennetman


    Download
    Stable version

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

    Sources
    https://github.com/PEXPlugins

    Builds
    http://webbukkit.org:8080/

    Maven Repository
    http://repo.tehkode.ru/browse/ru.tehkode

    IRC
    Join us on #permissionsex, irc.esper.net. Feel free to ask any related questions.

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


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


    v1.19.4
    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
    v.1.19.3
    Modifyworld improvements (configurable messages, now independent from PEX)
    /pex help command
    Minor improvements and bugfixes
    v.1.19.2
    New modifyworld permissions
    Some bugfixes
    v.1.19.1
    Bugfix release
    v1.19
    Bukkit R6 compatible.
    Several bugfixes!
    Permissions now case-insensetive.
    v1.18
    Users logging and cleanup feature.
    Non-inheriting nodes feature.
    Several Bugfixes.
    PermissionsCompat is finally remove from default bundle.
    v1.17
    User/group specific management permissions (permissions.manage.group.Admin)
    Fixed some superperms compatibility issues
    Fixed several bugs
    v1.16
    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)
    v1.15
    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
    v1.14
    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.
    v1.13
    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.
    v1.12
    API get slightly improved
    Ranking ladders.
    User/group name case-insensetivity.
    World-inheritance.
    Timed permissions.
    Modifyworld rules are get improved.
    Tons of minor improvements and bugfixes.
    v1.11
    Many bugfixes and improvements.
    MySQL connection stability improved - reconnection mechanism.
    v1.10
    Promotional/Demotional system.
    Perfomance improvement, with new low-level caching system (thx Joy)
    Modifyworld improved.
    Many lesser improvements and bugfixes.
    v1.06
    New p2compat backend, for easy migration from Permissions 2.x to PEX.
    v1.05
    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.
    v1.04
    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.
    v1.03
    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!
    v1.02
    Compatibility layer loading order issue fixed. Now most of plugins should work.
    Tested with new CB 803 build.
    v1.01
    Regular expression permissions support.
    Newer permissions now added above (bugfix).
    Several bugfixes.
    v1.00
    Initial public release.
     
    BRampersad, grid21, MrRazull and 71 others like this.
  2. Offline

    Quezax

    So does someone have a full working config for ladder ranks?
    The wiki is a little sparse, and I want to make sure I understand how it works.
    Is there anything you need to do to give permissions to a group to promote/demote people on a ladder?
    Or is it just given to the top rank in a ladder?
    If you promote someone who is not on the ladder does it give them the lowest rank? or is it based on the primary ladder rank? or doesn someone need to have perms to add a group on the ladder to a user before they can promote/demote?
    Do you need to build inheritance in the group chain or is that automatic?

    Thanks in advance for you help!
     
  3. Offline

    RaymanMaik

    Please Help!!
     
  4. Offline

    Zeeky

    EDIT: NM o.o
    only gave error 1nc then fix it self D:
     
  5. Offline

    THG3

    1.8 stable build?
     
  6. Offline

    Zeeky

  7. Offline

    Raycrash

  8. Offline

    Scriblon

    Hey,
    First of all great plugin. Easiest permission system I had to work with. But I wouldn't be posting here if I didn't encounter a problem.

    It worked fine up until recently. I tried everything, even wiping the config file and restart the server to make a fresh one...
    PEX keeps functioning however, but it wont check 'external'-plugins. It will check modifyworld-permissions and chatmanager-permissions... other are set to default.

    The errorlog:
    Please note that my server is printing the stack in reverse inside the console so the start is at the bottom.

    Show Spoiler

    BOTTOM\/\/
    22.09 00:31:10 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    22.09 00:31:10 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    22.09 00:31:10 [Server] INFO at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
    22.09 00:31:10 [Server] INFO at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
    22.09 00:31:10 [Server] INFO at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:349)
    22.09 00:31:10 [Server] INFO at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    22.09 00:31:10 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    22.09 00:31:10 [Server] INFO at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    22.09 00:31:10 [Server] INFO at org.bukkit.Bukkit.reload(Bukkit.java:173)
    22.09 00:31:10 [Server] INFO at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:410)
    22.09 00:31:10 [Server] INFO at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
    22.09 00:31:10 [Server] INFO at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
    22.09 00:31:10 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    22.09 00:31:10 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:906)
    22.09 00:31:10 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    22.09 00:31:10 [Server] INFO at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.java:103)
    22.09 00:31:10 [Server] INFO at ru.tehkode.permissions.bukkit.BukkitPermissions.<init>(BukkitPermissions.java:73)
    22.09 00:31:10 [Server] INFO at ru.tehkode.permissions.bukkit.BukkitPermissions.collectPermissions(BukkitPermissions.java:105)
    22.09 00:31:10 [Server] INFO java.lang.NoSuchMethodError: org.bukkit.plugin.PluginDescriptionFile.getPermissions()Ljava/util/ArrayList;
    22.09 00:31:10 [Server] SEVERE Error occurred while enabling PermissionsEx v1.13 (Is it up to date?): org.bukkit.plugin.PluginDescriptionFile.getPermissions()Ljava/util/ArrayList;
    TOP^^


    After realizing the list was in reverse I saw that others already pointed this error out... Could this by any chance be solved if I use a SQL backbone instead of an yml one?

    Thanks in advance,
    Scriblon

    EDIT: forgot to mention server-version: b1176 (MC: 1.8.1), I know it isn't the supported build, but it worked fine until recently. Could be that the server got a new 'stable' update :(
    EDITEDIT: after linking a few dots together I found out this build is from yesterday. And that is the only thing that changed over the last day inside the server. So it is probably that. That only means I have to wait until the server-admin updates or downgrades it again.
     
  9. hey getting this when i do ANY command after making a few groups and modifying a few permissions..

    Code:
    >pex group default remove modifyworld.*
    16:36:36 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'pex'
     in plugin PermissionsEx v1.13
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    3)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    47)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    43)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Default user
    group are not defined. Please select one using "default: true" property
            at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManag
    er.java:127)
            at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.j
    ava:123)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
            ... 7 more
    Caused by: java.lang.RuntimeException: Default user group are not defined. Pleas
    e select one using "default: true" property
            at ru.tehkode.permissions.backends.FileBackend.getDefaultGroup(FileBacke
    nd.java:157)
            at ru.tehkode.permissions.PermissionManager.getDefaultGroup(PermissionMa
    nager.java:283)
            at ru.tehkode.permissions.PermissionManager.getDefaultGroup(PermissionMa
    nager.java:272)
            at ru.tehkode.permissions.PermissionUser.getGroups(PermissionUser.java:1
    60)
            at ru.tehkode.permissions.PermissionUser.inGroup(PermissionUser.java:392
    )
            at ru.tehkode.permissions.PermissionUser.inGroup(PermissionUser.java:412
    )
            at ru.tehkode.permissions.PermissionUser.inGroup(PermissionUser.java:428
    )
            at ru.tehkode.permissions.PermissionBackend.getUsers(PermissionBackend.j
    ava:238)
            at ru.tehkode.permissions.PermissionBackend.getUsers(PermissionBackend.j
    ava:220)
            at ru.tehkode.permissions.PermissionManager.getUsers(PermissionManager.j
    ava:153)
            at ru.tehkode.permissions.PermissionGroup.getUsers(PermissionGroup.java:
    442)
            at ru.tehkode.permissions.PermissionGroup.clearMembersCache(PermissionGr
    oup.java:591)
            at ru.tehkode.permissions.ProxyPermissionGroup.setPermissions(ProxyPermi
    ssionGroup.java:143)
            at ru.tehkode.permissions.PermissionGroup.removePermission(PermissionGro
    up.java:552)
            at ru.tehkode.permissions.bukkit.commands.GroupCommands.groupRemovePermi
    ssion(GroupCommands.java:372)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(C
    ommandsManager.java:298)
            at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManag
    er.java:120)
            ... 9 more
     
  10. Offline

    jfjohnny5

    Hey all - having issues adjusting permissions for DynMap. Everyone that logs on can access every dynmap command. I'm running Bukkit, PermissionsEX, DynMap, and SpawnControl. I can adjust permissions on a per-group basis for SpawnControl and they work fine. But no matter what I changed for dynmap permissions it makes no difference. Any ideas?
     
  11. Offline

    THG3

  12. Offline

    Jäsef

    hi got nooby question, what permission gives you all permissions? is it like this?:

    permissions:
    - '*'

    or is it without the ' ?
    - *

    Love the plugin so far, very easy to use and I REALLY like the fact that you can add groups and such via console :D


    edit: nevermind got it now, it's - '*'
     
  13. Offline

    NobleProtocol

    Okay first off this is nothing like the old config files for the old permissions and I can't edit it at all and there are no intructions on how to so unless you decide to put up a tutorial I have to vote this a thumbs down :/
     
  14. I'm not sure what you are looking at then:), as I found it to be very close to the old permissions 2 and 3 config files.

    As for editing them, I've got mine set for the file based back-end and I use my usual text editor (vi) to make and changes.
     
  15. Offline

    Jobsti

    Request:
    To setup in a config, for splitting the .yml in a user.yml and a permissions.yml.

    Would be nice.
     
  16. Offline

    MeatBat

    line 398?
     
  17. Offline

    stkeroro

    ops, fixed, seems a npcs problem

    how to grant all permissions

    - * or - '*'

    i have admins group, but i appear guests group, what is wrong?

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

    CyborgRaVen

    rebuil to 1185 pls?
     
  19. Agree. Doesn't work with #1185
    Code:
    [SEVERE] Error occurred while enabling PermissionsEx v1.13 (Is it up to date?): org.bukkit.plugin.PluginDescriptionFile.getPermissions()Ljava/util/ArrayList;
    java.lang.NoSuchMethodError: org.bukkit.plugin.PluginDescriptionFile.getPermissions()Ljava/util/ArrayList;
        at ru.tehkode.permissions.bukkit.BukkitPermissions.collectPermissions(BukkitPermissions.java:105)
        at ru.tehkode.permissions.bukkit.BukkitPermissions.<init>(BukkitPermissions.java:73)
        at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.java:103)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  20. Offline

    arnie231

    Show Spoiler


    Give the Dev chance to update its only just come out and i am sure its not been working since 1149 hence i am stuck agian giv ehim time to work on it

    About the plugin:
    This is a very good plugin works like Perms 3.1.6 BUT! with working in game commands which is great i love this plugin and the fact it supports superperms is good because i hate how you now have to setup superperms ¬_¬ agian great work i will send some your way once;

    something you might like to add:
    Seperate Yml for user/groups
    Thats it because this plugin is GREAT
     
  21. Offline

    brnr72

    Just updated to the latest bukkit for 1.8 and Pex gives me the error below. I'll wait for dev to do his thing :)

    [SEVERE] Error occurred while enabling PermissionsEx v1.13 (Is it up to date?): org.bukkit.plugin.PluginDescriptionFile.getPermissions()Ljava/util/ArrayList;
    java.lang.NoSuchMethodError: org.bukkit.plugin.PluginDescriptionFile.getPermissions()Ljava/util/ArrayList;
    at ru.tehkode.permissions.bukkit.BukkitPermissions.collectPermissions(BukkitPermissions.java:105)
    at ru.tehkode.permissions.bukkit.BukkitPermissions.<init>(BukkitPermissions.java:73)
    at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.java:103)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  22. Offline

    Delocaz

    On CB 1185:

     
  23. Offline

    desht

    I think we can safely say that there's a known issue with PEX 1.13 and CB 1185 - there's really no need to keep reposting the same problem over & over. Just wait for tehkode to do a rebuild against CB 1185 (which is probably all that's needed here).
     
  24. Offline

    Chromana

    As a dev you can see that they are the same errors but to someone who knows nothing about coding they think they are being helpful. To be honest, it's good for them to post errors because, who knows, there might be some different ones in there too.
     
  25. Offline

    Squidcraft

    Hi,

    Wondering if anyone can help.
    Trying to setup 'guest' permissions on PEX - have managed to setup all the others perfectly apart from guest with we don't want be able to be build or place blocks.

    This is what we have:

    Code:
          guest:
            default: true
            build: false
            permissions:
            - -modifyworld.*
            - essentials.help
            - essentials.helpop
            - essentials.motd
            - essentials.rules
            - essentials.spawn
            - essentials.suicide
            prefix: '&f[&bGuest&f] '
            suffix: '&f'
    As you can see 'build: false'. But it won't work?! Any ideas?

    Thanks!
     
  26. Offline

    sorklin

    Don't use build: false -- doesn't work. Instead, don't give modifyworld permissions. You don't need to give negative permissions because this group isn't inheriting any permissions. For example, here's my guest group:
    Code:
        Guest:
            default: true
            permissions:
            - modifyworld.blocks.interact.64
            - modifyworld.chat
            - -modifyworld.mobtarget.monster.creeper
    I let them use doors (interact), let them chat, but nothing else. I also remove targeting for creepers, because I don't want them griefing by luring creepers into structures that then get destroyed.

    And make sure you've loaded the modifyworld plugin.
     
  27. @Squidcraft
    Get rid of "build: false" and "- -modifyworld.*" and make sure you have the modifyworld.jar in your plugins folder.

    Provide - modifyworld.* permissions to your non-guests.
     
  28. Offline

    Proglodyte

    Hi ! Just reporting that PEX dev version 1.14 is working fine so far on the latest CB recommended build 1185. Thanks !
     
  29. Offline

    Don Redhorse

    hmm doesn't work for me... I get a lot of you don't have permission errors.. nothing in the log though.. Antiguest and DefaultCommand Permissions don't work.. MagicCarpet does.. hmm
     
  30. Offline

    PyPKjE

    It would be nice that these updated mysql permissions here as one of the best plug-in just a pity the 1.8 update does not work normally :/
     
  31. Offline

    sorklin

    It just came out. I'm sure he's on it. The only thing that broke for me, is the superperms interface. So my plugin and any that just use superperms are temporarily broken. Plugins that use the permissions compatability interface are fine. There is already a bug report on github, so i'm sure it'll be fixed soon.
     

Share This Page