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

    Jade

    My PEX Effed over. :p
     
  3. Offline

    joey550

    Im getting a new problem when I try /pex it says internal error or the users wont show up in permissions.
     
  4. Offline

    aaronmallen

    How do you take away permissions or use child nodes? Here what is what I am trying to accomplish but the warp delete commands don't work :( I am also trying to restrict certain commands for certain users but that isnt working either. Can anyone help me out here?

    groups:
    default:
    default: true
    permissions:
    - bukkit.command.tell
    - openwarp.warp.use
    - openwarp.warp.list
    - openwarp.home.use
    - openwarp.home.set
    - openwarp.warp.access.public.*
    - openwarp.warp.access.private.*
    - openwarp.warp.delete.public.self: false
    - openwarp.warp.delete.public.other: false
    - openwarp.warp.delete.private: true
    - simplespawn.use
    options:
    rank: '1000'
    users:
    kelly002:
    permissions:
    - -bukkit.command.say: false
    - -bukkit.command.tell: false
    group:
    - default
     
  5. Offline

    ACStache

    you should have an error in your server console at that point. Find the error and use either code tags or http://pastebin.com to show it here :)
     
  6. Offline

    leoplanb

    http://pastebin.com/f2cBFZ9j
    help please!
    Also, [INFO] This server is running CraftBukkit version git-Bukkit-1.1-R4-2-g6076dfe-b1940jnks (MC: 1.1) (Implementing API version 1.1-R5-SNAPSHOT)
     
  7. Offline

    Buckethead

    the one from cbutd is 1.3.4 a guy on the site made an unofficial 1.3.5

    here: <Edit by Moderator: Redacted mediafire url> this is for 1.1 r3 1846
     
    Last edited by a moderator: Sep 9, 2018
  8. Offline

    joey550

    Where you get code tags?
     
  9. Offline

    Buckethead

    also since thats a srpex problem u should really post on their sites

    oh its the little {}# symbol icon thing upper right corner of posting back

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  10. Umm, help with what exactly? All I see in that console output (thanks for posting that in a link BTW! :)), is a problem with essentials and some kind of plugin auto-updater...

    Please use the code tags next time, the problem may have been formatting related, and simply pasting them into the forum destroys the formatting.

    In this case, that is probably not the problem. The nodes you used for the warp delete and bukkit commands are not the right ones for PEX.

    PEX assumes that all plugin commands, by default, are not allowed to players (this is how it should be IMO), and is how most plugins work.

    So generally, unless you want a player to have access to a command, you would have to give that group the node for it. So for the openwarp.warp.delete.private node, if that command is not allowed by the plugin, adding openwarp.warp.delete.private is enough to allow the group access to the command. The :true and :false format is not a valid PEX node format.

    If you are wanting to block a node that is given to everyone by default, such as the say command, - -bukkit.command.tell is sufficient to do so.

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

    joey550

    Where? on here
    I got this when I try /PEX
    05:48:58 [INFO] Read timed out
    05:48:58 [SEVERE] java.net.SocketException: Socket closed
    05:48:58 [SEVERE] at java.net.SocketOutputStream.socketWrite(Unknown Sourc
    e)
    05:48:58 [SEVERE] at java.net.SocketOutputStream.write(Unknown Source)
    05:48:58 [SEVERE] at java.io.BufferedOutputStream.flushBuffer(Unknown Sour
    ce)
    05:48:58 [SEVERE] at java.io.BufferedOutputStream.flush(Unknown Source)
    05:48:58 [SEVERE] at java.io.DataOutputStream.flush(Unknown Source)
    05:48:58 [SEVERE] at net.minecraft.server.NetworkWriterThread.run(SourceFi
    le:103)
    05:48:58 [INFO] joey550 lost connection: disconnect.endOfStream
    05:48:58 [SEVERE] Could not pass event org.bukkit.event.player.PlayerQuitEvent t
    o PermissionsEx
    java.lang.RuntimeException: Permissions manager is not accessable. Is the Permis
    sionsEx plugin enabled?
    at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(Perm
    issionsEx.java:155)
    at ru.tehkode.permissions.bukkit.PermissionsEx$PlayerEventsListener.onPl
    ayerQuit(PermissionsEx.java:229)
    at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.ja
    va:279)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:57)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:327)
    at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConf
    igurationManager.java:161)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:231)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7
    8)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    >
     
  12. Offline

    leoplanb

    The problems are: permissions doesn't work, half od essentials doesn't work,

    and sorry here's the error list http://pastebin.com/Q3VCFaRd
     
  13. Offline

    suicidal_banana

    Hello, just wanted to point out (since i never read about this, but always have it) that theres still, to this day, with all versions since 1.13, problems with sql backend and negative permissions.

    If i update bukkit, for whatever wack reason, i need to set all negative permissions again, and even then it doesnt always work, im on 1.18 atm, been discussing with 'bacon_avenger' on dev.bukkit.org, and while he does get the negative perms to work in sql, after reassinging them, i do not :(

    Please look into this, i still say pex is the best permission plugin/bridge out there, but the fact that this bug still exists is starting to annoy me, ive been banning players like mad since tnt is suddenly no longer blocked, and similair issues, and this is like the 7th (bukkit update) time it happens, the second time that im not able to solve it by reassigning all negative perms.
     
  14. Hey everybody.

    I am having trouble getting parent notes to work. I am trying to get iConemy.user to work.
    But I can't get it to work at all..

    More info in my last post.

    Does anybody have any kind of parent notes working? or this a general problem? or just me again!

    -- Martin
     
  15. Offline

    Buckethead

    did u take use everything in the zip file that u download. and is your config messed up in any way? an extra space or you messed with a value u dont understand?

    are u ever using the tab button? or is ur spacing off. i also use iconomy and it works fine for me that way. i would recommend getting Notepad++ its free and if u ever see red u know u screwed up :)

    also the code button should make it look like this

    Code:
    05:48:58 [SEVERE] java.net.SocketException: Socket closed
    05:48:58 [SEVERE] at java.net.SocketOutputStream.socketWrite(Unknown Sourc
    e)
    05:48:58 [SEVERE] at java.net.SocketOutputStream.write(Unknown Source)
    05:48:58 [SEVERE] at java.io.BufferedOutputStream.flushBuffer(Unknown Sour
    ce)
    05:48:58 [SEVERE] at java.io.BufferedOutputStream.flush(Unknown Source)
    05:48:58 [SEVERE] at java.io.DataOutputStream.flush(Unknown Source)
    05:48:58 [SEVERE] at net.minecraft.server.NetworkWriterThread.run(SourceFi
    le:103)
    05:48:58 [INFO] joey550 lost connection: disconnect.endOfStream
    05:48:58 [SEVERE] Could not pass event org.bukkit.event.player.PlayerQuitEvent t
    o PermissionsEx
    java.lang.RuntimeException: Permissions manager is not accessable. Is the Permis
    sionsEx plugin enabled?
    at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(Perm
    issionsEx.java:155)
    at ru.tehkode.permissions.bukkit.PermissionsEx$PlayerEventsListener.onPl
    ayerQuit(PermissionsEx.java:229)
    at org.bukkit.plugin.java.JavaPluginLoader$2.execute(JavaPluginLoader.ja
    va:279)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:57)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:327)
    at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConf
    igurationManager.java:161)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:231)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7
    8)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    >
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Aug 28, 2019
  16. Offline

    Buckethead

    Capture.PNG
     
  17. Offline

    aaronmallen

    ok so here is my current yml

    Code:
    groups:
        default:
            default: true
            permissions:
            - bukkit.command.tell
            - openwarp.warp.use
            - openwarp.warp.list
            - openwarp.home.use
            - openwarp.home.set
            - openwarp.warp.access.public.*
            - openwarp.warp.access.private.*
            - simplespawn.use
            options:
                rank: '1000'
        Admins:
            prefix: '[&4ADMN] '
            suffix: '&7 '
            permissions:
            - '*'
            options:
                rank: '0'
        Member:
            inheritance:
            - default
            options:
                rank: '900'
            permissions:
            - openwarp.warp.set
            - - openwarp.warp.delete.public.self
            - - openwarp.warp.delete.public.other
            - openwarp.warp.delete.private
        VIP:
            prefix: '[&eVIP] '
            suffix: '&7 '
            inheritance:
            - Member
            options:
                rank: '800'
            permissions:
            - openwarp.jump
            - openwarp.top
            - openwarp.back
            - openwarp.warp.share
            - openwarp.warp.unshare
            - openwarp.warp.detail
            - openwarp.warp.stack.push
            - openwarp.warp.stack.pop
            - openwarp.warp.stack.peek
            - openwarp.warp.stack.print
        Moderator:
            inheritance:
            - VIP
            prefix: '[&1MOD]  '
            suffix: '&7 '
            options:
                rank: '100'
            permissions:
            - bukkit.command.help
            - bukkit.command.gamemode
            - bukkit.command.list
            - bukkit.command.teleport
            - bukkit.command.kick
            - bukkit.comand.list
    users:
        kelly002:
            permissions:
            -  - bukkit.command.say
            -  - bukkit.command.tell
            group:
            - default
            options:
                last-login-time: '1329343182'
        SirisVangaurd:
            permissions: []
            group:
            - VIP
        lillymodo:
            permissions: []
            group:
            - Moderator
        aaronmallen4:
            group:
            - Admins
        zildjiabass150:
            group:
            - Admins
        Asacar:
            group:
            - VIP
        Legenx:
            group:
            - VIP
        xtrid92:
            group:
            - Member
        grgthemighty:
            group:
            - Admins
            options:
                last-login-time: '1329343096'
                last-logout-time: '1329343163'
    
    however with this current configuration the Member group is still able to delete Public warps, and the user kelly002 is still able to chat...
     
  18. Offline

    Buckethead

    is there a modifyworld perms for sleep?
     
  19. Offline

    DerekZil

    Can you add a DisplayName?
    Not just
    %player?
     
  20. Perfect, thank you! :)

    Ok, your nodes are close, but not quite there yet. You have:
    Code:
    - - openwarp.warp.delete.public.self
    - - openwarp.warp.delete.public.other
    You need:
    Code:
    - -openwarp.warp.delete.public.self
    - -openwarp.warp.delete.public.other
    Notice the lack of a space between the second dash and the node.

    Not that I've ever seen in the debug or the wiki. I believe that beds are something that can be blocked via an interact or use check.

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

    Zorigami

    My permissions formatting is wrong, could someone help me figure out what the issue is?

    Code:
    groups:
        default:
            default: true
            prefix: null
            permissions:
            - admincmd.tp.home
            - admincmd.item.kit.Starter
            - admincmd.warp.tp
            - warpz0r.use.warp
            - -warpz0r.use
            - -factions.create
            - -factions.kit.halfmod
            - -factions.kit.mod
            - factions.kit.halfplayer
            - -factions.kit.fullplayer
        Admins:
            prefix: '&0(&2Admin&0)&7'
            permissions:
            - worldgaurd.*
            - worldguard.*
            - admincmd.time.day
            - admincmd.time.set
            - '*'
            - worldedit.superpickaxe.drawing.brush.sphere
            - worldedit.superpickaxe.drawing.brush.cylinder
            - worldedit.superpickaxe.drawing.brush.clipboard
            - worldedit.chunkinfo
            - worldedit.listchunks
            - worldedit.delchunks
            - worldedit.clipboard.clear
            - worldedit.clipboard.load
            - worldedit.clipboard.save
            - worldedit.clipboard.copy
            - worldedit.clipboard.flip
            - worldedit.clipboard.rotate
            - worldedit.clipboard.cut
            - worldedit.clipboard.paste
            - worldedit.limit
            - worldedit.generation.cylinder
            - worldedit.generation.cylinder
            - worldedit.generation.sphere
            - worldedit.generation.sphere
            - worldedit.generation.forest
            - worldedit.generation.pumpkins
            - worldedit.history.clear
            - worldedit.history.redo
            - worldedit.history.undo
            - worldedit.navigation.unstuck
            - worldedit.navigation.ascend
            - worldedit.navigation.descend
            - worldedit.navigation.thru
            - worldedit.navigation.jumpto
            - worldedit.navigation.ceiling
            - worldedit.navigation.up
            - worldedit.region.overlay
            - worldedit.region.walls
            - worldedit.region.faces
            - worldedit.region.smooth
            - worldedit.region.replace
            - worldedit.region.stack
            - worldedit.region.set
            - worldedit.region.move
            - worldedit.scripting.execute
            - worldedit.scripting.execute
            - worldedit.selection.chunk
            - worldedit.selection.pos
            - worldedit.selection.pos
            - worldedit.selection.hpos
            - worldedit.selection.hpos
            - worldedit.wand
            - worldedit.wand.toggle
            - worldedit.selection.contract
            - worldedit.analysis.distr
            - worldedit.analysis.count
            - worldedit.selection.size
            - worldedit.selection.shift
            - worldedit.selection.expand
            - worldedit.snapshots.restore
            - worldedit.snapshots.list
            - worldedit.snapshots.restore
            - worldedit.superpickaxe
            - worldedit.superpickaxe.pickaxe.area
            - worldedit.superpickaxe.replacer
            - worldedit.superpickaxe.data-cycler
            - worldedit.superpickaxe.drawing.brush
            - worldedit.superpickaxe.drawing.brush
            - worldedit.superpickaxe.pickaxe.recursive
            - worldedit.superpickaxe.info
            - worldedit.superpickaxe.pickaxe
            - worldedit.superpickaxe.tree
            - worldedit.fill.recursive
            - worldedit.fixlava
            - worldedit.fixwater
            - worldedit.removeabove
            - worldedit.removebelow
            - worldedit.removenear
            - worldedit.replacenear
            - worldedit.snow
            - worldedit.thaw
            - worldedit.extinguish
            - worldedit.butcher
            - worldedit.fill
            - worldedit.drain
            - worldedit.reload
        Donators:
            permissions:
            - admincmd.warp.tp
            - faction.kit.mod
            options:
                rank: '99'
                rank-ladder: '99'
        Overseers:
            prefix: '&0(&eOverseer&0)&7'
            permissions:
            - bukkit.command.unban.player
            - admincmd.player.pardon
            - admincmd.player.ban
            - admincmd.player.kick
            - admincmd.tp.home
            - admincmd.warp.tp
            - bukkit.command.kick
        Mods:
            permissions:
            - admincmd.warp.tp.other
            - admincmd.warp.tp
            - bukkit.command.time.set
            - bukkit.command.unban.player
            - bukkit.command.ban.player
            - bukkit.command.kick
            prefix: '&0(&aMod&0)&7'
        CoalDonators:
            inheritance:
            - Donators
            prefix: '&f(&8Coal&f)&7'
        IronDonators:
            inheritance:
            - Donators
            prefix: '&f(&4Iron&f)&7'
        GoldDonators:
            inheritance:
            - Donators
            prefix: '&f(&6Gold&f)&7'
        DiamondDonators:
            inheritance:
            - Donators
            prefix: '&f(&bDiamond&f)&7'
        Prisoners:
            permissions:
            - -*
    users:
        Zorigami:
            group:
            - Admins
        Meldorn:
            group:
            - Admins
        cathecool:
            group:
            - Admins
        Juggernaut:
            group:
            - Admins
        zachattax:
            group:
            - Overseers
        epicboa:
            group:
            - Overseers
        Blyther:
            group:
            - Overseers
        ChinkyMan:
            group:
            - Overseers
        BobbyIsHappy:
            group:
            - Overseers
        RoqueBlocks:
            group:
            - Overseers
        Family_Juls:
            group:
            - Overseers
        jempatch:
            group:
            - default
        aaronmays1:
            group:
            - default
            
     
  22. Offline

    aaronmallen

    Code:
    permissions:
            - worldgaurd.*
            - worldguard.*
            - admincmd.time.day
            - admincmd.time.set
            - '*'
            - worldedit.superpickaxe.drawing.brush.sphere
    
    You need to indent your permissions
     
  23. Offline

    _Alf

    Maybe i found a workaround you could adapt aswell:

    By the way, i am still wondering what the new "Non-inheriting nodes feature" might be or how does it work? [pig]
     
  24. Offline

    Zorigami

    Figured it out, there were two tabs at the end
     
  25. Easy, if you prefix a node with a particular character, the node will not be inherited by any child groups.

    Code:
    parent:
        permissions:
        - yes.do.this
        -do.this.too
        - ~you.can.but.not.your.kid <-- Using the tilde as an example character for non-inheriting node
     
    child:
        permissions:
        - you.can.have.this
        inheritance:
        - parent
    With this, the child group will have...
    • yes.do.this
    • do.this.too
    • you.can.have.this
    ...but not you.can.but.not.your.kid

    When it's fixed (the initial choice of inheritance prevention happened to be the same character that is used for comments, making the node it was applied to become null for the parent), it should allow for a lot more flexibility in designing a permissions set. :)

    YAML, it's subtle, OCD and quick to anger :)

    Glad to hear you got it figured out.

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

    aaronmallen

    This is similar to what I am trying to accomplish but not quite I did manage to figure out how to pull permissions and thank you for that but I am still having issue with openwarp. Open warp has a parent node of openwarp.warp.delete but this node also has three option nodes openwarp.warp.delete.public.self, openwarp.warp.delete.public.other, and openwarp.warp.delete.private. I am trying to cofigure my permissions to allow user to delete private warps and not public warps. My current configuration is this:

    Code:
        Member:
            inheritance:
            - default
            options:
                rank: '900'
            permissions:
            - openwarp.warp.set
            - -openwarp.warp.delete.public.self
            - -openwarp.warp.delete.public.other
            - openwarp.warp.delete.private
    However this doesn't work correctly without including the parent node: openwarp.warp.delete, however including the parent node allows users to delete ALL warps not just parent warps. Here is what I am basing my knowledge on: https://github.com/PneumatiCraft/OpenWarp/wiki/Commands (read the Remove Warps section)

    Please also note the above link references a parent node openwarp.warp.delete.use, which doesn't work either you either use openwarp.warp.delete and allow users to delete ALL warps or you don't give them the permissions to delete warps at all. Again any help would not only be MUCH appreciated it would help me further understand how to configure parent vs child nodes with PEX later down the road.
     
  27. Offline

    joey550

    No i made sure that wasn't the prob do you have no solution?
     
  28. Offline

    boblo

    my permissionsex isnt working. Help plz? I would give a log but dont know how to.
     
  29. Offline

    TheMaa

    Can you make so its broadcast a message when a player get ranked?
    Like: TheMaa's rank is now Admin.
    And make it customizable :)
     
  30. Unfortunately, there does seem to be a bug with PEX and parent/child permissions at this time, if the number of tickets on github about this are any indication. I could have sworn that I saw one that was marked as resolved in one of the newer dev builds, but I can not seem to find it at this time.

    I wish I had a work around for this or something, but I don't at this time.:(

    Banana, I was thinking about this one some more, and the only difference I can think of between what you PMed me and what I tested with was the ID's in the table.

    You mentioned that you were going to fall back to the file backend. What if you tried this:

    1. With the SQL backend selected, dump the perms to the file
    2. Switch to the file backend
    3. Dump the perms into the SQL backend
    4. Truncate your tables and reimport the SQL
    5. Switch back to the SQL
    The idea I have is from my tests and experiments, if one has a file backend and adds a negation node to a group, PEX will add the node at the top of the list, making sure it's found before the allow. PEX also seems to read the file backend nodes in the same top-down order when creating the SQL dump. So in theory, this would reorganize the node ID's in the correct order for what you want to have happen.

    It's a bit of a stretch, but It's Crazy Enough That It Just Might Work (tm). ;)

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

    devatrox

    Very small error: Some users noticed when they start a chat message with "!" the text gets yellow and their prefix changes to <Guest> everytime they do that. We run CB 1.1-R3 and PEX 1.18 with Chatmanager.
    I did not give anyone the chatmanager.chat.color permission btw
     

Share This Page