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

    Stormbow

    Yep, it's working with 1.0.1-r1 / 1597. No bugs that I'm aware of.

    You should look at ThumbsApply. It's a plugin that lets you mute guests and/or auto-promote people after they've played for a certain amount of time.

    If you do not give anyone the op.give or op.take permission, no problem. :D I gave them only to my rank, in case I needed some admin level assistance in an emergency, but other than that, no one on my server can op anyone. PEX does an amazing job of handling who can do what without needing them to be OPs.

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

    CubieX

    Thanks, but as you can see "Moderators" allready have the promote/demote permissions directly listed. ;)
    - permissions.user.promote.*
    - permissions.user.demote.*
     
  4. Offline

    DrBreadgun

    One question:
    When I do /pex user <player> group add <rank> it works
    That is until I do /pex reload. Is there any way I can stop this?

    EDIT:
    When I do /pex reload, the people who I made Member, go back to Newbies
     
  5. In that situation, yes it does.

    allowOps: true assigns the player in the file all permissions
    allowOps: false does not. However, anyone in the ops.txt is still going to get access to certain commands due to bukkit preempting any plugins.

    I'm guessing it's there as a convenience to server admins. Personally, I wouldn't be giving players on my server access to everything if they were not someone I would have trusted in the ops.txt file to begin with.

    EDIT: Also, as stormbow mentioned, you could negate the permission node for the op command as well for that group. It's not a substitute for not giving players *, but to each their own.;)
     
  6. Offline

    mario00037

    What are the PEX permission node's?
    Like to promote.
    /pex user (user) group set (group)
     
  7. https://github.com/t3hk0d3/PermissionsEx/wiki/Commands

    The nodes for each command are next to the command itself.:)

    Hmm...

    I just tried your permissions on a test server using PEX 1.17.

    I added myself to the supporters group, and added a testing user
    As a moderator or supporter, I am able to promote and demote the test user from gast to member.

    However, going any higher than that fails due to a promotion error. Looking closer at you permissions, you have the following ranks:
    gast is 10
    member is 9
    But VIP, Supporter, VIPSupporter, Moderator, VIPModerator and Admin are all rank 8. I think that PEX might be running into problems trying to figure out the ranking ladder.

    That is my best guess at the moment as I wasn't able to reproduce exactly what you posted.:confused:

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

    VoidingNixx

    modifyworld dos not work. sorry. No errors in the console or anything.
    I sat here dinking around with it for 2 hours tonight, just trying very simple things... everything is enabled in the modifyworld config file...

    - -modifyworld.items.have.(12|sand)
    - modifyworld.items.have.*

    Those are my permissions.... I can still have sand...
    I've also tried permissions similar to this...

    - -modifyworld.item.use.259.on.block.*
    - modifyworld.*

    It also did nothing, and let me use item 259. If anyone has modifyworld working (I mean, if someone actually has negative permissions for blocking specific items), please let me know... from what I'm seeing, this plugin is dead and does nothing.

    PEX 1.17 - cb #1597
     
  9. Offline

    Jaycen

    Hi, all. I just installed PEX, and since the install my mobs don't spawn any more.

    That is, when I run into dungeons the spawners function fine, but wandering the wilderness at night I see no hostile mobs. I've been all over the documentation, but I don't see anything regarding mob spawns.

    What have I missed?
     
  10. I tested this with my testing server, and it worked fine. Can you link to your permissions on pastebin/pastie, or post them there in code tags?

    Umm, nothing?:) PEX doesn't have any nodes that deal with mob spawning, just mob targeting/damage. In all the time I've been using PEX, I've never had mobs not spawn.

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

    gobadgers77

    Is there a way I can change a username color? I don't want a prefix or suffix just the username to be a different color for a certain group. Or do I have to use a different plugin?
     
  12. I'm pretty sure you can change it using the standard minecraft colour codes via the chatmanager config.yml, if that is the chat manager you are using, otherwise it depends on which one you are using.

    Check https://github.com/t3hk0d3/PermissionsEx/wiki/Chat-Manager and take a look at the message-format and global-message-format entries under the Configuration properties section.
     
  13. Offline

    Jaycen

    That's what I thought. I've pulled all the other plugins out one at a time and restarted after I yanked each one. No monsters spawned. PEX is the only thing left. Verified my server.properties:

    gamemode=0
    spawn-monsters=true

    Shouldn't be any simpler, right?
     
  14. That should be it. :eek:

    The only thing I can think of is start with a new install on your desktop machine with bukkit and PEX only to see what happens then add config changes from your current machine one at a time.
     
  15. Offline

    PKobalt

    Just a quick question, how the hell do you get multiworld permissions working with PEX?
     
  16. Offline

    Stormbow

    I'm with @Justin The Cynical on this one. What other plugins are you using? They're more than likely the cause.

    Check out Example 4 in This Tutorial. (You'll find it inside the download labeled "This" at PermissionsEx #3.)

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

    CaramelBird

    Guys, I installed permission Ex and everything and this is everything in my file.

    groups:
    default:
    default: true
    permissions:
    - modifyworld.*
    - homes.sethome
    - homes.home
    - warpy.warp
    - shop.buy
    - shop.sell
    - lockette.cprivate
    prefix: ''
    suffix: '&7[&7Default&7]&f'
    member:
    inheritance: default
    default: false
    permissions:
    - iconomy.money
    - shop.buy
    - shop.sell
    prefix: '&9[&9Member&9]&f'
    suffix: ''

    moderator:
    inheritance: member
    default: false
    permissions:
    - jail.jail
    - jail.unjail
    - bukkit.command.teleport
    - bukkit.command.kick
    - bukkit.command.ban.player
    - bukkit.command.unban.player
    prefix: '&b[&bModerator&b]&f'
    suffix: ''
    semi-admin
    inhertiance: moderator
    default: false
    permissions:
    - regios.data.*
    - regios.data.rename
    - regios.data.delete
    - regios.data.reload
    - regios.data.version
    - regios.data.set-owner
    - regios.data.list
    - regios.data.inherit
    - regios.data.backup-database
    - worldedit.replace
    prefix: '&1[&1Semi-Admin&1]&f'
    suffix: ''
    admin
    inhertiance: semi-admin
    default: false
    permissions:
    - bukkit.command.plugins
    - bukkit.command.give
    - bukkit.command.say
    - bukkit.command.unban.ip
    - bukkit.command.ban.ip
    - worldedit.copy
    - worldedit.remove

    Have I done it right? Cuz it says it's not working.
     
  18. Offline

    VoidingNixx

    Here ya go:
    http://pastebin.com/cVBkjcPW

    On this file, all I tried doing was making block 4, non-destroyable... it didn't work. It finds that wildcard doesn't find any thing else.

    I've run the debug, and it will not pick up any negated permissions, no matter what I do.

    Would you mind linking the permissions file you were using? Mine just will not work.
     
  19. Offline

    Codex Arcanum

    First of all, I want to say that this plugin is great. It is the only permissions option out there that does exactly what I want to do without making me bend over backwards.

    A while ago, I noticed that my server was having lots of lag on teleports (specifically across world boundaries), respawns, and when people logged on. I installed this plugin to check what was slowing down the teleport events. Here is the log for the Player_Teleport event.
    Show Spoiler

    10:59:18 [INFO] [-] Event PLAYER_TELEPORT subscriptions
    10:59:18 [INFO] [-] PLAYER_TELEPORT (invoked 117 times, avg 557002us to process)
    10:59:18 [INFO] [-] ru.tehkode.permissions.bukkit.PermissionsEx$PlayerEventsListener [PermissionsEx] (avg 322us)
    10:59:18 [INFO] [-] ru.tehkode.permissions.bukkit.BukkitPermissions$PlayerEvents [PermissionsEx] (avg 554878us)
    10:59:18 [INFO] [-] me.olloth.plugins.flight.listener.Players [SpoutFlight] (avg 9us)
    10:59:18 [INFO] [-] bukkitdev.Rogueleader89.fortification.FortificationPlayerListener [Fortification] (avg 121us)
    10:59:18 [INFO] [-] me.iffa.StyxSpace.listeners.SpacePlayerListener [StyxSpace] (avg 4us)
    10:59:18 [INFO] [-] org.getspout.spout.SpoutPlayerListener [Spout] (avg 1644us)
    10:59:18 [INFO] [-] com.herocraftonline.squallseed31.herosneak.HeroSneakListener [HeroSneak] (avg 2us)
    10:59:18 [INFO] [-] com.nisovin.magicspells.MagicPlayerListener [MagicSpells] (avg 10us)

    Honestly, I am not sure what units this plugin uses, but it seems to me as if PermissionsEx takes up an inordinately large amount of time. If you look at the attached log, you may notice that all of the things I am having lag issues with are things with a PermissionsEx listener that takes up a large amount of time.
    Show Spoiler

    11:05:41 [INFO] ------- Introspecting plugin 'PermissionsEx'
    11:05:41 [INFO] [-] Event subscriptions
    11:05:41 [INFO] [-] PLAYER_JOIN
    11:05:41 [INFO] [-] ru.tehkode.permissions.bukkit.BukkitPermissions$PlayerEvents [PermissionsEx] (avg 7389372us)
    11:05:41 [INFO] [-] PLAYER_RESPAWN
    11:05:41 [INFO] [-] ru.tehkode.permissions.bukkit.PermissionsEx$PlayerEventsListener [PermissionsEx] (avg 24us)
    11:05:41 [INFO] [-] PLAYER_RESPAWN
    11:05:41 [INFO] [-] ru.tehkode.permissions.bukkit.BukkitPermissions$PlayerEvents [PermissionsEx] (avg 5436187us)
    11:05:41 [INFO] [-] PLAYER_KICK
    11:05:41 [INFO] [-] ru.tehkode.permissions.bukkit.BukkitPermissions$PlayerEvents [PermissionsEx]
    11:05:41 [INFO] [-] PLAYER_QUIT
    11:05:41 [INFO] [-] ru.tehkode.permissions.bukkit.BukkitPermissions$PlayerEvents [PermissionsEx] (avg 10us)
    11:05:41 [INFO] [-] PLAYER_QUIT
    11:05:41 [INFO] [-] ru.tehkode.permissions.bukkit.PermissionsEx$PlayerEventsListener [PermissionsEx] (avg 12us)
    11:05:41 [INFO] [-] PLAYER_TELEPORT
    11:05:41 [INFO] [-] ru.tehkode.permissions.bukkit.PermissionsEx$PlayerEventsListener [PermissionsEx] (avg 322us)
    11:05:41 [INFO] [-] PLAYER_TELEPORT
    11:05:41 [INFO] [-] ru.tehkode.permissions.bukkit.BukkitPermissions$PlayerEvents [PermissionsEx] (avg 554878us)
    11:05:41 [INFO] [-] PLAYER_PORTAL
    11:05:41 [INFO] [-] ru.tehkode.permissions.bukkit.PermissionsEx$PlayerEventsListener [PermissionsEx] (avg 24us)
    11:05:41 [INFO] [-] PLAYER_PORTAL
    11:05:41 [INFO] [-] ru.tehkode.permissions.bukkit.BukkitPermissions$PlayerEvents [PermissionsEx] (avg 3us)
    11:05:41 [INFO] [-] PLAYER_CHANGED_WORLD
    11:05:41 [INFO] [-] ru.tehkode.permissions.bukkit.BukkitPermissions$PlayerEvents [PermissionsEx] (avg 5639370us)
    11:05:41 [INFO] [-] CUSTOM_EVENT
    11:05:41 [INFO] [-] ru.tehkode.permissions.bukkit.BukkitPermissions$PEXEvents [PermissionsEx] (avg 0us)

    Is this a problem with PermissionsEx, or something else I haven't thought of? If so, what, if anything, can be done? Thanks.
     
  20. Offline

    Stormbow

    Post your config.yml permissions inside code tags please.
     
  21. Offline

    SilentZChris

    What does the red writing mean? I don't know the difference between "tabs and spaces" so can somebody please explain it to me?


    Permissions:http://pastebin.com/YwFMuU2B
    (for that, the red writing is the last permission for default)
    (btw thats not ALL of my permissions for default..)
     
  22. Offline

    VoidingNixx

    Is there some option or some reason, that would cause PEX to skip permissions? I have certain certain permissions, not all, but certain ones, which PEX doesn't ever seem to find. I'm wondering how come?

    I seem to be having problems where any permssions, where the plugin relies on SuperPerms, or any permission which is negated, is not being seen by PEX. No clue why, or really how to fix. I've compared my configs/permissions with others, who seem to not have this problem, and cannot find any issue on the file side of things...

    So could anything else be the cause of this problem?

    edit: SuperPerms
    So I just added test.test into the superperms.

    test.test:
    children:
    bukkit.command.kick

    When I add the test.test node to my permissions group, I am unable to use the kick command. SuperPerms is enabled, it just is not seeing any of these permissions.

    What a messy file... do NOT use your tab key when writing these files... ever... never... ever... only use your spacebar.
    http://pastebin.com/AjxuLP8s -- fixed

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

    LOLXDDUDE

    For some apparent reason, Promoting will not work. There is one ladder for all my permissions and that is called ladder 1 so the permission node for my group is permissions.user.promote.ladder1 but everytime I try to promote someone it comes with this error like user not in ladder.
    Code:
    groups:
        Guest:
            default: true
            permissions:
            - essentials.getpos
            - essentials.help
            - essentials.helpop
            - essentials.helpop.recieve
            - essentials.info
            - essentials.list
            - essentials.motd
            - essentials.rules
            - essentials.clearinventory
            - essentials.suicide
            - essentials.spawn
            - essentials.msg
            - buttonwarp.use
            - citizens.basic.use.info
            prefix: '[Guest] '
            suffix: ''
            options:
                build: false
                rank: '1000'
                rank-ladder: ladder1
        Member:
            inheritance:
            - Guest
            permissions:
            - essentials.kit
            - essentials.kit.starter
            - essentials.afk
            - essentials.compass
            - essentials.depth
            - essentials.mail
            - essentials.mail.send
            - essentials.me
            - essentials.ping
            - essentials.back
            - essentials.back.ondeath
            - essentials.delhome
            - essentials.home
            - essentials.sethome
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpahere
            - essentials.tpdeny
            - essentials.warp
            - essentials.warp.list
            - essentials.portal
            - iConomy.holdings
            - iConomy.help
            - iConomy.payment
            - MobBounty.collect
            - MobBounty.commands.mb
            - lwc.protect
            - showcase.buy.finite
            - showcase.buy.infinite
            - herosneak.sneak
            - RepairShop.use
            - ChestShop.shop.buy
            - ChestShop.shop.sell
            - ChestShop.shop.buy.itemID
            - ChestShop.shop.sell.itemID
            - lockette.user.create.*
            - logblock.me
            - giftpost.chest.everywhere
            - giftpost.chest.open
            - giftpost.chest.empty
            - giftpost.chest.send
            - giftpost.chest.upgrade
            - citizens.basic.modify.talkclose
            - citizens.basic.modify.lookat
            - mobarena.use.join
            - mobarena.use.leave
            - mobarena.use.spectate
            prefix: '[Member] '
            suffix: ''
            options:
                build: true
                rank: '950'
                rank-ladder: ladder1
        Builder:
            inheritance:
            - Member
            permissions: null
            prefix: '[Builder] '
            suffix: ''
            options:
                build: true
                rank: '950'
        Worker:
            inheritance:
            - Member
            permissions: null
            prefix: '[Worker] '
            suffix: ''
            options:
                build: true
                rank: '950'
        Builder+:
            inheritance:
            - Member
            - Builder
            - Worker
            permissions:
            - essentials.heal
            - essentials.tree
            - essentials.afk.others
            - essentials.near
            - essentials.seen
            - essentials.mute
            - LavaBoat
            - ChestShop.shop.create
            - ChestShop.shop.create.itemID
            prefix: '[Builder+] '
            suffix: ''
            options:
                build: true
                rank: '900'
                rank-ladder: ladder1
        Member+:
            inheritance:
            - Builder+
            permissions: null
            prefix: '[Member+] '
            suffix: ''
            options:
                build: true
                rank: '900'
        Worker+:
            inheritance:
            - Builder+
            permissions: null
            prefix: '[Worker+] '
            suffix: ''
            options:
                build: true
                rank: '900'
        Donor:
            inheritance:
            - Builder+
            permissions:
            - essentials.feed
            - essentials.feed.others
            - essentials.heal.others
            - essentials.heal.cooldown.bypass
            - essentials.repair
            - essentials.afk.kickexempt
            - essentials.time
            - essentials.more
            - essentials.joinfullserver
            prefix: '[Donor] '
            suffix: ''
            options:
                build: true
                rank: '850'
                rank-ladder: ladder1
        Donor+:
            inheritance:
            - Donor
            permissions:
            - essentials.item
            - essentials.nick
            - essentials.nick.color
            - essentials.itemspawn.item-all
            - essentials.time.set
            prefix: '[Donor+] '
            suffix: ''
            options:
                build: true
                rank: '800'
        VIP:
            inheritance:
            - Builder+
            permissions:
            - essentials.feed
            - essentials.signs.color
            - essentials.weather
            - essentials.ignore
            - essentials.feed
            - showcase.basic
            - showcase.finite
            - showcase.exchange
            - cakedrops.getdrop
            prefix: '[VIP] '
            suffix: ''
            options:
                build: true
                rank: '750'
                rank-ladder: ladder1
        Powerful:
            inheritance:
            - VIP
            permissions:
            - essentials.feed.others
            - essentials.heal.others
            - essentials.realname
            - essentials.spawner
            - essentials.list.hidden
            - essentials.kick
            - essentials.top
            - essentials.repair
            - buttonwarp.make
            - buttonwarp.amount
            - buttonwarp.time
            - buttonwarp.msg
            - vanish.vanish
            - vanish.list
            - RepairShop.create
            - glowstonelanterns.gl
            - glowstonelanterns.destroyLanterns
            - glowstonelanterns.info
            - glowstonelanterns.save
            prefix: '[Powerful] '
            suffix: ''
            options:
                build: true
                rank: '700'
                rank-ladder: ladder1
        Mod:
            inheritance:
            - Powerful
            permissions:
            - essentials.warp.*
            - essentials.setwarp
            - essentials.delwarp
            - essentials.invsee
            - essentials.nick
            - essentials.tempban
            - essentials.tempban.exempt
            - essentials.kick.exempt
            - essentials.tp
            - essentials.tpohere
            - essentials.tpo
            - essentials.tpohere
            - essentials.time
            - essentials.afk.kickexempt
            - playerfreeze.freeze
            - giftpost.admin.free
            - giftpost.admin.sign
            - worldportal.create
            - worldportal.remove
            - worldportal.save
            - playerfreeze.warn
            prefix: '[Mod] '
            suffix: ''
            options:
                build: true
                rank: '650'
                rank-ladder: ladder1
        Executive:
            inheritance:
            - Mod
            permissions:
            - essentials.broadcast
            - essentials.nick.color
            - essentials.spawnmob
            - essentials.ban
            - essentials.ban.exempt
            - essentials.tpall
            - vanish.nopickup
            - vanish.nopickup.list
            - vanish.noaggromobs
            - permissions.user.promote.ladder1
            - permissions.user.demote.ladder1
            - instabreak.toggle
            - logblock.rollback
            - logblock.lookup
            - logblock.tools.toolblock
            - logblock.tools.tool
            - playerfreeze.warnall
            - logblock.spawnTools
            - essentials.time.set
            prefix: '[Executive] '
            suffix: ''
            options:
                build: true
                rank: '600'
                rank-ladder: ladder1
        Semi-Admin:
            inheritance:
            - Executive
            permissions:
            - essentials.sethome.multiple
            - essentials.sudo
            - essentials.teleport.hidden
            - essentials.teleport.hidden
            - essentials.chat.color
            - essentials.joinfullserver
            - essentials.sethome.multiple.3
            - essentials.more
            - mobdisguise.*
            - lockette.admin.bypass
            - lockette.admin.reload
            - instabreak.ranged
            - worldportal.reload
            - mobarena.admin.config.reload
            prefix: '[Semi-Admin] '
            suffix: ''
            options:
                build: true
                rank: '550'
                rank-ladder: ladder1
        Admin:
            inheritance:
            - Semi-Admin
            permissions:
            - essentials.world
            - essentials.sethome.multiple.5
            - essentials.chat.color
            - essentials.gamemode
            - essentials.gamemode.others
            - buttonwarp.admin.move
            - buttonwarp.admin.locate
            - buttonwarp.admin.list
            - buttonwarp.admin.freewarp
            - showcase.admin
            - showcase.infinite
            - bAntiCaps.AllowCapslock
            - logblock.ignoreRestrictions
            prefix: '[Admin] '
            suffix: ''
            options:
                build: true
                rank: '500'
        Major-Admin:
            inheritance:
            - Admin
            permissions:
            - essentials.sethome.multiple.7
            - essentials.essentials
            - essentials.give
            - essentials.give.item-all
            - essentials.item
            - essentials.itemspawn.item-all
            - essentials.more
            - essentials.chat.color
            - citizens.basic.use.help
            - citizens.basic.use.help
            - citizens.basic.create
            - citizens.basic.modify.move
            - citizens.basic.modify.moveto
            - citizens.basic.modify.copy
            - citizens.basic.modify.remove
            - citizens.basic.modify.rename
            - citizens.basic.modify.settext
            - citizens.basic.modify.addtext
            - citizens.basic.modify.resettext
            - citizens.basic.use.list
            - citizens.toggle.trader
            - citizens.toggle.help
            - citizens.npccount.5
            - citizens.admin.info
            prefix: '[Major-Admin] '
            suffix: ''
            options:
                build: true
                rank: '450'
        Overlord:
            inheritance:
            - Major-Admin
            permissions:
            - essentials.sethome.multiple.unlimited
            - essentials.burn
            - essentials.chat.color
            - lwc.mod
            - permissions.manage.membership.*
            - citizens.basic.modify.color
            - citizens.basic.modify.equip
            - citizens.basic.use.teleport
            - citizens.basic.use.select
            - citizens.basic.modify.setowner
            - citizens.npccount.unlimited
            - citizens.toggle.blacksmith
            - citizens.toggle.guard
            - citizens.toggle.healer
            - citizens.toggle.quester
            - citizens.toggle.wizard
            prefix: '[Overlord] '
            suffix: ''
            options:
                build: true
                rank: '400'
                rank-ladder: ladder1
        Owner:
            inheritance:
            - Overlord
            permissions:
            - '*'
            prefix: '[Owner] '
            suffix: ''
            options:
                build: true
                rank: '1'
                rank-ladder: Owner/God
     
  24. Offline

    VoidingNixx

    I really do not understand this.... take a look at this log.

    Code:
    2011-12-31 17:22:12 [INFO] [PermissionsEx] User VoidingNixx initialized
    2011-12-31 17:22:12 [INFO] User VoidingNixx checked for "iSafe.lavabucket.empty", "*" found
    2011-12-31 17:22:13 [INFO] User VoidingNixx checked for "iSafe.place.bedrock", "*" found
    2011-12-31 17:22:13 [INFO] User VoidingNixx checked for "iSafe.place.sponge", "*" found
    2011-12-31 17:22:13 [INFO] User VoidingNixx checked for "iSafe.place.un-naturalportal", "*" found
    2011-12-31 17:22:37 [INFO] Permissions reloaded
    2011-12-31 17:22:40 [INFO] [PermissionsEx] Group guest initialized
    2011-12-31 17:22:40 [INFO] [PermissionsEx] Group member initialized
    2011-12-31 17:22:40 [INFO] [PermissionsEx] User VoidingNixx initialized
    2011-12-31 17:22:40 [INFO] User VoidingNixx checked for "iSafe.*", no permission found
    2011-12-31 17:22:40 [INFO] User VoidingNixx checked for "iSafe.lavabucket.empty", no permission found
    2011-12-31 17:22:43 [INFO] User VoidingNixx checked for "iSafe.drop.*", no permission found
    2011-12-31 17:22:43 [INFO] User VoidingNixx checked for "iSafe.drop.bedrock", no permission found
    2011-12-31 17:22:43 [INFO] User VoidingNixx checked for "iSafe.drop.un-natural-portal", no permission found
    iSafe works when I use the '*' permission... hey look, it checked for a permission for me, and found one! Good ol' *. Then the second time, after the reload, I gave myself the permission of iSafe.lavabucket.empty and iSafe.*... notice how no permissions are found. Why is it not able to find these permissions?
     
  25. What @Stormbow said, you need to post it in code tags.:)

    The spacing of the lines is critical in a permissions file, and stating "it says it's not working." doesn't help any, I'm afraid. What says it's not working? What exactly isn't working? How is it not working? See? There are too many potential answers to those three questions.

    My best guess with the limited amount of information you provided is that you missed the colon after semi-admin, and misspelled inheritance for the semi-admin and admin groups. Beyond that, we need more info.
     
  26. Offline

    CaramelBird

    Yeah I fixed it, but how do you make it go

    [Admin]oddk1lla: Hello

    But everything is white, except the [Admin] Part.
     
  27. Well crap... Ok, here is what I have:
    modifyworld config (open)
    Code:
    informPlayers: true
    enable: true
    itemRestrictions: true
    messages:
        prohibitedItem: You have prohibited item "%s".
        whitelistMessage: You are not allowed to join this server. Goodbye!
        permissionDenied: Sorry, you don't have enough permissions
        whitelist: You are not allowed to join this server. Goodbye!
    whitelist: false
    drop-restricted-item: false
    use-material-names: false
    check-metadata: false
    item-use-check: false
    PEX config (open)
    Code:
    permissions:
        backends:
            file:
                file: permissions.yml
            sql:
                driver: mysql
                uri: mysql://%
                user: %
                password: %
            p2compat:
                directory: plugins/Permissions2
        backend: file
        superperms:
            enable: true
            debug: true
            strict-mode: false
            parent-nodes: true
            compatibility-mode: false
            enable-wildcards: true
            disable-unmatched: false
        createUserRecords: false
        allowOps: true
        debug: true
        basedir: plugins\PermissionsEx
        modifyworld:
            enable: true
            itemRestrictions: true
        informplayers:
            modifyworld: true
            changes: true

    I'm using the same permissions you posted.

    Debug shows this when I hold a stone pickaxe and try to mine a block of cobble:
    debug output (open)
    Code:
    15:36:14 [INFO] User testing checked for "modifyworld.items.have.280", "modifyworld.items.have.*" found
    15:36:14 [INFO] User testing checked for "modifyworld.items.have.4", "modifyworld.items.have.*" found
    15:36:14 [INFO] User testing checked for "modifyworld.items.have.274", "modifyworld.items.have.*" found
    15:36:14 [INFO] User testing checked for "modifyworld.blocks.interact.4", no permission found
    15:36:16 [INFO] User testing checked for "modifyworld.items.have.280", "modifyworld.items.have.*" found
    15:36:16 [INFO] User testing checked for "modifyworld.items.have.4", "modifyworld.items.have.*" found
    15:36:16 [INFO] User testing checked for "modifyworld.items.have.274", "modifyworld.items.have.*" found
    15:36:26 [INFO] User testing checked for "modifyworld.blocks.interact.4", no permission found
    15:36:27 [INFO] User testing checked for "modifyworld.blocks.interact.4", no permission found
    server startup (open)
    Code:
    15:42:54 [INFO] This server is running Craftbukkit version git-Bukkit-1.0.1-R1-b1597jnks (MC:1.0.1) (Implementing API version 1.0.1-R1)
    15:42:54 [INFO] [PermissionsEx] sql backend registered!
    15:42:54 [INFO] [PermissionsEx] file backend registered!
    15:42:54 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    15:42:54 [INFO] [PermissionsEx] p2compat backend registered!
    15:42:54 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
    15:42:54 [INFO] [PermissionsEx] Initializing file backend
    15:42:54 [INFO] Preparing level "survival"
    15:42:54 [INFO] Default game type: 0
    15:42:54 [INFO] Preparing start region for level 0 (Seed: 3521432017021675430)
    15:42:54 [INFO] Preparing start region for level 1 (Seed: 3521432017021675430)
    15:42:54 [INFO] Preparing start region for level 2 (Seed: -6579746797648513815)
    15:42:55 [INFO] [PermissionsEx] Superperms support enabled.
    15:42:55 [INFO] [PermissionsEx] v1.17 enabled
    15:42:55 [INFO] [ChatManager] ChatManager enabled!
    15:42:55 [INFO] [Modifyworld] Modifyworld enabled!
    15:42:55 [INFO] [PermissionsCompat] Compatibility layer enabled.
    15:42:55 [INFO] Server permissions file permissions.yml is empty, ignoring it
    Right now, I don't know what to suggest, aside from something strange on your end, as I am unable to reproduce what you are seeing on my end.

    Case sensitivity more than likely.:)

    I've seen this with another plugin. PEX doesn't handle camelcase nodes too well right now. If the node in the permissions file has capital letters, try making them all lowercase. That's what had to happen last time I saw this.

    In fact, I think an entry was added into the troubleshooting section of the wiki about it...

    Ah yes,"PEX denies access to a node that is in the correct group" section as pointed out by @Sporadisk. I'm not aware of any plans by @t3hk0d3 to fix this. Doesn't mean that there are no plans, just I don't know of any plans or tickets on github for it.:)

    That's going to be setting your color codes for the prefix line in the permissions settings and the config file for chatmanager, assuming you are using chat manager that comes in the PEX archive.:)

    References:
    https://github.com/t3hk0d3/PermissionsEx/wiki/Chat-Manager
    https://github.com/t3hk0d3/PermissionsEx/wiki/Basic-Permissions-Setup (add fancy prefixes section)

    Hmm, this looks to be related to how PEX apparently deals with ladders. The wiki should be expanded a bit on how it handles things like this...

    What it appears to be from my testing, is that PEX assumes that if you don't specify a named ladder, there is going to be only a single ladder in the setup, which it refers to by the name 'default'. As you have specifically named the ladder, using pex $user promote fails with the message you received because the ladder 'default' doesn't exist, therefor the player isn't in it.:) I was able to promote a random name I added to the config by specifying ladder1 in the promote command.

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

    VoidingNixx

    Thanks for the reply. I'm not having much luck, so the case-sensitivity will be the last thing I try, most likely. Thanks for your help Justin!

    In fact... I think things work now... the case-sensitivity seemed to have fixed iSafe... the negated permissions I will worry about some other day, since I do not use 'em much anyhow.

    Justin, you rock! But I really hope that the case-sensitivity issue gets fixed.
     
    Justin The Cynical likes this.
  29. Offline

    CaramelBird

    I just permissions. :( I just need to know how to make it work.

    Admins:
    default: false
    permissions: ['*']
    inheritance: [Moderator]
    info: {prefix: '&4[&fAdmin&4]&f', build: true, suffix: '&f'}
     
  30. Offline

    hdormitzer

    ok i give up what did i do wrong:(
    it keeps telling me this
    Code:
    23:02:13 [INFO] [PermissionsEx] sql backend registered!
    23:02:13 [INFO] [PermissionsEx] file backend registered!
    23:02:13 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    23:02:13 [INFO] [PermissionsEx] p2compat backend registered!
    23:02:13 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
    23:02:13 [INFO] [PermissionsEx] Initializing file backend
    23:02:13 [SEVERE] while scanning a simple key; could not found expected ':' initializing PermissionsEx v1.18 (Is it up to date?)
    while scanning a simple key
     in "<reader>", line 8, column 9:
                -mobarena.use.join
                ^
    could not found expected ':'
     in "<reader>", line 9, column 9:
                -mobarena.use.leave
                ^
    
    here are my groups

    Code:
    groups:
        player:
            default: true
            options:
                rank: '1000'
            permissions:
            - modifyworld.*
            -mobarena.use.join
            -mobarena.use.leave
            -mobarena.use.spectate
            -lwc.protect
        Admins:
            prefix: '&k(&kSupreme_ruler&0)&7 '
            permissions:
            - '*'
            options:
                rank: '0'
     
  31. The error is telling you where the problem is.:) You need a space between the dash and the node name, just like the ones above it.;)
     

Share This Page