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

    xGhostRid3rx

    I'm using the Residence plugin and they said if i want it to work with PEX i would have to set LegacyPermissions: true how do i do this with PEX?
     
  3. Offline

    andrewkm

    Works great!
     
  4. Offline

    SpecialMike

    I'm trying to get this set up with a mySQL server. I have the database created, and the username/password are definitely correct, but it just won't connect. This is the error I get:

    Code:
    >reload
    14:03:02 [INFO] PaintingSwitch disabled
    14:03:02 [INFO] [PermissionsEx] v1.17 disabled successfully.
    14:03:02 [INFO] [CreeperHeal] Disabled
    14:03:02 [INFO] [PermissionsEx] sql backend registered!
    14:03:02 [INFO] [PermissionsEx] file backend registered!
    14:03:02 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    14:03:02 [INFO] [PermissionsEx] p2compat backend registered!
    14:03:02 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
    14:03:02 [INFO] [PermissionsEx] Initializing sql backend
    14:03:02 [INFO] [PermissionsEx-SQL] Connecting to database "mysql://localhost:3306/permissions"
    14:03:02 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. initializing PermissionsEx v1.17 (Is it up to date?)
    java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
            at ru.tehkode.permissions.backends.sql.SQLConnection.<init>(SQLConnection.java:61)
            at ru.tehkode.permissions.backends.SQLBackend.initialize(SQLBackend.java:77)
            at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager.java:420)
            at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManager.java:471)
            at ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.java:53)
            at ru.tehkode.permissions.bukkit.PermissionsEx.onLoad(PermissionsEx.java:74)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:154)
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:434)
            at org.bukkit.Bukkit.reload(Bukkit.java:187)
            at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:374)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:564)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:541)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
            at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
            at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343)
            at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334)
            at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)
            at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)
            at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
            at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
            at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
            at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at ru.tehkode.permissions.backends.sql.SQLConnection.connect(SQLConnection.java:174)
            at ru.tehkode.permissions.backends.sql.SQLConnection.<init>(SQLConnection.java:59)
            ... 16 more
    Caused by: java.net.ConnectException: Connection refused
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.PlainSocketImpl.doConnect(Unknown Source)
            at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
            at java.net.PlainSocketImpl.connect(Unknown Source)
            at java.net.SocksSocketImpl.connect(Unknown Source)
            at java.net.Socket.connect(Unknown Source)
            at java.net.Socket.connect(Unknown Source)
            at java.net.Socket.<init>(Unknown Source)
            at java.net.Socket.<init>(Unknown Source)
            at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254)
            at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
            ... 32 more
    14:03:02 [WARNING] [PermissionsCompat] PermissionsEx plugin not found. Some plugins may not work.
    
    Here is my config.yml:

    Code:
    permissions:
        basedir: plugins/PermissionsEx
        backend: sql
        backends:
            sql:
                driver: mysql
                uri: mysql://localhost:3306/permissions
                user: root
                password: ****
        superperms:
            parent-nodes: true
            enable: true
            strict-mode: false
        createUserRecords: false
        allowOps: false
        debug: false
    
    Not sure what's causing this, could anyone offer some insight?

    Nevermind, I figured out what was causing it. Mysql was bound to the LAN IP address rather than localhost for some reason. lol
     
  5. Offline

    minecraftYord

    Are you still thinking about the seperate plugin for timed groups? I would really appreciate it! The reason why I'm brining this up again is, that all plugins that provide this functionality are inactive for at least three weeks and it would be really neat to have a well integrated plugin like modifyworld or chatmanager.

    I'm referring to this issue and a couple of others: https:github.com/t3hk0d3/PermissionsEx/issues/37

    I have been reading about timed commands, is it possible to use this feature to have at least parts of idea of 'timed groups'?
     
  6. Offline

    ibreaktoucher

    is The version for 1.0.0 exactly the same like the older version except of the compatiblity?
     
  7. Offline

    Korrosive

    Tomorrow is today. Thanks for 1.0 plugin.
     
  8. Offline

    bloisjo013

    Why do I get the message "you don't have permission to use that"?

    All the permission nodes are there?
     
  9. Offline

    benthamanowns

    what do you mean by code tags?
    and i have the following plugins so far:
    allora
    chat manager
    modify world
    permissions
    permissions ex
    sidekick
    chest shop
     
  10. Offline

    LOLXDDUDE

    Failed, I updated and used the old permissions config file and replaced the newly created one and it spazzed my server out.
     
  11. Offline

    Viiu

    I want to restrict users from using water and lava but i dont know how i tried the following commands :

    - -modifyworld.bucket.empty.326
    - -modifyworld.bucket.empty.327
    - -modifyworld.blocks.place.8
    - -modifyworld.blocks.place.9
    - -modifyworld.blocks.place.10
    - -modifyworld.blocks.place.11
    - -modifyworld.blocks.interact.8
    - -modifyworld.blocks.interact.9
    - -modifyworld.blocks.interact.10
    - -modifyworld.blocks.interact.11

    but it didnt worked can someone help me plz?
     
  12. Offline

    Sasukez

    Hey um, I tried doing this but it wouldn't work. Can you tell me what I did wrong?

    users:
    Valkyrie:
    group: Owner

    groups:
    Normal:
    default: true
    permissions:
    - modifyworld.*

    Member:
    default: false
    permissions:
    - modifyworld.*
    Owner:
    default: false
    permissions:
    - *

    Admin:
    default: false
    permissions:
    - *
    Moderator:
    default: false
    permissions:
    - *


    P.S I use notebook++ Thx !!

    Hey um, I tried doing this but it wouldn't work. Can you tell me what I did wrong?

    users:
    Valkyrie:
    group: Owner

    groups:
    Normal:
    default: true
    permissions:
    - modifyworld.*

    Member:
    default: false
    permissions:
    - modifyworld.*
    Owner:
    default: false
    permissions:
    - *

    Admin:
    default: false
    permissions:
    - *
    Moderator:
    default: false
    permissions:
    - *


    P.S I use notebook++ Thx !![diamond]

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

    MAXIMUSSPRIME

    Please help!

    ERROR: while scanning for the next token found character '\t' that cannot start any token in "<unicode string>", line 3, column 1: default: true ^
     
  14. Where in the wiki are you seeing that "permissions.*" node? If you are looking at the example under the initial configuration page, that's just an example of the file structure, it's not a working file.

    Well, it would be if something used nodes that started with permissions. Just a guess, your player name is in in the ops.txt file as well and allow-ops is set to true, correct? If so, that's why the PEX commands still work for you.

    That looks to be a config setting for Residence, not PEX.

    My guess is that it is a flag for Residence to use the old Permissions 2/3 API vs the newer SuperPerms API in bukkit. If that is the case, you will need to have the permissions.jar from the PEX archive installed for the compatibility bridge to be working. Why they say that, I don't know as PEX does support SuperPerms natively and the Residence nodes should work. I've never used Residence, so I may be incorrect.

    There are a lot of reasons why this is happening. We need to see your permissions file and your server startup log beginning at the bukkit version line.

    There is a button in the editor when you post a reply that looks like a pair of curly braces {} and a hash mark #. That's the button for code tags. It keeps the formatting of what your are pasting in.

    Your plugins list... What is that one names permissions?

    Without seeing your entire permissions file (in code tags or a link to a pastebukit dump), there is no way to tell.

    Modifyworld is enabled in it's config file, right?

    Nope, not without knowing what exactly did not work.

    Also, use code tags or a link to pastebucket. Copying the file directly mangles the formatting.

    http://forums.bukkit.org/search/4326754/?q=while scanning for the next token found character '\t' that cannot start any token in "<unicode string>"&o=date

    Come on people, use the search function.:)

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

    d00ba

    First of all, I've been testing without ops, and with allow-ops set to false. Secondly, the Permissions.* permission gives access to all PEX commands, this is confirmed. So before presenting information as fact, please make sure you check its validity.

    Regards,

    d00ba
     
  16. Offline

    Ammar18

    Your plugin is awesome, if I were to vote, I would rate a 10/10. I do have a question though. I am a noob and don't know a lot about the bukkit software. It would be awesome if you would help me.
    How do I add colors to the ranks? Like to make a rank "builder" green, or make a rank "moderator" blue? And how do I rank them? I don't have any plugins at the moment, besides this. So I cant use a custom command like /rank. How do I do it manually. Please notify me anytime soon to help me. Thanks.
     
  17. You know, a response that can be taken as snarky does nothing to help your cause, nor makes anyone really willing to help. But in case this was not your intent, I dropped iConomy 6.0.7 on my testing install with bukkit 1597 and PEX 1.17 and did some checking.

    I do stand corrected on one point (I just looked at the debug output to confirm), permissions.* does give access to all the PEX commands, but that is all it gives access to. I am only human and I do make mistakes.

    This, I state as fact as I watched the server console output after turning on debugging in PEX (pex toggle debug), and ran a few commands and tests:
    • With the compatibility layer installed (permissions.jar in the PEX archive), I saw the plugin checking for nodes such as iConomy.help, which the permissions.* node does not cover.
    • When I removed said compatibility layer plugin, it works.
    My assumption, based on what I saw, is that iConomy checks for the old permissions API before anything else and stops looking once it sees it, thereby making the SuperPerms parent/child nodes non-functional as a side effect. So while my original reply of 'your permissions are not correct' is technically correct, it's not the best answer for the fix.

    I would check with the author of the plugin to verify the permission checking and go from there.
     
  18. Offline

    benthamanowns

    nevermind i trashed pex
    im going to use bPermissions instead, someone told me it is easier to deal with.
    thanks for your help anyway though.
     
  19. Have you looked at the wiki yet on the ranks part?
    https://github.com/t3hk0d3/PermissionsEx/wiki/Ranks-(Promotion-and-Demotion)

    As for the chat questions, the wiki section on chatmanager shows the config structure:
    https://github.com/t3hk0d3/PermissionsEx/wiki/Chat-Manager

    And the section on basic permissions setup (https://github.com/t3hk0d3/PermissionsEx/wiki/Basic-Permissions-Setup) has some examples for "Add fancy prefixes!" (with the final results in the config file at the bottom of the page).

    Start with that and if you have questions past that, ask away. :)

    Sure. Sorry to hear it tho. I love PEX and the level of control it gives me, but it's not the easiest permissions manager to configure at times. t3hk0d3 doesn't call it a hardcore permissions manager for nothing. :)

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

    d00ba

    You're right of course, but how did you truely expect me to respond when you are so patronizing. Then prove that you don't know what you're talking about in the same post.

    Also, if you take a look at the permissions.yml config file I posted on pastebin, which you clearly hardly even looked at, as you didn't notice that a user had been assigned "iConomy.help". And In no way did I suggest that the "permissions.*" node would give anything other than access to the PEX commands.

    Also, it is implied in your post that I've come here raging and demanding help, which is simply not true. I asked a genuine question to see if anyone else has experienced problems. It is in no-way the end of the world if I can't get this plugin running with iConomy. I'm simply toying with ideas on a local test server. My main server is already up and running using alternative plugins.

    Moral of the story: Don't treat everyone like they're completely stupid, it's not in any way helpful or constructive.

    Regards,

    d00ba
     
  21. Looking at my original post, I apologize for the perceived tone, I see that I missed the smiley at the end. Patronizing was not my intent.

    True enough on the permissions.* node. However, I did look at the config file, but was not aware of what exactly iConomy.plus or iConomy.help did until I looked at the plugin directly. I have never used it myself, and made the assumption that the idea behind the offered permissions file was to assign the admin group all permissions, which is typically how it is configured.

    This part, I honestly don't know where you got the idea that I implied you had 'come here raging and demanding help'. I made some assumptions on what you were trying to do, which was a mistake on my part, and I apologize for them. But that doesn't change anything about your previous reply what could have been read as having a "I'm looking down my nose at you because you are wrong" tone to it.

    The other moral of the story is to give people the benefit of the doubt when posting in a forum for the first time when others who are very active in the forum have been fielding the same questions over and over, are trying to help out, and may have missed something or just plain been in a hurry at the time.:)

    Regardless, if you are willing to chalk this up as a misunderstanding between the two of us, I am more than willing and would be happy to as well without holding any grudges. PEX is an amazing permissions manager and a rather complex one at that, so it's relatively easy to miss something or have a misconfiguration hiding right in front of someone.

    Deal? *offers up a virtual handshake*
     
  22. Offline

    nggmc

    Hmmm how canni decline permissions for a certain player or group? Would it be a

    - -herp.n.derp

    Or ?

    Also how does the timed permissions work I checked the githib couldn't find anything.?
     
  23. Offline

    Viiu

  24. Offline

    lycano

    @Viiu first remove everything that is named like Essentials from your plugins folder and use commandbook plugin. Essentials doesnt work that well with PEX. Second check if in plugins/Modifyworld/config.yml enabled is set to true! Its set to false by default so you have to enable it manually via config editing to activate it.

    Also note without adding xcryon to any usergroup he would be placed to your "default: true" set group. Thats in your case "Default". This group cant do anything then when you activate ModifyWorld. You have to set them to the right group either with promote or "pex user UserName group set Groupname" command.

    @nggmc Negated permission handling see ModifyWorld, how do timed permission work? Well its timed ... removed on logout or till timeout setable via command see for Players or Groups

    Just to proove that its in the wiki ^^

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

    Mr_Pryor

    Suggestion: Color names in "List Players". Perhaps it takes color from prefix?
     
  26. My is almost the same but "modifyworld" in this case is "superperms".
    I have checked with YAML Parser , but I have`t change the lines more than copy and paste MySQL config.
    I think it is about the config.yml I´am not sure but I paste it :

    Code:
    permissions:
            basedir: plugins/PermissionsEx
            backend: sql
            backends:
                sql:
                    driver: mysql
                    uri: mysql://localhost/minecraft
                    user: minecraft
                    password: *****
        superperms:
            parent-nodes: true
            enable: true
            strict-mode: false
        createUserRecords: true
        allowOps: false
        debug: false
        basedir: plugins/PermissionsEx
    
     
  27. Offline

    Favorlock

    I only have around 30 people. As far as I know the SQL backend doesn't work, at least not well enough to be a replacement for the file backend.
     
  28. Offline

    Viperdream

    Hi, I've been using PEX for about 3 months now and it's a great plugin! Now since I am making a new server, I wanted to install it on my new server.

    I made an admin group and added myself to it, but now every time I try a command out it says; "You don't have permission for this"

    I am using the 1.0.1-R1 build for bukkit (latest) and here's my pastebin from the reload:
    http://pastebin.com/kzqmMpkT

    It's very strange since I've never had such error before, but could it be that somehow a permissions system from Bukkit is interfering with PEX? Since commandbin seems to use another plugin.
     
  29. Offline

    Jäsef

    now it's my turn to ask questions!
    1. It seems that inheritance does not work with PEX, my moderators does not inherit my Builder's permissions. if i don't add modifyworld.* manually to the moderator's permissions, they don't have any perms whatsoever (regarding modifyworld)
    2. my guests can't enter vehicles. they can place minecarts and boats, but they cannot enter them.

    my permissions.yml:
    Code:
    groups:
        Guest:
            default: true
            permissions:
            - modifyworld.blocks.interact.*
            - -modifyworld.blocks.place.46
            - modifyworld.blocks.place.*
            - modifyworld.sneak
            - modifyworld.sprint
            - modifyworld.usebeds
            - modifyworld.blocks.destroy.*
            - modifyworld.items.drop.*
            - modifyworld.items.pickup.*
            - modifyworld.vehicle.*
            - modifyworld.chat
            - modifyworld.items.use.*
            - CommandBin.general.warp
            - CommandBin.teleport.spawn
            - bukkit.command.list
        Builder:
            inheritance: Guest
            permissions:
            - modifyworld.*
            - CommandBin.general.warp
            - CommandBin.general.tp
            - CommandBin.general.creative
            - CommandBin.general.survival
            - CommandBin.general.sethome
            - CommandBin.general.home
            - lwc.protect
            - CommandBin.teleport.tp
            prefix: '&2[Builder]'
        Moderator:
            inheritance: Builder
            permissions:
            - CommandBin.*
            prefix: '&4[Mod]'
        Admin:
            permissions:
            - '*'
            prefix: '&3[&6Admin&3]'
        Owner:
            permissions:
            - '*'
            prefix: '&4[&6O&eW&2N&9E&5R&4]'
        Co-Owner:
            permissions:
            - '*'
            prefix: '&2[&7Co&8-&3Owner&2]'
    users:
        NyanKitteeh:
            group:
            - Moderator
            suffix: '&6'
        emilmoo:
            group:
            - Admin
        senecalaxer:
            group:
            - Admin
        shraakx2:
            group:
            - Moderator
        sieberj:
            group:
            - Builder
        assassin1940:
            group:
            - Builder
        Divotoo:
            group:
            - Moderator
        chihuahua_14:
            group:
            - Moderator
        JOlliBEE143:
            group:
            - Guest
        JGKreal:
            group:
            - Builder
        splinky1000:
            group:
            - Guest
        MrCompiler:
            group:
            - Guest
        timoty76:
            group:
            - Guest
        sharpdragon:
            group:
            - Guest
        mot706:
            group:
            - Builder
        B_thegamenerd:
            group:
            - Builder
        magicman5443:
            group:
            - Guest
        samol05:
            group:
            - Guest
        mynameissteve15:
            group:
            - Guest
        heechs:
            group:
            - Guest
        weltle0301:
            group:
            - Guest
        STONENOOBS:
            group:
            - Guest
        xErikox:
            group:
            - Builder
        Oleporse:
            group:
            - Builder
        jcrowner:
            group:
            - Guest
        IcyTruth:
            group:
            - Guest
        LukeX199:
            group:
            - Builder
        niggersaretheifs:
            group:
            - Guest
        NRJ1998:
            group:
            - Guest
        Branden1331:
            group:
            - Guest
        icecoolie:
            group:
            - Builder
        eli8527:
            group:
            - Guest
        sifiellis:
            group:
            - Builder
        tana253:
            group:
            - Guest
        chuckybohoos:
            group:
            - Guest
        ayden900:
            group:
            - Guest
        ruzzelruzzel:
            group:
            - Guest
        Magical_Max:
            group:
            - Guest
        Kakarott223:
            group:
            - Guest
        Assassin_Arch:
            group:
            - Guest
        happycow01:
            group:
            - Guest
        Sir_Goose:
            group:
            - Guest
        jack55406:
            group:
            - Guest
        Gammelfar:
            group:
            - Guest
        mongoose9:
            group:
            - Guest
        porche123:
            group:
            - Guest
        dujunenominem:
            group:
            - Guest
        lostsoul99:
            group:
            - Guest
        snakerstman:
            group:
            - Guest
        trebor__25:
            group:
            - Guest
        drumy97:
            group:
            - Guest
        kanto76:
            group:
            - Guest
        Creative_guy:
            group:
            - Guest
        Maxgoturback:
            group:
            - Guest
    
    My config:
    Code:
    permissions:
        backends:
            file:
                file: permissions.yml
        backend: file
        superperms:
            parent-nodes: true
            enable: true
            strict-mode: false
        createUserRecords: true
        allowOps: false
        debug: false
        basedir: plugins/PermissionsEx
    
    any ideas? help is very much appreciated :)
     
  30. Interesting. I've not heard of this behavior before and I'm not able to reproduce it on my testing install. I'm afraid I don't have any ideas on this one.

    The only thing I can think of is to start with PEX only, test the promotion/demotion, and add your other plugins one at a time to see if if one of them is causing the lag.:(

    I put your fine in notepad++ and it turns out that your lines starting from basedir down to password are indented too far in. It passes YAML validation if I remove the first four spaces on those eight lines. Try that and see if it works. :)

    Looking at your server log, it appears that commandbin is hooking to the PEX compatibility layer, so that appears to be fine.

    What we need to see is your permissions file, what commands you have tried that returned the no permissions error, and perhaps what plugins you have installed (just to try to cover all bases).:)

    This part, easy.:)

    Inheritance lines should look like this (or, this is what works for me):
    Code:
            inheritance:
            - Builder
    This one took some watching of the console output with pex debugging turned on.:p

    It appears that modifyworld does two checks for things like this:
    16:42:58 [INFO] User $PLAYER checked for "modifyworld.interact.minecart", "modifyworld.interact.*" found
    16:42:58 [INFO] User $PLAYER checked for "modifyworld.vehicle.enter", "modifyworld.vehicle.*" found

    So it first checks to see if the player even has permission to interact with the given item, then it checks to see if permission exists to enter the vehicle. So you could add interact permissions for the minecart specifically or go with a more generic interact.* node, depending on how limited you want guest players to be.

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

    nggmc

    Mmk so it would something like
    Code:
     - - permissions.permission 
    Cos that doesn't seem to work for me..
     

Share This Page