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

    slaymonok

    hello, i get this errors. why?
    011-09-07 20:22:16 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'pex' in plugin PermissionsEx v1.14 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670) 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:85) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478) at net.minecraft.server.NetworkListenThread.a(SourceFile:105) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361) at net.minecraft.server.ThreadServerApplication.run(SourceFile:422) Caused by: java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled? at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:140) at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.checkPermissions(CommandsManager.java:248) at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:111) at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:123) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
     
  3. Offline

    Jens Andersson

    I have been fiddeling with PEX the whole day and i can't get i to work. i have a group called builders, i am trying to use admincmd to let builders fly give items and teleport, i can only get /fly to work.
    here is my premission.yml: http://pastebin.com/4im4BhfC
    Please help me im going MAD! :(
     
  4. Offline

    littleclaz

    Hey all.. im really stumped.. PEX isnt using Mysql even tho the pass is correct and user. and just isnt giving me any bloody commands at all.. ¬.¬ the permission 3..1.6 database is compatible as i really dont wan to rewrite/remake the whole lot in yml or w/e?.. or what.. heres my config:

    Code:
    permissions:
        basedir: plugins/PermissionsEx
        backend: file
        backends:
            sql:
                driver: mysql
                uri: mysql://mysql1.servercraft.co/mc6911
                user: ***
                password: ***
        modifyworld:
            enable: true
            itemRestrictions: false
        informplayers:
            modifyworld: true
            changes: true
        debug: false
        allowOps: false
        superperms:
            disable-unmatched: false
            enable: true
            matched-permissions: true
            raw-permissions: true
            debug: false
    
    it doesnt seem to connect to the mysql server even tho the details are correct
     
  5. Offline

    t3hk0d3

    You should have "aerinia" as level-name in server.properties
     
  6. Offline

    Specops343

    @t3hk0d3
    If I use herochat with PEX, where in the config do i put the group prefixes?
     
  7. Offline

    t3hk0d3

    Okay, this was my inattentiveness @ 3am coding :) Fixed & Tested. Thank you for help and spoting issue.
     
  8. Offline

    swbuza

    Here's a subset of my actual config, I've removed some of the permissions from the mods list just to shorten it up a bit for posting, but the format is exact.

    Show Spoiler
    Code:
    users:
        adminuser:
            prefix: '[Op]&2'                   <--Create Admin User, Add to group 'admin'
            group:
            - admin
        user1:
            prefix: '[Mod]&4'           <-- Fire World Mod.  Mod Permissions plus
            worlds:                                Fire Permissions only in his world.
                Abyss:
                    permissions:
                    - firelord.*
                    - citizens.create.*
                    - citizens.modify.*
                    - multiverse.core.spawn.set
            group:
            - mods
        user2:                                 <-- Air World Mod.  Mod Permissions plus
            prefix: '[Mod]&9'                      Air Permissions only in her world.
            worlds:
                Etheria:
                    permissions:
                    - rocketboots.*
                    - citizens.create.*
                    - citizens.modify.*
                    - multiverse.core.spawn.set
            group:
            - mods
        user3:
            prefix: '[Mod]&5'                  <-- Water World Mod. Mods Permissions plus
            worlds:                                Water Permissions only in his world.
                Aquosi:
                    permissions:
                    - fishpeople.infiniteair   <-- Infinite Air.  See below for what all
                    - citizens.create.*            members of the mods group get in this world.
                    - citizens.modify.*
                    - multiverse.core.spawn.set
            group:
            - mods
    groups:
        default:                               <-- Standard User
            default: true
            permissions:
            - default
            - appleseed.wand
            - appleseed.plant.*
            - appleseed.sign.place
        admin:                                 <-- The Admin Group
            permissions:
            - '*'
        mods:                                  <-- The Mods Group
            permissions:
            - mothernature.day
            - iQuest.*
            - citizens.use.*
            - simplegive.item.*
            - permissions.list.*
            - permissions.manage.groups
            - modifyworld.*
            - mothernature.*
            - multiverse.core.list.who
            - multiverse.core.info
            worlds:                            <-- The Mods group gets special
                Aquosi:                            Permissions only in the Water World
                    permissions:                   but not as good as the "Mod" of the
                    - fishpeople.extendedair       Water World (above).
            inheritance:
            - default
    


    It might be worth noting that I use SQL to manage this, not a text file, but are you using four spaces for each YML indent? Anyway, I don't type it out in a file. I add the permissions right in minecraft, e.g.:

    /pex user username add universal.permission.blah
    /pex user username add world.permissions.blah worldname

    /pex group mods add universal.permission.blah
    /pex group mods add world.permission.blah worldname

    It might be worth typing a few of these in at the minecraft console and then see how your permissions.yml gets formatted.
     
  9. Offline

    Devin14

    Probably. I asked him a question and all he did was call me insane.
     
  10. Offline

    t3hk0d3

    Sorry, but you question was peak of nonsense
     
  11. Offline

    Devin14

    All I asked was if it was possible to run PermissionsEX and Permissions 2.7.4 at the same time. Because I don't know if they will conflict and get all messed up and what not.
     
  12. Offline

    t3hk0d3

    It's possible, but completely pointless.
     
  13. Offline

    Devin14

    Well I am wondering because I want to have NoCheat on but it does not work with 2.7.4 but he said it does work with PEX so I wanted to try running both so I don't have to transfer all of my permissions.
     
  14. Offline

    Shalashalska

    For some reason, PEX does not operate at all. The error log says that "The permissions manager is not accessible. Perhaps PermissionsEx is not enabled?" whenever I attempt to use any pex command. It's annoying because it was working earlier, then all of a sudden it stops and the only way I have found to fix it is to start from a new PEX folder.
     
  15. Offline

    andrewkm

    Its not too hard to go from 2.7.4 to pex :) I made the switch and am very pleased with it.
     
  16. Offline

    Calvin

    For some reason my PermissionsEx doesn't even load. It says it does, but none of the other plugins detect it, and all of the configuration doesn't even do anything. The only thing that works, is if I have the player in ops.txt then they can do anything, otherwise they can't do anything. What's going on? I haven't found any tutorials or anything and I need help :/
     
  17. Offline

    xemnes

    yes, it is its
     
  18. Offline

    Robert Pendell

    Is there any way to make the Vanilla permission nodes work? I'm referring to the craftbukkit.command ones. They don't work with PermissionsEx from what I can tell. I tried with PermissionsBukkit and they work fine on that one.

    Edit: Nevermind... It works. I don't know why it didn't before but I guess once I confirmed the correct node offline on PermissionsBukkit it decided to work in PermissionsEx on the main server. Go figure.
     
  19. Offline

    Jens Andersson

    HI please look at my config, something is wrong. i have a group called builders, i am trying to use admincmd to let builders fly give items and teleport, i can only get /fly to work.
    here is my premission.yml: http://pastebin.com/4im4BhfC

    What am i doing wrong? :)
     
  20. Offline

    Calvin

    For some reason my PermissionsEx doesn't even load. It says it does, but none of the other plugins detect it, and all of the configuration doesn't even do anything. The only thing that works, is if I have the player in ops.txt then they can do anything, otherwise they can't do anything. What's going on? I haven't found any tutorials or anything and I need help :/
     
  21. Offline

    Silarn

    Hey, no problem. I'm a bit indisposed and unable to modify the server at the moment, but I'll give it a shot in a few hours. I've done a bit of coding in my time, and its easy enough to make small mistakes even when you aren't tired that break everything!
     
  22. Offline

    btuyl

    Do I have to put permissions in 1st or can I have plugins already in my plugins folder?
    And I get the same thing Calvin gets when I put it in.
     
  23. Offline

    t3hk0d3

    Make sure PermissionsCompat installed. Check your server.log more properly for errors (broken YAML identation may cause PEX not working)
     
  24. Offline

    Synched

    THIS IS SO CONFUSING!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     
  25. Offline

    rslink

    I'm trying to set up ranks for my multi world server (that uses different groups for each world). However when ever i try to promote a user it tells me "Promotion error: User are not in this ladder".

    A example of one of my groups:
    Show Spoiler

    Code:
        Cguest:
            worlds:
                Creative:
                    default: false
                options:
                     rank: '1000'
            ingeritance:
            - HubPlayer
        Cplayer:
            worlds:
                Creative:
                    default: true
                options:
                    rank: '900'
            ingeritance:
            - Cguest
            permissions:
        Cmod:
            worlds:
                Creative:
                    default: false
                options:
                    rank: '100'
            inheritance:
            - Cplayer
            permissions:
        Cadmin:
            worlds:
                Creative:
                    default: false
                options:
                    rank: '0'
            inhertance:
            - Cmod
            permissions:
    


    Users are auto set to Cplayer, or is that the problem?
     
  26. Offline

    MartN

    andy way to add suffix and prefix per group like permissions 2?
    Code:
    info:
                prefix: ''
                suffix: ''
     
  27. Offline

    Hubok

    For some reason PermissionsEx and ChatManager makes my chat always yellow, any reason for this?
    /pex group <groupname> prefix/suffix <prefix/suffix here>
     
  28. Offline

    Devin14

    Were you running both at the same time when you went from 2.7.4 to PEX or do you have to disable 2.7.4 first?
     
  29. Offline

    MartN

    check chatmanager config:
    global-message-format: <%prefix%player%suffix> &e%message
    the &e make the chat yellow

    thanks for the command, works :)
     
  30. Offline

    andrewkm

    I just run pex...
    The conversion details are on the PEX wiki.
     
  31. Offline

    Silarn

    I don't use YAML so maybe I'm missing something, but I see two things. A) the first two groups are misspelled 'ingeritance' B) I do not see these groups defined to a promotion ladder. I believe the commands used to add a group to a ladder are on the promotion/demotion page in the wiki.
     

Share This Page