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

    Locx

    @t3hk0d3

    Is it possible so that. say a "Moderator" can group set new players to a "member". But cant group set players to their rank or beyond?
     
  3. Offline

    PRSop2000

    Is there a node I can use to only allow my mods and admins access to the server command to toggle between survival and creative modes? I don't want my members jumping into creative mode but my Admins and Mods would like access.
     
    xsolar66 likes this.
  4. Sorry, lockette works with trapdoors as well now.
     
  5. Offline

    Buckethead

    oh well still have colors and permissions are more in depth

    plz someone an example format of what this looks like. wiki has too many pages

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

    Tabbywabby

    Hey,
    I cannot set permissions for modify world. Like i try" pex groups default remove modifyworld.*" as in the basic setup guide, but when i test the default permissions i can still remove blocks. I think it is a problem in the start up this comes up
    [info] [ChatManager] ChatManager disabled. check config.yml!
    [info] [ChatManager] ChatManager disabled!
    [info] [Modifyworld] Modifyworld disabled. check config.yml!
    [info] [Modifyworld] Modifyworld disabled!
     
  7. Offline

    MineWIZ

    Where it stores users?
     
  8. Offline

    DylanP

    Hey,

    Anyone know of a web control panel that uses the MySQL database to manage permissions?

    In /plugins/PermissionsEx/permissions.yml

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

    MineWIZ

    @DylanP
    Thanks

    Can i set custom message format for each group?
    BTW: I'm using PExChat.
     
  10. Offline

    RaymanMaik

    I get this error:
    Code:
    2011-09-17 16:24:22 [SEVERE] Could not load 'plugins/ChatManager.jar' in folder 'plugins':
    while scanning for the next token
    found character %'%' that cannot start any token
     in "<reader>", line 2, column 24:
        global-message-format: %prefix %player: &f%message
                               ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at org.bukkit.util.config.Configuration.load(Configuration.java:82)
        at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:157)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:175)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:138)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:408)
        at org.bukkit.Bukkit.reload(Bukkit.java:173)
        at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:755)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:720)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:713)
        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:91)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    My Config:
    Code:
    chat-range: 100.0
    global-message-format: %prefix %player: &f%message
    enable: false
    message-format: %prefix %player: &f%message
    ranged-mode: false
    
    I don't know what is incorrect in global-message-format:
     
  11. Offline

    Buckethead

    plz someone just example format?
     
  12. Offline

    PRSop2000

    There's a wiki in the description that shows you everything...
     
  13. Offline

    Buckethead

    it only shows basic stuff and theres like 200 pages plz just someone all om askking for is a copy paste
     
  14. Offline

    Lolmewn Retired Staff

    is there anything I can put in the config so that specific groups cannot build?
     
  15. Take a look at modifyworld, that should cover everything you need (and then some).
     
  16. I've been using pex for a while but I still don't know how to put prefix or suffix for the groups. Is it possible on PEX? Sorry if I sound very noobish, but I honestly don't know how.
     
  17. Offline

    Kuja_Diartua

    Guys, i cant set ModifyWorld to place block for group.
    I set (as said in manual)
    - modifyworld.blocks.interact.*
    - modifyworld.blocks.place.3
    but still cant place dirt block.

    Even
    - modifyworld.blocks.interact.3
    - modifyworld.blocks.place.3
    Wont work.

    It works if i set
    - modifyworld.blocks.interact.*
    - modifyworld.blocks.place.*

    i got server 1.8.1 and Bukkit 1143 Is this me, or its yet unfixed lag of new version of bukkit\server?
     
  18. Offline

    RustyDagger


    My guess would be the : after player is causeing the issue as it is used in the formatting of the plugin try this.
    global-message-format: %prefix %player\: &f%message
     
  19. @t3hkod3

    OK, this makes my head hurt, and might be worth noting some where in the wiki...

    For a while now, I've been unable to run the compatibility bridge. When I would put it in place and start the server, what would show up, after PEX was loaded, was a line stating that permissions has been loaded and is running (made a permissions directory and everything)... the old 2.x permissions, not the permissions compat layer.

    I could not figure this one out, and t3hkod3 said that I had to have copied the wrong file or still had the old permissions file in place (which wasn't possible as the md5sum matched between the file in the PEX archive I downloaded and what I had in my plugins directory).

    Well, today I was finally able to get it working! Of all the bizzare things, when I had mcSimpleMail in the plugins directory, the compat bridge would start up as if it was the original permissions 2.x plugin. Once I removed the mail plugin, I get the correct line in the console for the compatibility plugin.

    This was weird enough that I thought I should post it.
     
  20. Offline

    Kamiyaiba

    Is there any method I can use that will allow me to assign OP commands to a group. I know bPermissions can do it but I'd rather stick with PEX.
     
  21. You should be able to do it like any other permissions node for any other plugin. I'm the only one listed in my ops.txt file, and I was able to give my mods kick permissions.

    What command are you trying to let them have?
     
  22. Offline

    Kamiyaiba

    gamemode... the problem might just be that I don't know the actual node for it...
     
  23. Offline

    Tanite

    I noticed ChatManager wasn't picking up MultiVerse's world aliases. The author said he had a pull request in with you but I just wanted to second the motion. I would otherwise be able to use ChatManager for my simple needs but I need to be able to abbreviate world names down to 2-3 letters since they can otherwise be far too unwieldy to display. Thanks.

    @Kamiyaiba and anyone asking about gamemode or built-in Bukkit perms:

    http://wiki.bukkit.org/Command_Permissions

    Looks like they changed it from craftbukkit.xxx to just bukkit.xxx. I do not think the '*' node picks these up. EDIT: I don't see the gamemode perm on that site now. I could have sworn it was previously or maybe I got it from the twitter feed. Try it out maybe.

    Here's my list of the Bukkit nodes, formatted for PEX use:

    Show Spoiler
    Code:
            - bukkit.command.whitelist
            - bukkit.command.whitelist.add
            - bukkit.command.whitelist.remove
            - bukkit.command.whitelist.reload
            - bukkit.command.whitelist.enable
            - bukkit.command.whitelist.disable
            - bukkit.command.whitelist.list
            - bukkit.command.ban
            - bukkit.command.ban.player
            - bukkit.command.ban.ip
            - bukkit.command.unban
            - bukkit.command.unban.player
            - bukkit.command.unban.ip
            - bukkit.command.op
            - bukkit.command.op.give
            - bukkit.command.op.take
            - bukkit.command.time
            - bukkit.command.time.add
            - bukkit.command.time.set
            - bukkit.command.save
            - bukkit.command.save.enable
            - bukkit.command.save.disable
            - bukkit.command.save.perform
            - bukkit.command.tell
            - bukkit.command.say
            - bukkit.command.give
            - bukkit.command.teleport
            - bukkit.command.kick
            - bukkit.command.stop
            - bukkit.command.list
            - bukkit.command.help
            - bukkit.command.me
            - bukkit.command.kill
            - bukkit.command.version
            - bukkit.command.reload
            - bukkit.command.plugins
            - bukkit.command.gamemode
     
  24. Offline

    Kamiyaiba


    wow thas a derp on my part.
     
  25. Offline

    Vixolus

    I did the command for adding a prefix to a person ingame. My group "Mods" should have a prefix of [Mod] next to their name (did the command following the guide, and even checked in the yml folder) yet they still dont have it.

    I am using Prefixer and when that was disabled they still didn't have the prefix.
     
  26. That might be it. :) I'd check the built in permissions nodes that bukkit supplies. I know there is a link in the old defaultpermissions plugin to them, but I don't know if it's updated for 1.8 yet.
     
  27. Offline

    compwiz91

    can you negate commands in PEX??

    like
    Code:
    Member:
            default: false
            inheritance:
            - New
            permissions:
            - factions.*
            - -factions.admin
    (so they have all factions privliges EXCEPT factions.admin??)
    
    im wondering not for this specific command just useing it as a reference
     
  28. Offline

    Vixolus

    Anyone help with my issue above? :S
     
  29. Offline

    compwiz91

    @Vixolus
    are you using another chat plugin? or the one that comes with PEX?
     
  30. Offline

    Kamiyaiba

    yes negates work however the negate needs to come before a wildcard if you're using one.
     
  31. Offline

    compwiz91

    but wouldn't that be like im taking this command away, then giving you everything back? instead of giving you everything then taking ONE thing away....seems like that would give you back what was taken away...
     

Share This Page