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

    fr34k_tk

    Thats the concept of the '*'-permission, if a user has this permission-node he has all permissions. What else did you expect?
     
  3. Offline

    Richard Scheide

    Hello
    I finally found a PEX that i can get to work but came to one stumbling block. Hope you can help.
    On my server, we have the following maps.
    World
    World_Nether
    Freeworld
    Oldworld
    City
    Basically I want everyone while in the top three maps to have the restrictions I have set up but on the bottom two. I will give the "*".
    With that being said. How do I set up groups/specific worlds permissions?
    Currently I have
    default = rank=900
    member = rank=800
    mod=rank=200
    admins=rank=0
     
    ZacTheDead likes this.
  4. Offline

    ZacTheDead

    No no no no let me explain
    I have set up the permissions.yml guests can't use /god
    I open my server
    I get no errors
    I log in and demote my self to guest and type /god
    But the command works fine like PEX was not even there
    Typeing this from iPod
    It can't find mamy spelling mistakes.
     
  5. Offline

    arcaneex

    Example on world restricted command please?
     
  6. Offline

    fr34k_tk

    Are you op? How do you demote yourself? /pex user Zag group set Guest in serverconsole or do you edit the permissions-file? Have you reloaded PEX with /pex reload after that?
    What is the output of /pex user Zag?
    How does your permission-file look like (including users)? Could you please upload it again?

    Code:
    groups:
        Group:
            inheritance:
            - AnotherGroup
            permissions:
            - plugin.give.permission.in.all.worlds
            worlds:
                hell:
                    permissions:
                    - plugin.give.permission.in.hellworld.only
                heaven:
                    permissions:
                    - plugin.give.permission.in.heavenworld.only
    
     
    Saul R.W likes this.
  7. Offline

    Richard Scheide

     
  8. Offline

    fr34k_tk

    I have no idea what you are talking about, but it would be nice, if you would not insert your message inside a quote of my message. Thats just confusing.
    And I didn't ask you to give me your config, i asked ZacTheDead, but lets see if I could help you.
    There is a nice feature called World-Inheritance, which should be perfect for you (never used it on my server, because my setup is different, but you should give it a try).
    Code:
    users:
        me:
            group:
            - peasent
    groups:
        default:
            default: true
            worlds:
                restricted_world:
                    permissions:
                    - plugin.permission.in.restricted.world
                    - plugin.another.permission.in.restricted.world
                unrestricted_world:
                    permissions:
                    - '*'
        peasant:
            inheritance:
            - default
            world:
                restricted_world:
                    permissions:
                    - plugin.permission.for.peasent.in.restricted.world
    worlds:
        another_restricted_world:
            inheritance:
            - restricted_world
        one_more_restricted_world:
            inheritance:
            - restricted_world
        another_unrestricted_world
            inheritance:
            - unrestricted_world
    With this setup users should have the same permissions in restricted_world, another_restricted_world and one_more_restricted_world and all users should have the '*'-Permission in the worlds unrestricted_world and another_unrestricted_world should both.
     
    Saul R.W likes this.
  9. Offline

    Richard Scheide

    @fr34k_tk
    In regards to my reply earlier. Last night, internet explorer updated and now when I hit reply. Strange sh1t is done. I saw it and even tried editing it but nothing changed. Anyway
    I was referring to my earlier post about control over all my worlds.
    I have the following worlds. world, world_nether, freeworld, oldworld and city. I just wanted people in the worlds city and old world to have all the same permissions of the other but add the give permissions.
     
  10. Offline

    fr34k_tk

    Yeah, but thats not what you wrote some posts above. I postet a permissionslayout for exactly that scenario, what you wanted. If you would like to have the exactly same permissions in all worlds and additionaly a 'plugin.give.items' permission in two world, another layout could be usefull:
    Code:
    groups:
        default:
            default: true
            permissions:
            - some.global.permissions.for.all.world
            worlds:
                world_with_give:
                    permissions:
                    - 'plugin.give.items'
        peasant:
            inheritance:
            - default
            permissions:
            - another.global.permission
    worlds:
        another_world_with_give:
            inheritance:
            - world_with_give
    Alternative without world-inheritence:
    Code:
    groups:
        default:
            default: true
            permissions:
            - some.global.permissions.for.all.world
            worlds:
                world_with_give:
                    permissions:
                    - 'plugin.give.items'
                another_world_with_give:
                    permissions:
                    - 'plugin.give.items'
        peasant:
            inheritance:
            - default
            permissions:
            - another.global.permission
    So adding something like
    Code:
            worlds:
                city:
                    permissions:
                    - 'plugin.give.items'
                old:
                    permissions:
                    - 'plugin.give.items'
    would work for your simple setup.
     
  11. Offline

    darkhelmet

    That's pastebin being weird. See the raw paste for the actual spacing. Everything in our perms file works fine and is tested but it's only my account (op) that I can't disallow nodes for.
     
  12. Offline

    Arton

    How do i downgrade my permissions 3.x to 2.x

    Do you know how i can downgrade my permissions x.3 and do it so i can use them to PermissionsEx

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

    Leviathanx

    Well if you are set as op, you will have all the commands of essentials no matter what node you negate in the perms.
     
  14. Hello, this is great plugin. Really great.

    I need to be able to control permissions on a per region basis. Do you think you can hook into worldguard?
     
  15. Offline

    Fuzzwolf

    Will this permissions plugin ever support Heroes? Heroes used a super node system to allow certain classes to unlock nodes at levels. I love both of these plugins, and would love to see some compatibility :D
     
  16. Offline

    dxwarlock

    I seem to have it all under control and understand the settings, but trying to deny a few commands for my Mods is confusing me.

    instead of adding a TON of general plugin permissions of the root of each one like:
    - perm.*
    then doing a:
    - -perm.give.*
    for the few commands i want to block, I set the main permission to - '*' then added the ones I wanted to remove...but it doesnt seem to work. is using '*' overriding a deny?

    for example I have:

    Code:
        Moderator:
            permissions:
            - '*'
            - -essentials.give.*
            inheritance:
            - Player
            prefix: '&f[&eMod&f]&f'
            suffix: '&f'
    but it doesnt seem to stop /give. any helpful tips?
     
  17. Flip the * and - lines around.

    I think of it as a deny unless permitted firewall. As I understand it, the plugin starts at the top of the list and goes down when checking if a particular user/group has access to a specific command. So when it checks the list, it hits the - '*' first and stops there.

    Try this:
    Code:
        Moderator:
            permissions:
            - -essentials.give.*
            - '*'
            inheritance:
            - Player
            prefix: '&f[&eMod&f]&f'
            suffix: '&f'
    This is the one annoyance I've run into when adding permissions from the console or in game, if you try taking away a node after giving a wildcard, it doesn't seem to work (or I'm misunderstanding something basic).

    Call me old school, but I still prefer editing these files by hand. Might be a holdover from the old permissions 2.x days, but that's how I roll. :)
     
  18. Offline

    Ralm

    Ive notice one thing right at the beguining of a fresh Pex config. Im using Modify world wich I think is great. But it looks like you cant deny interaction with pressure plates.

    I was testing the plugin since is my first time using it and I found out that while testing with a default group, which doesnt have access to anything other then chat.
    All the other blocks they cant interact, such as buttons or levers. But pressure plates they can.

    Here is my premissions file:
    Code:
    groups:
        default:
            default: true
            options:
                rank: '1000'
            permissions:
            - modifyworld.chat
        Admin:
    ... etc etc
    and then I tried and added:

    - -modifyworld.blocks.interact.70
    - -modifyworld.blocks.interact.72

    But the default group can interact anyway.

    Is that a limitation from bukkit?? an unknown issue? am I the only one with this problem?

    Thanks,
    Ralm.

    Note:
    Using bukkit 1060
    with last release of Pex.
     
  19. Offline

    dxwarlock

    that was it, THANK you, i was banging my head against a wall, was thinking it was working the other way around, give the commands you want them to have, then list the ones you want to remove...as if it read top down, and applied rules as it went down. so '*' would be give all, then it removed any - -perm.* it saw.

    this makes it 100x times easier than my last ditch effort of adding 40 plugins worth of commands to my Mods.
     
    Justin The Cynical likes this.
  20. Offline

    Richard Scheide

    @fr34k_tk Thanks for all your help today. Spent way too much time trying to edit the permissions.yml file and getting it right when I decided to just type pex in the consol. Wow, anybody can configure with the command list there really easy. I simply set up one world and then opened the file and copied/paste and done. Thanks again for your help.
     
  21. Offline

    BladeTec

    I have a question, I just moved from Permissions 3.x and was using EssentialsChat as my chat management plugin. Since I'm using PermissionsEx, it doesn't work anymore. Is there any problems or is it normal that it doesn't work ?

    Thank you,
    Mark.
     
  22. Offline

    pitbully

    If I want a ladder that goes from default to Visitor, another that goes from default to Member and another that goes from default to SrMember, how can I do this with MySQL. It prevents me from adding for example, default-0-rank-ladder more than once but I need it to show more than once to make it so a training mod can only promote to Trusted, Mod can promote to Member and SrMod can promote to SrMember.
     
  23. Offline

    dbs179

    Hi all,

    I'm obviously pretty new to Bukkit and running a minecraft server. I've got the hang of a vanilla server with no problems and decided to try stepping up. I've made out ok, so far but am having trouble with permissions and no matter what permissions plug in I've tried I have the same issues. I think what I want is fairly simple and I must be missing something easy. I really only want to have two groups on my server. Admins and Members. The only thing I want Members to be able to do is build. That's it. I don't want them to be able to teleport, to give, to heal nothing. Just build. I want the Admins to be able to do it all. I thought I had this all figured out until I realized that the give command was still working because I had everyone playing (there is only four of us) OP'ed. Once I removed the OP from everyone, they can no longer break or lay blocks, but the give command goes away. Once I give OP back, they can break blocks again, but can also give as well. Please tell me what I am missing?

    I followed the simple set up tutorial to the letter and had all several groups set up. The groups were behaving as I thought they should, the chat prefixes worked, some other plug in commands (God Powers and AdminCMD) were working only for the groups I had specified, but I can't seem to get this sorted.

    Thanks for any help.
    Dave
     
  24. Offline

    frog

    I'm migrating from Permissions 2.7 to PermissionsEx.

    I want to use Mysql for storage. I've set the PEX config for that and it's created the tables fine.

    Now I want to migrate the Permissions 2.7 data into the mysql database.

    I've used
    Code:
    pex backend p2compat
    pex dump file permissions.yml
    pex backend file
    to migrate the data without error.

    But how do I now get this data into the database. I can't seem to find a command to do that.

    Any advice on how this is done?
     
  25. Offline

    suicidal_banana


    Help?

    Also, i notice the database is acting weird, it keeps rearranging perms (changing ids) making the - perms coming after the .* perms, bscly it looks like it has a order in the server, and then just forces that on the db at some unknown point. (boot/stop?) changing the order (read;id) while server is off or on doesnt matter at all.

    Please help, i just lost a world due to fuckfaces tnt-ing the server to shit
     
  26. Offline

    fatmarley

    Bukkit Permissions (SuperPerms) compatible.

    Does this mean we have to use this alongside bukkitpermissions, or we can add the bukkit pemissions to the yml file? and does it need the true false values?
     
  27. Offline

    t3hk0d3

    Now you need to import permissions.sql into mysq database using your favorite database administration tool, phpMyAdmin for example.
     
  28. Offline

    BladeTec

    I could use some help here. Still haven't figured out the problem...
     
  29. Offline

    slater96

    Hi, I want a group which just does worldedit commands and inherits basic commands from essentials before, but on worldedit it says 'No know permissions plugin found, using WorldEdit inbuilt permissions' or something like that and i don't want it too :/
    Any help appreciated, thanks
     
  30. Offline

    blokzeil1

    t3hk0d3,
    Can you add an auto ranking system to your plugin?
    So you join the server as default and after 20 hours playing on the server you get a new rank.
     
  31. Offline

    Gangsta_hotdog

    Hi, is there a way to just do something like /rank rankname playername? I don't like this ladder thing, I would rather put in the rank I want to give them manually.
     

Share This Page