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

    tfarcraft

    Okay, question...I need to make sure that my admins cannot set their own ranks any higher but they can set ranks higher that are lower then theirs. Any solution on how i should go about doing this? Currently i have Owner, CO_Owner, Head_Admin, And then Admin and thats how i want the order of power to go.
    Any help would be greatly appreciated. (what i mean is, What nodes should i use to make sure admins cant promote themselves, im not concerned about the other high ranks because we pay for the server.)
     
  3. Offline

    CtrlDelete

    Awsome Plugin, IT Rocks
     
  4. Nothing in particular actually. The promotion command is made so that a person can not promote themselves and can't promote someone else to a rank above themselves.
     
  5. Offline

    marwzoor

    Are you gonna update the plugin soon?:) because there is a new chatevent which causes no prefixes:/
     
  6. Offline

    shika91

    Hello Mr.
    I would like to segnalate a bug
    Many people are stealing mod and admin privileges by entering in the server with some other character like / - _ before nickname
    Ex.

    shika91 is ADMIN
    Another person enter in the server with the nickname //shika91
    it Will appear as [ADMIN]//shika91 and will have my inventory and my admin privileges

    Could you fix it?
    Thanks!
     
  7. Offline

    Pr4w

    Set online-mode=true
     
  8. Offline

    shika91

    If you mean in server.proprieties file, in that mode only original account can join the server!
     
  9. Offline

    Adrenaline

    Same question ;)
     
  10. Offline

    Topma4

    Anyone can help me? i ahve craftbukkit 1.3.1-r1.0
    after setup PermissionsEX and setup permissions.yml i got this
    how you do that? :O can you help me please?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 6, 2019
  11. Offline

    UltraFaceguy

    Exactly. Tell them to BUY THE GAME.
     
  12. Offline

    Darkfard

    When is this updating? i need it so bad! Chat manager doesn't work on 1.3.1
     
  13. [​IMG]
     
  14. Offline

    Darkfard

    I said i just get errors out of the chatmanager
     
  15. Offline

    CommanderPro100

    When I install the factions mod the prefixes don't show up at all.
     
  16. Offline

    joshworx

    Alright, so.
    When I start my server, this:
    groups:
    guests:
    default: true
    permissions:
    - -modifyworld.blocks.*
    - modifyworld.*
    players:
    permissions:
    - modifyworld.*
    - izone.*
    - essentials.sethome
    - essentials.home
    - essentials.home.others
    - essentials.sethome.multiple
    - essentials.sethome.multiple.vip
    - essentials.protect.pvp
    - -AncientRPG.*
    - AncientRPG.classes.bind
    - AncientRPG.classes.spells
    - AncientRPG.classes.chatcast

    members:
    inheritance:
    -players

    permissions:
    - modifyworld.*
    - essentials.sethome.multiple.staff
    - AncientRPG.*
    - -AncientRPG.classes.admin
    - -AncientRPG.Race.set
    - -AncientRPG.Race.admin
    admins:
    permissions:
    - '*'
    users:
    joshworx:
    group:
    -admins

    Peter60000:
    group:
    -players
    Goo:
    group:
    -members
    Automatically changes into this:
    groups:
    guests:
    default: true
    permissions:
    - -modifyworld.blocks.*
    - modifyworld.*
    players:
    permissions:
    - modifyworld.*
    - izone.*
    - essentials.sethome
    - essentials.home
    - essentials.home.others
    - essentials.sethome.multiple
    - essentials.sethome.multiple.vip
    - essentials.protect.pvp
    - -AncientRPG.*
    - AncientRPG.classes.bind
    - AncientRPG.classes.spells
    - AncientRPG.classes.chatcast
    members:
    inheritance: -players
    permissions:
    - modifyworld.*
    - essentials.sethome.multiple.staff
    - AncientRPG.*
    - -AncientRPG.classes.admin
    - -AncientRPG.Race.set
    - -AncientRPG.Race.admin
    admins:
    permissions:
    - '*'
    users:
    joshworx:
    group: -admins
    Peter60000:
    group:
    - -players
    Goo:
    group:
    - -members
    And then "members" can't do anything at all.
    Please tell me what I'm doing wrong so that I may fix it.

    Edit:
    Shit, it did it again. Is it just the way I format it, or what?

    I can send you the yml file if you want to see the actual format for the one that changes.
     
  17. Disclaimer: I don't use factions myself, this is based on what I have seen in other places. That being said, it looks like it's possibly a factions problem. I'd see what the dev(s) for that plugin has to say.

    Try this:
    1. Backup your config.yml for chatmanager, and delete the running config.yml (not the backup).
    2. Restart (NOT reload!) your server so chatmanager will generate a fresh config file.
    3. Compare the backup and the new one, make your adjustments, restart.
    4. ...
    5. Profit!
    When I put in the 1.3.1 bukkit build, I didn't really have to do anything to my PEX config, it was pretty much a plug and play operation.

    Yep, you aren't using code tags. :)

    Better option, put your permissions on pastie.org or pastebin.com and put that link here.

    How do you figure? I see activity from T3hK0d3 and TheNoid on the PEX github accounts fairly often.

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

    owenftw

    Do not update to the latest Factions! It breaks chatmanager
     
  19. Offline

    CommanderPro100

    No wonder the prefixes weren't working on my server.
     
  20. Offline

    Zenhara

    Hello,
    I'm a first time server owner and I'm having a hard time dealing with the permissions because I'm getting internal errors. I tried to go through a guide but I can't seem to find a fairly current one so I tried winging it. Here's my yml file and would really like to have some help on it: http://pastebin.com/b79uEsM1 I don't have many plugins, but I only have Essentials so far and some small useful plugins. Can someone tell me what's wrong with it? Any help would be greatly appreciated!

    Edit: I can see that I have a few errors already from just clicking on the pastebin url I postedunless I'm mistaken. But I'd like input from someone who is fairly familiar with the plugin. It would really help. Thanks!
     
  21. Offline

    joshworx

    Excuse my noobish tone. But what are code tags?
     
  22. Quick scan:

    1. Tabs. Bad mojo :)
    2. Co-owner has * set as a world specific node. Unless you want them to have all permissions in a single world, make it look like the owner group. In fact, most of your groups are set that way. If you only have the single world, you don't need them done that way,
    3. If you are not going to use it, I'd get rid of the default group at the top of the permissions file. It's not needed.
    4. essentials.kit.[tools] isn't a valid node. You are supposed to replace the [tools] bit with the name of the kit.

    I would also read up on the inheritance abilities of PEX, it can make the file a lot smaller and perhaps easier to maintain.

    Code tags are special tags that tell the forum software not to remove the spaces, try to parse the emoticons (AKA smilies), etc and show the text within the tags just as it was typed out. When you make a post, look next to the icon of the quote marks where you would set bold, underline, etc. There is one that looks like {}#, that's the code tag button.

    That being said, it's still preferred to put your permissions and other configs on pastie.org or pastebin.com, it helps keep the forum from getting really cluttered with huge posts. :)

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

    prizna

    So after reading through all the posts I'm still unsure if the most recent build of PEX is compatible with 1.3.1.
     
  24. It's working fine for me.
     
  25. Offline

    Zenhara

    Thanks for the response. As for the permissions, I modified it here: http://pastebin.com/rwbnqstj Hopefully that's better and no more problems. Two other things is that, guides said to put enable as true for Modifyworld and ChatManager which I have no problem doing whatsoever but Modifyworld had no "enable" line but added one anyway. Would that cause any problems? I appreciate the help again.

    EDIT: Do we need to have a specific version of CraftBukkit in order to run this plugin?
     
  26. Offline

    TheChinski

    Nobody with Pex is having memory leaks are they? I am, and I've tried to remove all my plugins bar Pex and it still leaks... :/
     
  27. No, the guides are a bit out of date it sounds like. Modifyworld removed the enable line as of the current version. I annotated my video regarding this as well.

    EDIT: And it looks like the wiki was one of those things that was a bit out of date. :p I've removed those lines referring to the enable line. That page as a whole needs some updating as well.

    And no, you don't need a specific version of bukkit, anything newer than 1.2, I think, should work. :)
     
  28. Offline

    Bobbosells32

    This is my "Nooby" group http://pastebin.com/WkbKBxzH. It is for when players first join the server and have to complete a test to talk and do whatever. I cant seem to make it so they can't talk. This happened after I got rid of chatmanager and installed essentialschat (factions is not compatible with chatmanager as of now)
     
  29. Offline

    joshworx

    Okay, now I'm having a whole different problem, and it's starting to piss me off!

    So, when I plug my initial file (http://pastie.org/private/puspxxowlmhlsgcpfeilw) into the Parser,
    it comes up with this:

    ERROR:

    while scanning a simple key
    in "<unicode string>", line 36, column 9:
    -admins
    ^
    could not found expected ':'
    in "<unicode string>", line 37, column 5:
    Peter60000:
    ^

    I might be able to help if you tell me what all the Permissions commands are for essentials chat, because I can't seem to connect to their wiki ATM.

    Edit: NVM, forget I just said that and try plugging THIS in instead.

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

    Bobbosells32

    That didnt work for me.
    PEX config: http://pastebin.com/myztLZe2
    ModifyWorld config: http://pastebin.com/myztLZe2
    Essentials chat nodes: http://puu.sh/QJu1
     
  31. Offline

    joshworx

    Well I got nothing then, I'm not sure if there's even a plugin that can do that, I've never heard of anyone turning off chat for certain people on their servers.

    Okay, I got my current problem fixed, now back to my original one.
    My initial permissions.yml:
    http://pastie.org/private/puspxxowlmhlsgcpfeilw
    Turns into this:
    http://pastie.org/4456256

    And Members have no permission whatsoever. When I test it, Goo can't do anything except walk around, it's as if he has the permission of a guest.

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

Share This Page