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

    TBC_x

    http://dev.bukkit.org/server-mods/permissionsex/files/3-permissions-ex-v1-15-package/
     
  3. Offline

    Evenprime

    SuperPerms work correctly for me in 1.16 with this config.yml (that's what gets generated if you delete your config.yml and restart the server). I think the other settings like "compatibility-mode", "enable-wildcards" and "disable-unmatched" may no longer be supported, maybe(?):

    Code:
    permissions:
        backends:
            file:
                file: permissions.yml
        backend: file
        superperms:
            parent-nodes: true
            enable: true
            strict-mode: false
        createUserRecords: false
        allowOps: false
        debug: false
        basedir: plugins\PermissionsEx
    

    1.15.1 completely breaks SuperPerms support as in "doesn't work at all".
     
  4. Offline

    baffu

    Hello,
    I would like to know if there is a way to set the users group but have it added to the end of the list of groups. I basicly have someone as a mod with a mod tag and want them to use the command sign plugin but have the command executed add the user group behind the mods group so the tag stays as mod...
     
  5. Offline

    CraftyMclovin

    Just open your permissions.yml in you plugins/permissionsEX folder and edit the user and give them permissions instead of the group like so,

    Code:
        username:
            group:
            - moderator
            Permissions:
            - sign.node
            - sign.node
    ECT.. so you're only giving that single person the permissions for sign plugin rather than the group!

    I tried this method but it didn't seem to make a difference.., i have reverted back to v1.15 and it works great now..

    v1.16 has serious issues with SuperPerms... when i use it my members can't use plugin commands... they can only use plugin commands that support PEX not SuperPerms.

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

    mypetsquirrel

    yes, they are in the correct group.
    there are no inheritances.
    issue resolved - Ex-OP self destructed, griefed, and had to be banned. Thanks for trying anyway.
     
  7. Offline

    t3hk0d3

    can you post your permissions.yml?
     
  8. Offline

    11RJB

    I'm having similar issues. Using the superperms nodes at all causes massive lag spikes on my server when I try to run certain commands (any sort of teleport seems to be really bad; I.E. /warp, /home, /spawn, Multiverse portals, etc). Removing the nodes from the permissions and just granting my admins OP fixes the lag, but isn't an ideal fix.

    Here's the perms I had to remove:
    Code:
            - permissions.manage
            - permissions.manage.reload
            - permissions.manage.config
            - permissions.manage.backend
            - permissions.manage.users
            - permissions.manage.dump
            - permissions.manage.worlds
            - permissions.manage.worlds.inheritance
            - permissions.manage.users
            - permissions.manage.users.permissions
            - permissions.manage.users.permissions.timed
            - permissions.manage.membership
            - permissions.manage.groups.inheritance
            - permissions.manage.groups
            - permissions.manage.groups.create
            - permissions.manage.groups.remove
            - permissions.manage.groups.permissions
            - permissions.manage.groups.permissions.timed
            - '*'
     
  9. Offline

    CraftyMclovin

    Code:
    groups:
        default:
            default: true
            prefix: '&9[&fPeasent&9]&b '
            options:
                rank: '1000'
                build: false
            permissions:
            - modifyworld.chat
            - essentials.list
            - essentials.help
            - essentials.helpop
        member:
            prefix: '&9[&4KING&9-&3Member&9]&b '
            permissions:
            - worldguard.region.flag.flags.*
            - modifyworld.*
            - iConomy.user
            - ChestShop.shop.*
            - heroes.classes.*
            - SpawnControl.spawn.use
            - SpawnControl.sethome.basic
            - SpawnControl.sethome.proxy
            - SpawnControl.home.basic
            - -lwc.protect
            - essentials.afk
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpdeny
            - essentials.msg
            - essentials.motd
            - essentials.list
            - essentials.help
            - essentials.help.spawncontrol
            - essentials.help.heroes
            - essentials.help.chestshop
            - essentials.help.iconomy
            - essentials.helpop
            - heroes.reset
            - ctp.play
            - essentials.mail.send
            - essentials.mail
            - essentials.back.ondeath
            - essentials.back
            options:
                rank: '900'
        vip:
            prefix: '&9[&5VIP&9]&b '
            permissions:
            - worldguard.region.flag.flags.*
            - -modifyworld.mobtarget.monster.creeper
            - modifyworld.*
            - iConomy.plus
            - ChestShop.shop.*
            - heroes.classes.*
            - -lwc.protect
            - essentials.afk
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpdeny
            - essentials.msg
            - essentials.motd
            - essentials.list
            - essentials.help
            - essentials.help.spawncontrol
            - essentials.help.heroes
            - essentials.help.chestshop
            - essentials.help.iconomy
            - heroes.reset
            - essentials.helpop
            - weathercontrol.clear
            - essentials.mail.send
            - essentials.mail
            - essentials.back.ondeath
            - essentials.back
            inheritance:
            - member
            options:
                rank: '800'
        moderator:
            prefix: '&9[&dMOD&9]&b '
            permissions:
            - worldguard.region.flag.flags.*
            - modifyworld.*
            - iConomy.plus
            - SpawnControl.home.*
            - SpawnControl.sethome.basic
            - SpawnControl.spawn.use
            - ChestShop.shop.*
            - heroes.classes.*
            - bukkit.command.kick
            - essentials.afk
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpdeny
            - essentials.kick
            - essentials.msg
            - essentials.motd
            - essentials.list
            - essentials.help
            - essentials.help.spawncontrol
            - essentials.help.heroes
            - essentials.help.chestshop
            - essentials.help.iconomy
            - essentials.help.weathercontrol
            - heroes.reset
            - essentials.helpop
            - essentials.helpop.receive
            - weathercontrol.*
            - essentials.mail.send
            - essentials.mail
            - permissions.user.(demote|promote).default
            - essentials.back.ondeath
            - essentials.back
            options:
                rank: '0'
        admin:
            prefix: '&9[&5Admin&9]&b '
            permissions:
            - worldguard.region.flag.flags.*
            - worldedit.*
            - -modifyworld.mobtarget.*
            - modifyworld.*
            - permissions.user.promote.<member>
            - permissions.user.demote.<member>
            - superpermbridge.*
            - iConomy.plus
            - iConomy.accounts.*
            - SpawnControl.*
            - ChestShop.mod
            - ChestShop.shop.*
            - permissions.*
            - lwc.protect
            - lwc.mod
            - heroes.classes.*
            - bukkit.command.kick
            - bukkit.command.teleport
            - bukkit.command.gamemode
            - bukkit.command.time
            - essentials.afk
            - essentials.ban
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpdeny
            - essentials.kick
            - essentials.msg
            - essentials.motd
            - essentials.help.spawncontrol
            - essentials.help.heroes
            - essentials.help.chestshop
            - essentials.help.iconomy
            - heroes.reset
            - essentials.helpop
            - essentials.helpop.receive
            - weathercontrol.*
            - essentials.mail.send
            - essentials.mail
            - essentials.back.ondeath
            - essentials.back
            inheritance:
            - moderator
            options:
                rank: '0'
        owner:
            prefix: '&9[&aOwner&9]&b '
            permissions:
            - -modifyworld.mobtarget.*
            - '*'
            - superpermbridge.*
            - SpawnControl.*
            - ChestShop.*
            - permissions.*
            - essentials.*
            - weathercontrol.*
            options:
                rank: '0'
        memberelite:
            prefix: '&9[&7Elite&9-&3Member&9]&b '
            permissions:
            inheritance:
            - member
            options:
                rank: '910'
        memberpro:
            prefix: '&9[&ePro&9-&3Member&9]&b '
            permissions:
            inheritance:
            - member
            options:
                rank: '920'
        memberrecruit:
            prefix: '&9[&3Member&9-&2Recruit&9]&b '
            permissions:
            inheritance:
            - member
            options:
                rank: '930'
    users:
        CraftyMcloving:
            group:
            - owner
    That's what i use and it works good with v1.15 but 1.16 messes it up!
     
  10. Offline

    c4ss

    Can somebody pls help me setting up some basics permissions? Ive postet here some weeks ago, havent made any progress so far. Im kinda lost, and to be honest, frustrated. Dunno how much time ive spent trying to fix it.

    What i want: A default group, thats able to use minecarts, boats, doors, pressureplates, levers and buttons. No chests, no building/destroying, etc.

    Im not posting my config, cause nothing i ever do seems to do any good. Ive changed almost everything, no change.
    I would really appreciate any help! Thanks in advance.
    So, ive anybody got that setup running, could he please post/pm me? :) Or some hints would be welcome too! Ie: What nodes to use a minecart? (pickup, place, ride, destroy)

    (Edit: Ive read the modifyworlddoc. Didnt help me at all. Ive used every node thats described there (except *, thats not what i want) - No use.
     
  11. Offline

    codename_B

  12. Offline

    CraftyMclovin

  13. Offline

    baffu

    hmm, so I have the sign plugin give the user the permission nodes...
    Does anyone know how to
    A) make a custom command that executes anything you want
    B) what sign plugin works with pex one said it didnt
    C) what is the pex permission node so i can give a user the ability to add those nodes themselves
    D) is there any plugin that lets you have an item cost per command I cant find one :(
     
  14. Offline

    Valtos

    Hi

    2 Questions.

    1. What means:
    2. How can i deny permissions for worldedit by default?

    Thanks
     
  15. Offline

    Evenprime

    The site says: "All four plugins passed the correctness test in their given version (as far as tests are implemented in this plugin)."

    I won't write testcases for functionality that is included with some of the permissions plugins (e.g. command execution prevention, buildrights, ...) and I won't test how these plugins treat permissions that are not "SuperPerms". I only test if "player.hasPermission(...)" delivers the expected results. So maybe your problems falls in one of those categories.

    On a related note, I've found one testcase today where PermissionsEx 1.16 indeed does deliver wrong/unexpected results in combination with the ".*" node. I'm currently updating the test plugin and the website to reflect that.
     
  16. Offline

    ALufkin24

    I need help please! I have used the yml coder to see if my perms.yml is correct and it is. I don't understand why Guest are able to still use all the commands like /ban. Is there any way I can fix this?

    Perms.yml:
    Code:
    groups:
        Guest:
            default: true
            options:
                rank: '1000'
            permissions:
            - modifyworld.chat
            - ChestShop.shop.*
            - essentials.spawn
            - essentials.rules
            - essentials.motd
            - essentials.list
            - essentials.helpop
            - essentials.help
            - modifyworld.*
        Builder:
            prefix: '&0(&8M&7ember&0)&7 '
            permissions:
            - modifyworld.*
            - essentials.afk
            - essentials.back
            - essentials.back.ondeath
            - essentials.balance
            - essentials.balance.others
            - essentials.balancetop
            - essentials.chat.color
            - essentials.chat.shout
            - essentials.chat.question
            - essentials.compass
            - essentials.depth
            - essentials.home
            - essentials.ignore
            - essentials.kit
            - essentials.kit.tools
            - essentials.mail
            - essentials.mail.send
            - essentials.me
            - essentials.msg
            - essentials.nick
            - essentials.pay
            - essentials.ping
            - essentials.powertool
            - essentials.protect
            - essentials.sethome
            - essentials.signs.use.*
            - essentials.signs.create.disposal
            - essentials.signs.create.mail
            - essentials.signs.create.protection
            - essentials.signs.create.trade
            - essentials.signs.break.disposal
            - essentials.signs.break.mail
            - essentials.signs.break.protection
            - essentials.signs.break.trade
            - essentials.suicide
            - essentials.time
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpahere
            - essentials.tpdeny
            - essentials.warp
            - essentials.warp.list
            - essentials.worth
            - iConomy.access
            - iConomy.payment
            - jobs.join.*
            - jobs.admin.info
            - lwc.create
            - lwc.create.?
            - lwc.info
            - lwc.remove
            - lwc.unlock
            - lwc.modify
            - lwc.flay
            - factions.participate
            - factions.viewAnyPower
            - factions.peacefulexplosionToggle
            - factions.create
            - SignShop.signs
            - lagmeter.*
            - ChestShop.shop.create
            - ChestShop.shop.buy
            - ChestShop.shop.sell
            inheritance:
            - Guest
            options:
                rank: '900'
        AdvBuilder:
            prefix: '&4(AdvBuild)&2 '
            permissions:
            - modifyworld.*
            - iConomy.access
            - iConomy.payment
            inheritance:
            - builder
            options:
                rank: '850'
        VET:
            prefix: '&0(&eVIP&0)&7 '
            permissions:
            - -modifyworld.mobtarget.monster.creeper
            - modifyworld.*
            - lwc.create
            - lwc.create.?
            - lwc.info
            - lwc.remove
            - lwc.unlock
            - lwc.modify
            - lwc.flay
            - iConomy.access
            - iConomy.payment
            - ChestShop.shop.create
            - ChestShop.shop.buy
            - ChestShop.shop.sell
            - worldedit.*
            inheritance:
            - AdvBuilder
            options:
                rank: '800'
        Moderator:
            prefix: '&0(&1Moderator&0)&7 '
            permissions:
            - -modifyworld.mobtarget.*
            - modifyworld.*
            - essentials.ban
            - essentials.ban.notify
            - essentials.banip
            - essentials.broadcast
            - essentials.clearinventory
            - essentials.delwarp
            - essentials.eco.loan
            - essentials.ext
            - essentials.getpos
            - essentials.helpop.recieve
            - essentials.home.others
            - essentials.invsee
            - essentials.jails
            - essentials.jump
            - essentials.kick
            - essentials.kick.notify
            - essentials.kill
            - essentials.mute
            - essentials.nick.others
            - essentials.realname
            - essentials.setwarp
            - essentials.signs.create.*
            - essentials.signs.break.*
            - essentials.spawner
            - essentials.thunder
            - essentials.time
            - essentials.time.set
            - essentials.protect.alerts
            - essentials.protect.admin
            - essentials.protect.ownerinfo
            - essentials.ptime
            - essentials.ptime.others
            - essentials.togglejail
            - essentials.top
            - essentials.tp
            - essentials.tphere
            - essentials.tppos
            - essentials.tptoggle
            - essentials.unban
            - essentials.unbanip
            - essentials.weather
            - essentials.whois
            - essentials.world
            - permissions.user.promote.default
            - permissions.user.demote.default
            - permissions.manage.membership
            - factions.adminByPass
            - factions.manageSafeZone
            - factions.manageWarZone
            - factions.adminBypass
            - factions.setPeaceful
            - factions.setPermanent
            - factions.reload
            - factions.Saveall
            - factions.lock
            - factions.disband
            - vanish.*
            - goinground.scan
            - ChestShop.admin
            - ChestShop.mod
            - lwc.mod
            - worldguard.*
            - worldborder.*
            inheritance:
            - VET
            options:
                rank: '100'
        Admins:
            prefix: '&0(&4Admins&0)&7 '
            permissions:
            - -modifyworld.mobtarget.*
            - -essentials.backup
            - -essentials.essentials
            - -essentials.setspawn
            - -essentials.reloadall
            - essentials.*
            - bb.*
            - '*'
            options:
                rank: '0'
    users:
        Snackky75:
            group:
            - VET
        ALufkin24:
            group:
            - Guest
        Bonanna :
            group:
            - Builder
        Meiyna:
            group:
            - VET
        12345iain:
            group:
            - Builder
        cancel626:
            group:
            - Builder
        Althis:
            group:
            - Builder
    
    Config.yml
    Code:
    permissions:
        backends:
            file:
                file: permissions.yml
        backend: file
        superperms:
            disable-unmatched: false
            enable: true
            debug: false
        createUserRecords: true
        allowOps: false
        debug: false
        basedir: plugins\PermissionsEx
    
     
  17. Offline

    TBC_x

    Remove
    Code:
    groups:
        Guest:
            default: true
            options:
                rank: '1000'
            permissions:
            - modifyworld.chat
            - ChestShop.shop.*
            - essentials.spawn
            - essentials.rules
            - essentials.motd
            - essentials.list
            - essentials.helpop
            - essentials.help
            - modifyworld.*   <--- this
    
    btw, if you're trying to execute /ban as guest and you are oped, PEX permissions are overriden.
     
    ALufkin24 likes this.
  18. Offline

    w7gamer

    Ok, scratching my head here. Can't get ModifyWorld to do anything useful. It seems it's either all off or all on.
    If I have perm modifyworld.* I can do stuff, but that's the same as not running it at all. Adding ALL permissions individually should be the same, but then I can't do ANYTHING instead... and negating nodes (to prevent TNT) is ignored and does nothing).
    I would love for someone experienced to contact me privately and maybe look at my perms and configs to see what I'm doing wrong.
     
  19. Offline

    ALufkin24


    THANK YOU!! It worked! I give you never-ending diamonds, my friend!
     
  20. Offline

    jespertheend

    hey,

    the development version is really laggy(slow) so I took the stable version. Maybe I did something wrong, I don't know. Just wanted to say that....
     
  21. Offline

    Rsccman

    thats ment to look at not as a plugin lol delete it
     
  22. Offline

    TBC_x

    Instead of making some superperms-compatible permissions plugins, a tweak should be done at the bukkit side. That's the main problem.

    first permissions applies first... that means, you should have -modifyworld.blocks.place.TNT before modifyworld.*

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

    Tompotato

    Hi whenever i make my self a rank or someone they cant talk help please ?
     
  24. Offline

    Aut0tr0ph

  25. Offline

    t3hk0d3

    And what exactly doesn't work?

    Just wanna put some comments:

    This is special behavior made by this https://github.com/t3hk0d3/Permissi...ehkode/permissions/PermissionEntity.java#L576

    Commenting this code make Test 12 pass.

    I think this test is quite invalid. Using node.* mean you want all subnodes.
    Unlike other Permissions managers PEX also utilize wildcards too (as well as regexps).

    Test result with caching and commented behavior code (open)
    Code:
    >superpermstest t3hk0d3
    14:54:55 [INFO] Using default sample size of 10000
    14:54:55 [INFO] test01: layer11(F): 634 ns layer21(F): 629 ns layer31(F): 688 ns layer41(F): 608 ns
    14:54:55 [INFO] test02: layer12(T): 654 ns layer22(T): 827 ns layer32(T): 657 ns layer42(T): 641 ns
    14:54:55 [INFO] test03: layer13(T): 669 ns layer23(T): 620 ns layer33(T): 613 ns layer43(T): 620 ns
    14:54:55 [INFO] test04: layer14(F): 644 ns layer24(T): 631 ns layer34(T): 616 ns layer44(T): 625 ns
    14:54:55 [INFO] test05: layer15(F): 626 ns layer25(F): 634 ns layer35(T): 604 ns layer45(T): 630 ns
    14:54:55 [INFO] test06: layer16(F): 823 ns layer26(F): 647 ns layer36(F): 610 ns layer46(T): 618 ns
    14:54:55 [INFO] test07: layer17(T): 625 ns layer27(F): 623 ns layer37(F): 620 ns layer47(F): 623 ns
    14:54:55 [INFO] test08: layer18(T): 661 ns layer28(F): 625 ns layer38(T): 621 ns layer48(T): 645 ns
    14:54:55 [INFO] test09: single1(T): 621 ns single2(F): 748 ns
    14:54:55 [INFO] test10: str1(T): 595 ns str1.c1(T): 796 ns str1.c2(F): 607 ns
    14:54:55 [INFO] Failed test11: str2.c2 should be false but was true! Please review your permissions setup.
    14:54:55 [INFO] test12: str3.*(T): 675 ns str3(F): 638 ns c1.str3(F): 640 ns
    14:54:55 [INFO] Skipping random test because of failed correctness test(s).
    
    Time results are relative. This mean they can differ on different hardware.


    Anyway thank you for good perfomace test. I've implemented additional caching, which improved timings slightly.

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

    gobler21

    Hey having a slight problem getting my admins on chat manager to have use the limited range. All my other groups work.
    ChatManager config:
    chat-range: 50.0
    display-name-format: '%prefix%suffix%player'
    global-message-format: <%prefix%suffix%player&f> &e%message
    enable: true
    message-format: <%prefix%suffix%player&f> %message
    ranged-mode: true

    Permissions file:
    Code:
    groups:
        King:
            prefix: '&5[King]'
            default: false
            permissions:
            - '*'
            - ArchMage
        Peasant:
            prefix: '[Peasant]'
            default: true
            permissions:
            - SuperSigns.UseAll
            - chatmanager.chat.global
            - xlevel.player.*
            - modifyworld.*
            - iConomy.payment
            - iConomy.rank
            - iConomy.list
            - iConomy.access
            - iConomy.bank.access
            - iConomy.bank.main
            - lwc.protect.*
            - realshop.shop
            - realshop.create
            - realshop.delete
            - realshop.price.*
            - realshop.help
            - realshop.info
            - realshop.give
            - realshop.open
            - realshop.close
            - realshop.buy
            - realshop.sell
            - realshop.xbuy
            - realshop.xsell
            - realshop.marketitemsonly
            - realshop.damageditems
            - admincmd.motd
            - admincmd.news
            - admincmd.player.list
            - admincmd.player.loc
            - admincmd.player.kill
            - admincmd.player.clear
            - admincmd.player.message
            - admincmd.player.afk
            - admincmd.player.roll
            - towny.town.claim
            - towny.town.resident
            - towny.town.plot
            - towny.top
            - towny.wild.*
            - towny.spawntp
            - towny.publicspawntp
            - towny.town.resident
            - lwc.remove
            - lwc.unlock
            - lwc.modify
            - lwc.flagredstone
        Duke:
            prefix: '&3[Duke]'
            default: false
            permissions:
            - craftbook.mech.*
            - admincmd.player.clear
            - admincmd.player.np
            inheritance:
            - Soldier
        ArchMage:
            prefix: '&6[ArchMage]'
            default: false
            permissions:
            - '*'
            inheritance:
            - Baron
        Baron:
            prefix: '&6[Baron]'
            default: false
            permissions:
            - '*'
            inheritance:
            - Vangaurd
        Knight:
            prefix: '&2[Knight]'
            default: false
            permissions:
            - admincmd.player.clear.*
            - admincmd.player.freeze
            - admincmd.player.ban
            - admincmd.player.mute
            - admincmd.player.kick
            inheritance:
            - Duke
        Soldier:
            prefix: '[Soldier]'
            default: false
            permissions:
            - craftbook.mech.*
            inheritance:
            - Peasant
        Vanguard:
            prefix: '&1[Vanguard]'
            default: false
            permissions:
            - '*'
            - -admincmd.player.invisable
            - -admincmd.player.fireball
            - -admincmd.player.vulcan
            - -admincmd.player.fly
            inheritance:
            - Knight
    I stopped at users as I don't think that will be needed.
     
  27. Hello, I'm having some trouble with the -bukkit.command.gamemode for my admin group, iv'e put the node in the permissions.yml and they can still change there game mode D;, may some please help me out with this, the command iv'e put in game is
    /pex group Admin add -bukkit.command.gamemode
    and wont work, they can still change there gamemode D;
    the permissions they have are:
    - -essentials.give
    - -essentials.item
    - -essentials.powertool
    - -essentials.kill
    - '*'and then i add
    - -bukkit.command.gamemode
    D;;
    HELP PLEASE!
     
  28. Offline

    Elfsovereign

    Hey I'm trying to get my prefixes just right through PEX. I've got my colors in line, but I'm still having issues with the <>'s showing up. Here's my config file, where have I gone wrong. Also can someone look over my ModifyWorld nodes? I just want to be sure default cannot destroy or place blocks, but Citizen can.

    Code:
    users:
        elfsovereign:
            group:
            - Owner
            permissions: null
        Meike13:
            group:
            - Owner
            permissions: null
        deathphantom95:
            group:
            - Owner
            permissions: null
        lego1251:
            group:
            - Owner
            permissions: null
        minermandavid:
            group:
            - Admins
            permissions: null
        cole823:
            group:
            - Moderator
            permissions:
            - worldedit.*
        leysdaea:
            group:
            - Trusted
            permissions: null
        kingzax:
            group:
            - Citizen
            permissions: null
        augusinherba:
            group:
            - Trusted
            permissions: null
        playerslayerx:
            group:
            - Trusted
            permissions: null
        oreranger:
            group:
            - Trusted
            permissions: null
    groups:
        Prisoner:
            inheritance: null
            permissions:
            - modifyworld.chat
            - -'*'
            - modifyworld.digestion
            prefix: '&0 &0[Prisoner]&0 &6'
        default:
            default: true
            permissions:
            - modifyworld.items.*
            - modifyworld.damage.*
            - modifyworld.blocks.interact.*
            - modifyworld.sneak
            - modifyworld.sprint
            - modifyworld.digestion
            - modifyworld.chat
            - -modifyworld.blocks.destroy.*
            - -modifyworld.blocks.place.*
            - jchat.prefix.default
            - mchat.prefix.default
            - wormhole.use.sign
            - wormhole.use.dialer
            - wormhole.network.use.Public
            - wormhole.network.use.Museum
            - wormhole.*
            - falsebook.blocks.*
            - falsebook.cart.*
            - falsebook.anyic
            - falsebook.destroy.blocks
            - commandblocks.use
            - commandbook.rules
            - mobarena.arenas.default
            - mobarena.classes.Archer
            - mobarena.classes.Knight
            - mobarena.classes.Tank
            - mobarena.classes.Cleric
            - mobarena.classes.Tamer
            - mobarena.classes.Paladin
            - mobarena.use.join
            - mobarena.use.leave
            - mobarena.use.spectate
            - creativegates.use
            prefix: '&0 &7[Visitor]&7 &7'
        Citizen:
            inheritance:
            - default
            permissions:
            - modifyworld.digestion
            - modifyworld.*
            - modifyworld.blocks.destroy.*
            - modifyworld.blocks.place.*
            - jchat.prefix.Citizen
            - mchat.prefix.Citizen
            - permissions.build
            - commandbook.give
            - commandbook.give.other
            - commandbook.give.infinite
            - commandbook.give.stacks
            - commandbook.give.stacks.unlimited
            - commandbook.more
            - commandbook.more.infinite
            - commandbook.kit.list
            - commandbook.kit.kits.*
            - commandbook.biome
            - commandbook.biome.other
            - commandbook.home.set
            - commandbook.home.teleport
            - commandbook.clear
            - lockette.user.create.*
            - supplysign.access
            - supplysign.access.*
            - warpz0r.home
            - warpz0r.sethome
            - warpz0r.bedhome
            - movecraft.aircraft.*
            - movecraft.boat.info
            - movecraft.boat.sail
            - movecraft.car.*
            - SpawnX.spawn
            prefix: '&0 &3[Citizen]&3 &7'
        Trusted:
            inheritance:
            - Citizen
            permissions:
            - modifyworld.digestion
            - modifyworld.*
            - jchat.prefix.Trusted
            - mchat.prefix.Trusted
            - commandbook.who
            - commandbook.weather
            - commandbook.teleport
            - commandbook.teleport.other
            - commandbook.return
            - commandbook.warp.teleport
            - commandbook.warp.teleport.other
            - commandbook.warp.set
            - commandbook.msg
            - commandbook.rocket
            - commandbook.rocket.other
            - permissions.*
            - supplysign.destroy
            - supplysign.create
            - commandbook.time
            - commandbook.time.lock
            - warpz0r.warp
            - warpz0r.worldwarp
            - warpz0r.free.warp
            prefix: '&0 &e[Trusted]&e &7'
        Moderator:
            inheritance:
            - Trusted
            permissions:
            - modifyworld.digestion
            - modifyworld.*
            - worldedit.superpickaxe
            - jchat.prefix.Moderator
            - mchat.prefix.Moderator
            - worldedit.selection
            - commandblocks.set
            - commandbook.mute
            - commandbook.thor
            - commandbook.thor.other
            - commandbook.kick
            - commandbook.bans.ban
            - lockette.admin.create.*
            - lockette.admin.break
            - worldguard.region.define.*
            - worldguard.region.redefine.*
            - worldguard.region.select.*
            - worldguard.region.info.*
            - worldguard.region.addowner.*
            - worldguard.region.removeowner.*
            - worldguard.region.addmember.*
            - worldguard.region.removemember.*
            - worldguard.region.list
            - worldguard.region.flag.regions.*
            - worldguard.region.flag.flags.*
            - worldguard.region.setpriority.*
            - worldguard.region.setparent.*
            - worldguard.region.remove.*
            - worldguard.report
            - worldguard.reload
            - worldguard.report.pastebin
            - worldguard.*
            - warpz0r.warp
            - warpz0r.set
            - warpz0r.set.cost
            - warpz0r.remove
            - warpz0r.list
            - warpz0r.warpto
            - warpz0r.worldwarp
            - warpz0r.worldhome
            - warpz0r.compasshomewarpz0r.home
            - warpz0r.sethome
            - warpz0r.bedhome
            - warpz0r.compasswarp
            - warpz0r.compassreset
            - warpz0r.free.warp
            - warpz0r.free.setwarp
            - warpz0r.free.removewarp
            - warpz0r.free.home
            - warpz0r.free.sethome
            - warpz0r.free.bedhome
            - warpz0r.admin.clearhome
            - warpz0r.admin.home
            - warpz0r.admin.sethome
            - supplysign.*
            - commandbook.spawnmob
            - commandbook.spawnmob.many
            - commandbook.*
            - commandbook.god
            prefix: '&0 &b[Moderator]&b &7'
        Admins:
            inheritance:
            - Moderator
            permissions:
            - modifyworld.digestion
            - modifyworld.*
            - jchat.prefix.Admins
            - mchat.prefix.Admins
            - lockette.admin.bypass
            - mobarena.admin.*
            - mobarena.setup.*
            - SpawnX.*
            - creativegates.*
            - worldguard.region.claim
            - worldguard.region.redefine.member.*
            - worldguard.region.redefine.own.*
            prefix: '&0 &a[Admin]&a &6'
        Owner:
            inheritance:
            - Admins
            permissions:
            - modifyworld.*
            - modifyworld.digestion
            - jchat.prefix.Owner
            - mchat.prefix.Owner
            - '*'
            prefix: '&0 &4[Owner]&4 &7'
    worlds:
        nether:
            inheritance:
            - world
    
     
  29. Offline

    c4ss

    Thats basically the same problem that im having. And i know, that other users have been complaining as well. Could we please get some help on that topic?
    Atm, it looks like modifyworld is useless.
     
  30. Offline

    MrMag518

    Why does the players with '*' get the OP permissions? it's really annoying..
    example: If im an Admin (with the '*' permission) I would be able to op myself, stop the server etc..
     
    rexs123 likes this.
  31. Offline

    zddv

    Multiverse 2 was working fine with this plugin last time.. But now, something went wrong when i updated. I cant tp people to other worlds/warp/portals using VoxelPort. Gave everyone the permissions node but still no luck. Any help?
     

Share This Page