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

    minejames1

    ;)

    i dont have a wepif.yml in my server folder?

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

    mrboese

    What's with dynamic permissions th at cannot be declared in plugin.yml (e.g. regiondrops.<regionname>.allowbuild)?
    Is there an option to bypass plugin.yml and enable access to every permission node by player.haspermission(...)?
     
  4. Offline

    desicions

    Thank you very much!
     
  5. Try CB 1318, 1317 has a bug or two that is know to cause Bad Things(tm) to happen when PEX is running.

    You have a good one here. I don't recall ever seeing this kind of problem before, and I don't see this problem on my server. What other plugins are you using?

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

    Chrisknyfe

    I'm having issues with the permission "bukkit.command.gamemode". I set this to a group, but the command doesn't work! I've even tried using /pex toggle debug, but there's no request for the permission when I run the command "/gamemode". Are certain bukkit perms bypassing PEX?

    P.S., the weird thing about this is that if I'm a user with the '*' permission, I can switch game modes.

    I've also confirmed that "bukkit.command.version" does not work and neither does " bukkit.command.plugins".

    EDIT: OH, it's EVERY bukkit.* permission that's failing. I see now...
     
  7. Offline

    NotYetRated

  8. Offline

    mypetsquirrel

    If you go into the config.yml and enable Modifyworld, it will load just fine.
    Code:
    permissions:
        modifyworld:
            enabled: true
    
     
  9. Offline

    zawmbee42

    Just a small problem, but the colors for prefix continue on to color the outside ">". It looks ugly...like so:
    <[Owner] zawmbee>
    Anyways, here's my permissions, in case you need that.
    Code:
    users:
        RedEye:
            group:
            - admin
        zawmbee:
            group:
            - owner
    groups:
        default:
            default: true
            permissions:
            - modifyworld.*
            - -modifyworld.blocks.place.bedrock
        owner:
            permissions:
            - '*'
            prefix: '&4[&6Owner&4] &6'
            suffix: '&2'
        admin:
            permissions:
            - '*'
            prefix: '&1[&4Admin&1] &4'
            suffix: '&1'
     
  10. Offline

    popcorn8123

    THE INSTALLATION IS FREAKIN HARD
     
  11. Offline

    Cheezetarts

    CB 1318 does not work either.
     
  12. 1 Question, what are the PEX nodes? this may be stupid, but I read through it and couldnt find it. Any link or help?
     
  13. Offline

    Cody Pawlowski

    Is there any way to get rid of the "You do not have permission to do this!" response to EVERY single freaking command. It's extremely annoying and many players on my server are getting mad at me about it. Any fixes? I have 138 plugins so it's sort of hard to sort out which ones may be causing it. Any help is appreciated.
     
  14. Offline

    Jenal

    How do you make it so its the same permissions and groups for all my worlds?
     
  15. Offline

    nidzzllll-

    Do you just get that message but the commands work?
    Do /pex toggle debug and enjoy the endless log spam (no joke). See what nodes the users try & get denied -> fix it. If nothing works at all, make sure you have dinnerperms: false in your wepif.yml file (It's a WorldEdit thing but it just goes all skynet since 398+).
     
  16. Offline

    Valtos

    I am already back with my problem.

    But now i have find out that PEX find permissions that i don't have set.

    Here the Permissions of the user trinkmilch: http://pastebin.com/HYEc1hxU
    In this list we can see the effective permissions with
    and things like this
    BUT this should be the opposite!!!

    Here are the permissions of trinkmilch:
    Code:
    >pex user trinkmilch
    20:00:08 [INFO] trinkmilch are member of:
    20:00:08 [INFO]    default (rank 1000 @ default)
    20:00:08 [INFO] trinkmilch's permissions:
    20:00:08 [INFO]    modifyworld.chat (from default)
    20:00:08 [INFO]    management.command.login (from default)
    20:00:08 [INFO] trinkmilch's options:
    Here are the Default Group:
    Code:
    >pex group default
    20:01:33 [INFO] default are member of:
    20:01:33 [INFO] Group default's permissions:
    20:01:33 [INFO] 1) modifyworld.chat (own)
    20:01:33 [INFO] 2) management.command.login (own)
    20:01:33 [INFO] Group default's Options:
    20:01:33 [INFO]   rank = "1000"
    
    Now we see that the command for login should be true.

    in my plugin.yml of the management plugin the permissions are: http://pastebin.com/pUjiPr6h

    PEX config.yml:
    Code:
    permissions:
        basedir: plugins/PermissionsEx
        backend: sql
        backends:
            sql:
                driver: mysql
                uri: mysql://db.****permissions
                user: ***
                password: *******
        superperms:
            disable-unmatched: true
            enable: true
            matched-permissions: true
            debug: true
            raw-permissions: true
        createUserRecords: false
        allowOps: false
        debug: true
    I have no idea why PEX set the permissions to false and other permissions to true.... not matched with the real permissions.

    Thanks
    Valtos
     
  17. Offline

    Sudogaron

    I did that with a fresh install, and it still doesn't load on 1317 for me. I'm attempting a rollback today to 1240 where it did work. Very odd I know.
     
  18. Offline

    Cheezetarts

    use 1318. Some people say it has fixed a few things, as 1317 as a few bugs
     
  19. I've been looking around a bit for a variable like %displayname for ChatManager and I haven't found anything yet.
    I want it to show my name when i for example do /nick fuze in Essentials or any other plugin.
     
  20. Offline

    Viperdream

    Is it normal that the permissions.jar doesn't add anything to the plugin file?
     
  21. Offline

    worstboy32

    Anny idea why my colors just stopped working?
    http://pastie.org/2712511
    Everything is white also tryed remove all other plugins but it was still white.
     
  22. Offline

    Darazo

    Getting this error whenever a player joins the server. Latext PEX dev build and CB1321.
    Code:
    2011-10-17 21:09:33 [SEVERE] Could not pass event PLAYER_JOIN to PermissionsEx
    java.lang.NullPointerException
        at ru.tehkode.permissions.bukkit.BukkitPermissions.updatePermissions(BukkitPermissions.java:171)
        at ru.tehkode.permissions.bukkit.BukkitPermissions.updatePermissions(BukkitPermissions.java:97)
        at ru.tehkode.permissions.bukkit.BukkitPermissions$PlayerEvents.onPlayerJoin(BukkitPermissions.java:190)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:260)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:129)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:121)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:39)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  23. Offline

    oskaroskar4

    I get an error everytime i try to set myself in a group!

    Code:
    19:19:08 [ALLVARLIG] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'pex'
    in plugin PermissionsEx v1.15
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    3)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    55)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:757)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.RuntimeException: Permissions manager is not accessable. Is
    the PermissionsEx plugin enabled?
            at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(Perm
    issionsEx.java:143)
            at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.checkP
    ermissions(CommandsManager.java:248)
            at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManag
    er.java:111)
            at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.j
    ava:126)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 12 more
    >
    This is what i get when i try to add myself in a group...:

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

    nobodyshome

    Bukkits on latest version

    and i get this error with PEX 1.15:

    Code:
    16:19:20 [SEVERE] Error occurred while enabling Modifyworld v1.15 (Is it up to d
    ate?): null
    java.lang.NullPointerException
    at java.lang.Class.isAssignableFrom(Native Method)
    at org.bukkit.plugin.java.JavaPluginLoader.removeClass(JavaPluginLoader.
    java:245)
    at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoade
    r.java:992)
    at ru.tehkode.modifyworld.bukkit.Modifyworld.onEnable(Modifyworld.java:7
    1)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:170)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:957)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154
    )
    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)
     
  25. Offline

    TheRealKANi

    Like to.. but it is allready in the wiki.. :D
     
  26. Offline

    MercAngel

    i am getting same error
     
  27. Offline

    BlancoLanda

    I still haven't found any fix for this... Does anyone know how can I make Residence work with PEX?
     
  28. Offline

    AuZor

    Hi,
    I'm having trouble with the permissions. I've set them, but they don't seem to work properly. I've tried almost all of the commands as Builder/Citizen/Peasant, but they deny me access.

    [​IMG]

    I am getting no errors in the console when performing or loading everything.

    Another funny thing is, I can also build as Default. Place and destroy. How come?

    Please respond!
     
  29. Offline

    popcorn8123

    When i try to set my friends the be admin it says Internal error ocurred. What do i do?
     
  30. Offline

    Cody Pawlowski

    Alright, I fixed the "You do not have permissions to do this!" error. I thought I had to go through all of my 134 plugins but luckily the trouble making plugin started with a D. Death Recover was the culprit which would return an error for every command. If this is happening to anyone else with this plugin, I'd suggest deleting it.
     
  31. Offline

    got_milk

    Bumping because I still can't work out a fix for this.
     

Share This Page