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

    zaklampje

    yw
     
  3. Offline

    Stormbow

    That should look more like this:
    Code:
    groups:
        GroupNameHere:
            default: true
            prefix: '[GroupNameHere]'
            suffix: ''
            worlds:
                Worldname:
                    permissions:
                    - -lwc.protect
                Worldname_nether:
                    permissions:
                    - -lwc.protect
    
    Note: Suffix: is 2 x ' (apostrophe), not 1 x " (quotation mark).
     
  4. Offline

    Sweetmezable

    2012-01-01 21:08:43 [INFO] Essentials: Using PermissionsEx based permissions.
    2012-01-01 21:08:43 [SEVERE] Could not pass event PLUGIN_ENABLE to Essentials
    java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:152)
    at com.earth2me.essentials.perm.PermissionsExHandler.<init>(PermissionsExHandler.java:17)
    at com.earth2me.essentials.perm.PermissionsHandler.checkPermissions(PermissionsHandler.java:109)
    at com.earth2me.essentials.EssentialsPluginListener.onPluginEnable(EssentialsPluginListener.java:23)
    at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:590)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:975)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2012-01-01 21:08:43 [WARNING] Server permissions file permissions.yml is not valid YAML: while scanning for the next token
    found character '\t' that cannot start any token
    in "<reader>", line 3, column 1:
    group: Admins
    ^
    2012-01-01 21:08:43 [INFO] Done (0.495s)! For help, type "help" or "?"
    Anyone help me?
     
  5. Offline

    zaklampje

    Already solved.


    Post your files.

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

    Sweetmezable

    users:
    Sweetmezable:
    group: Admins
    permissions:
    - permissions.*
    worlds:
    world:
    permissions:
    - essentials.help
    - essentials.balance
    - essentials.motd
    - essentials.mail
    - essentials.msg
    - essentials.rules
    - essentials.sell
    - essentials.pay
    - essentials.worth
    - essentials.mail.send
    - essentials.balance
    group:
    - Player
    prefix: ''
    AlmightyCraft:
    permissions:
    - essentials.help
    - essentials.balance
    - essentials.motd
    - essentials.mail
    - essentials.msg
    - essentials.rules
    - essentials.sell
    - essentials.pay
    - essentials.worth
    - essentials.mail.send
    - essentials.balance
    group:
    - devil
    prefix: ''
    groups:
    Player:
    default: true
    permissions:
    - essentials.help
    - essentials.balance
    - essentials.motd
    - essentials.mail
    - essentials.msg
    - essentials.rules
    - essentials.sell
    - essentials.pay
    - essentials.worth
    - essentials.mail.send
    - essentials.balance
    - essentials.spawn
    - essentials.compass
    - essentials.home
    - essentials.sethome
    - essentials.clearinventory
    - modifyworld.*
    Admins:
    inheritance:
    - Player
    permissions:
    - '*'
    options:
    test.test: '100500'
    worlds:
    AlmightyCraft:
    permissions:
    - nocheat.fly
    prefix: '&2[Admin]'
    Moderator:
    inheritance:
    - Player
    permissions
    - essentials.afk
    - essentials.ban
    - essentials.kick
    - essentials.mute
    - essentials.socialspy
    - essentials.tempban
    - essentials.unban
    - essentials.unbanip
    - essentials.back
    - essentials.tpa
    - essentials.tpahere
    - essentials.setjail
    options:
    test.test: '9000'
    worlds:
    AlmightyCraft:
    permissions:
    - nocheat.fly
    prefix: '&3[Moderator]'
    Owners:
    inheritance:
    - Admins
    permissions:
    - '*'
    options:
    test.test: '100500'
    worlds:
    AlmightyCraft:
    permissions:
    - nocheat.fly
    prefix: '&1[Owner]'
    worlds:
    AlmightyCraft:
    inheritance:
    - world

    Thats my permissions.yml above.
    -------------------------------------------------------------------------------------------------------
    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\PermissionsExpermissions:
    backends:
    file:
    file: permissions.yml
    backend: file
    superperms:
    parent-nodes: true
    enable: true
    strict-mode: false
    createUserRecords: false
    allowOps: false
    debug: false
    basedir: plugins\PermissionsEx4e
    Thats my config.yml above...

    <Edit by Moderator: Redacted mediafire url> - permissions.yml (with spaces)
    <Edit by Moderator: Redacted mediafire url> - config.yml

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

    tdog158

    Is there any particular reason why my prefixes/admin permissions don't work? I have grundleswab set to admin and only his inherited permissions work, I have all the commands as expected, and also no prefixes work.
    Code:
    users:
        tdog158:
            group:
            - Host
        grundleswab:
            group:
            - Admin
        Rebel0:
            group:
            - Moderator
        jedeyemindtricks:
            group:
            - Moderator
        RawrPanda:
            group:
            - Member
        jerryberry123:
            group:
            - Member
    groups:
        default:
            prefix: '[Newbie]'
            default: true
            options:
                rank: '1000'
            permissions:
            - modifyworld.*
            - commandbook.who
            - commandbook.motd
            - commandbook.rules
            - commandbook.time.check
            - commandbook.spawn
            - commandbook.me
            - commandbook.msg
            - commandbook.mute
            - commandbook.away
            - commandbook.bans.isbanned
        Member:
            prefix: '&3[Member]&f'
            inheritance:
            - default
            options:
                rank: '800'
            permissions:
            - commandbook.return
            - commandbook.call
            - commandbook.home.teleport
            - commandbook.home.set
            - commandbook.warp.teleport
            - commandbook.warp.list
            - commandbook.whereami
            - lockette.user.create.*
        Moderator:
            prefix: '&2[MOD]&f'
            inheritance:
            - Member
            options:
                rank: '500'
            permissions:
            - commandbook.time.*
            - commandbook.weather.*
            - commandbook.teleport
            - commandbook.location.coords
            - commandbook.home.other
            - commandbook.warp.set
            - commandbook.warp.remove
            - commandbook.broadcast
            - commandbook.kick
            - commandbook.bans.ban
            - lockette.admin.create.*
            - lockete.admin.bypass
            - worldedit.selection.*
            - worldedit.extinguish
            - worldedit.green
            - worldguard.region.*
        Admin:
            prefix: '&5[ADMIN]'
            inheritance:
            - Moderator
            options:
                rank: '100'
            permissions:
            - commandsbook.give.*
            - commandbook.spawnmob
            - commandbook.teleport.*
            - commandbook.home.teleport.other
            - commandbook.home.set.other
            - commandbook.warp.teleport.other
            - commandbook.slap.*
            - commandbook.clear.*
            - commandbook.rocket.*
            - commandbook.shock.*
            - commandbook.barrage.*
            - commandbook.gamemode.*
            - commandbook.whois.*
            - commandbook.debug.*
            - commandbook.bans.unban
            - lockette.*
            - worldedit.region.*
        Host:
            prefix: '&4[HOST]&1'
            options:
                rank: '0'
            permissions:
            - '*'
    worlds:
        nether:
            inheritance:
            - world
    
     
  8. Offline

    tysonzero

    is there a way to make it so that a group doens't inherit certain permissions from the previous group. because my guests has
    - -modifyworld.blocks.place.tnt (i think i did something wrong because there are no error codes but guests can still place TNT)
    but i want group member that's inheritance is guest to be able to use TNT any idea how i do this?

    oh and also can someone link me to the list of permissions nodes for the operator commands like /give and /ban and /time set. and one last issue is that even if i have permissions: '*' i can use all the commands but i still cant edit within the 20 something block radius of spawn that only op's can build in... is there anyway to allow me to edit that area in permissions.yml without opping me. and i dont know why modifyworld will still let me use TNT when my rank is guest, guest rank shouldn't be able to use TNT and enable: true and itemrestrictions:true

    how are my perms settups? and i have only 3 plugins, PEX chatmanager and modifyworld, pex and chatmanager are working perfectly fine

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

    iamx666

    Hey for some reason my Permissions isn't working. I tried a lot, copied a tutorial demo and edited it to my liking, made my own and they both won't work.

    permissions.yml:
    Code:
    groups:
        Default:
            default: true
            prefix: '&6[&7Default&6] &f'
            suffix: '&f'
            permissions:
            - -modifyworld.*
            worlds:
                world:
                    permissions:
        Citizen:
            default: false
            prefix: '&9[&8Citizen&9] &8'
            suffix: '&f'
            permissions:
            worlds:
                world:
                    permissions:
        Writer:
            default: false
            prefix: '&c[&dWriter&c] &d'
            suffix: '&f'
            permissions:
            worlds:
                world:
                    permissions:
        Builder:
            default: false
            prefix: '&b[&6Builder&b] &b'
            suffix: '&f'
            permissions:
            worlds:
                world:
                    permissions:
        Moderator:
            default: false
            prefix: '&2[&aModerator&2] &a'
            suffix: '&f'
            permissions:
            worlds:
                world:
                    permissions:
        Admin:
            default: false
            prefix: '&6[&bAdmin&6] &6'
            suffix: '&f'
            permissions:
            - '*'
            worlds:
                world:
                    permissions:
        Co-Owner:
            default: false
            prefix: '&0[&4Co-Owner&0] &4'
            suffix: '&f'
            permissions:
            - 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
            - '*'
            worlds:
                world:
                    permissions:
        Owner:
            default: false
            prefix: '&1[&bOwner&1] &7'
            suffix: '&f'
            permissions:
            - 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
            - '*'
    users:
        xitaxchix:
            group:
            - Owner
        iamx666:
            group:
            - Co-Owner
        twocut:
            group:
            - Default
        MasterSleif:
            group:
            - Moderator
        UnforsakenXII:
            group:
            - Builder
    The Error Log:
    Code:
    2012-01-02 18:34:30 [INFO] [PermissionsEx] v1.17 disabled successfully.
    
    2012-01-02 18:34:30 [INFO] [PermissionsEx] sql backend registered!
    
    2012-01-02 18:34:30 [INFO] [PermissionsEx] file backend registered!
    
    2012-01-02 18:34:30 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    
    2012-01-02 18:34:30 [INFO] [PermissionsEx] p2compat backend registered!
    
    2012-01-02 18:34:30 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
    
    2012-01-02 18:34:30 [INFO] [PermissionsEx] Initializing file backend
    
    2012-01-02 18:34:30 [SEVERE] while scanning an anchor; expected alphabetic or numeric character, but found '(39) initializing PermissionsEx v1.17 (Is it up to date?)
    
    while scanning an anchor
    
     in "<reader>", line 5, column 18:
    
    suffix: '&f'
    
     
    
    expected alphabetic or numeric character, but found '(39)
    
     in "<reader>", line 5, column 20:
    
    suffix: '&f'
    
    
    
    
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.scanAnchor(ScannerImpl.java:1169)
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchAnchor(ScannerImpl.java:782)
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:315)
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
    
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563)
    
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
    
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
    
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
    
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
    
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
    
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
    
        at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
    
        at ru.tehkode.permissions.config.Configuration.load(Configuration.java:65)
    
        at ru.tehkode.permissions.backends.FileBackend.initialize(FileBackend.java:104)
    
        at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager.java:420)
    
        at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManager.java:471)
    
        at ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.java:53)
    
        at ru.tehkode.permissions.bukkit.PermissionsEx.onLoad(PermissionsEx.java:74)
    
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:144)
    
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:420)
    
        at org.bukkit.Bukkit.reload(Bukkit.java:186)
    
        at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:364)
    
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:360)
    
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:553)
    
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:530)
    
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    
    2012-01-02 18:34:30 [WARNING] [PermissionsCompat] PermissionsEx plugin not found. Some plugins may not work.
    
    2012-01-02 18:34:30 [INFO] [PermissionsEx] Superperms support enabled.
    
    2012-01-02 18:34:30 [WARNING] [PermissionsEx] Failed to inject own Permissible
    
    2012-01-02 18:34:30 [SEVERE] java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    
    2012-01-02 18:34:30 [SEVERE]     at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:152)
    
    2012-01-02 18:34:30 [SEVERE]     at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.inject(PermissiblePEX.java:71)
    
    2012-01-02 18:34:30 [SEVERE]     at ru.tehkode.permissions.bukkit.BukkitPermissions.updatePermissions(BukkitPermissions.java:125)
    
    2012-01-02 18:34:30 [SEVERE]     at ru.tehkode.permissions.bukkit.BukkitPermissions.updateAllPlayers(BukkitPermissions.java:132)
    
    2012-01-02 18:34:30 [SEVERE]     at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.java:102)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:176)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:159)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:422)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.Bukkit.reload(Bukkit.java:186)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:364)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:360)
    
    2012-01-02 18:34:30 [SEVERE]     at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:553)
    
    2012-01-02 18:34:30 [SEVERE]     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:530)
    
    2012-01-02 18:34:30 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    
    2012-01-02 18:34:30 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    
    2012-01-02 18:34:30 [WARNING] [PermissionsEx] Failed to inject own Permissible
    
    2012-01-02 18:34:30 [SEVERE] java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    
    2012-01-02 18:34:30 [SEVERE]     at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:152)
    
    2012-01-02 18:34:30 [SEVERE]     at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.inject(PermissiblePEX.java:71)
    
    2012-01-02 18:34:30 [SEVERE]     at ru.tehkode.permissions.bukkit.BukkitPermissions.updatePermissions(BukkitPermissions.java:125)
    
    2012-01-02 18:34:30 [SEVERE]     at ru.tehkode.permissions.bukkit.BukkitPermissions.updateAllPlayers(BukkitPermissions.java:132)
    
    2012-01-02 18:34:30 [SEVERE]     at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.java:102)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:176)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:159)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:422)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.Bukkit.reload(Bukkit.java:186)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:364)
    
    2012-01-02 18:34:30 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:360)
    
    2012-01-02 18:34:30 [SEVERE]     at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:553)
    
    2012-01-02 18:34:30 [SEVERE]     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:530)
    
    2012-01-02 18:34:30 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
    
    2012-01-02 18:34:30 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    
    2012-01-02 18:34:30 [INFO] [PermissionsEx] v1.17 enabled
    
    2012-01-02 18:34:30 [SEVERE] [ChatManager] PermissionsEx not found, disabling
    
    2012-01-02 18:34:30 [INFO] [ChatManager] ChatManager disabled!
    
    2012-01-02 18:34:30 [INFO] [PermissionsCompat] Compatibility layer enabled.
    
    2012-01-02 18:34:30 [SEVERE] [Modifyworld] PermissionsEx not found, disabling
    
    2012-01-02 18:34:30 [INFO] [Modifyworld] Modifyworld disabled!
    
    2012-01-02 18:34:30 [INFO] Server permissions file permissions.yml is empty, ignoring it
    
    2012-01-02 18:34:30 [INFO]  [32mReload complete. [0m
    
     
  10. Offline

    monir

    I have same perms for all my worlds if i for example wanna make one world whit it own perms for both groups how do i set it up this is an example.

    Code:
    groups:
        default:
            default: true
            permissions:
            - modifyworld.*
            - lwc.protect
            - commandbook.who
            - commandbook.call
    
        VIP:
            default: false
            permissions:
            - modifyworld.*
            - lwc.protect
            - commandbook.who
            - commandbook.call
    users:
        basi:
            group:
            - default
     
  11. Please use code tags next time, or link to a pastebin or paste dump. A lot of people will not download a file. Those three options I listed will work.:)

    What I quoted is the problem, you have a tab in your permissions.yml file. YAML forbids tabs. Any tab in your file must be replaced with four spaces.

    This appears to be typos for the permission nodes. :)

    Turning on debug and checking a few commands with commandbook, I ran into the following:

    Barrage looks for "commandbook.barrage", you have "commandbook.barrage.*", which are considered two different nodes. Same deal with whois.

    I think also the node should be commandbook.give.*, not commandsbook.give.*

    I didn't check them all, but in my testing with the posted permissions file, that's what it appears to be.

    As for the prefix question, it depends on the chat manager you are using. If it's the one that comes with PEX, make sure that it's enabled in it's config file.

    The bad packet ID error isn't PEX, that's a server error. Have spout installed? if you do, I'd look that direction.

    Hmm, well, your chatmanager config looks to be the default one, so I don't think that's the problem, if it's even happening any more. Right now, I'm at a loss as I wasn't able to reproduce the error you had.:eek:

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Mar 26, 2019
  12. Offline

    tysonzero

    Code:
    groups:
        guest:
            default: true
            permissions:
            - modifyworld.*
            - -modifyworld.blocks.place.46
            - chatmanager.chat.global
            prefix: '[Guest]'
            suffix: ''
            options:
                rank: '10000'
        member:
            inheritance:
            - guest
            permissions:
            - chatmanager.chat.color
            - modifyworld.blocks.place.tnt
            prefix: '[Member]'
            suffix: ''
            options:
                rank: '1000'
        moderator:
            inheritance:
            - member
            prefix: '[Mod]'
            suffix : ''
            options:
                rank: '100'
        admin:
            inheritance:
            - moderator
            prefix: '[Admin]'
            suffix: ''
            options:
                rank: '10'
        owner:
            inheritance:
            - admin
            permissions:
            - '*'
            prefix: '[Owner]'
            suffix: ''
            options:
                rank: '1'
    users:
        tysonzero:
            group:
            - owner
        aangbob:
            group:
            - member
    
    
    
    
    
    
    
    
    informPlayers: false
    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
    use-material-names: false
    check-metadata: false
    item-use-check: false
    drop-restricted-item: false
    
    
    
    
    
    
    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
    
    these are my:
    permissions.yml
    (modifyworld) config.yml
    and config.yml
    respectively

    everything works except i can still place TNT as a guest. and if it did work then it would prohibit members and up from using it. is there a way to prevent certain perms and stuff from being inherited?
     
  13. If you have a guest group that shouldn't be able to use TNT but is, either you have a misconfigured permissions setup or another plugin is overriding modifyworld.

    The spawn protection, you can't override with PEX, that's a low level bukkit thing. You can effectively turn off the spawn protection in the bukkit.yml file, which is the only way I know of to do so.

    Commands like give and ban are part of the craftbukkit command set, which are listed here: http://wiki.bukkit.org/CraftBukkit_commands
     
  14. Perfect, thank you for the very good problem posting. I wish more were like this, with code tags and a complete server log showing the problem!:)

    Now, as for the error. I copied and pasted your permissions in a test server and it loaded them without issue. So either whatever was the problem was removed when the forum posted it, or it may be in your chatmanager config.yml. Have you taken a look at that file?

    I see the problem with the TNT and guests. Your nodes are in the wrong order.:)

    PEX checks permissions from the top of the file to the bottom. Once it finds a match, it stops looking. With your guest group, it's finding the modifyworld.* node first, and allows the tnt placement. Move the -modifyworld.blocks.place.46 to come before the allow node and it will not let them place it. Better yet, IMO, don't even let them have it to begin with by turning on itemRestrictions in the modifyworld config and adding -modifyworld.items.have.46
    to the top of the guest permissions file.

    References:
    https://github.com/t3hk0d3/PermissionsEx/wiki/Plugin-Configuration#wiki-file-backend-configuration
    https://github.com/t3hk0d3/PermissionsEx/wiki/Modifyworld#wiki-Items

    As for the prevention of inheritance, not that I know of. Setting a group level negative version of the inherited node might work.

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

    iamx666

    I'll take a look now, and no problem I try to be neat when posting errors :p. Let me take a look and I will post back after.

    Best Regrets
    ~iamx666


    Edit:

    So I looked at it and this is what it says:
    Code:
    chat-range: 100.0
    display-name-format: '%prefix%player%suffix'
    global-message-format: <%prefix%player%suffix> &e%message
    enable: false
    message-format: <%prefix%player%suffix> %message
    ranged-mode: false
    
    So I'm not 100% sure if this is right but
    Does this mean instead of spaces in the code I should use %s? o-0

    For example:

    prefix: '&e%[%&e%Moderator%&e]%&e'
    Or something? Lul. Sorry I don't full understand this part D:
     
    Justin The Cynical likes this.
  16. Offline

    tysonzero

    could i switch it around so that inheritance is checked AFTER you check the permissions specific to that group? oh and i'm getting this dumb error again and i tried removing plugins and i'm still getting it

    Code:
    2012-01-03 05:27:07 [INFO] tysonzero [/184.166.70.6:51887] logged in with entity id 380 at ([world] 116.94477303073371, 67.0, 291.9117059767607)
    2012-01-03 05:27:08 [SEVERE] java.io.IOException: Bad packet id 230
    2012-01-03 05:27:08 [SEVERE] at net.minecraft.server.Packet.a(Packet.java:71)
    2012-01-03 05:27:08 [SEVERE] at net.minecraft.server.NetworkManager.h(NetworkManager.java:149)
    2012-01-03 05:27:08 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.java:263)
    2012-01-03 05:27:08 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:77)
    2012-01-03 05:27:08 [INFO] tysonzero lost connection: disconnect.genericReason
    and its giving me a recv failed, java socket exception when it diconnects me
     
  17. Offline

    iamx666

    It might be a Plugin Conflict? But we even did it with Vanilla and it still didn't work :(
     
  18. Offline

    desht

    @Justin The Cynical @t3hk0d3
    I've created https://github.com/t3hk0d3/PermissionsEx/issues/179 for this. It does seem like PEX simply isn't paying any attention to superperms parent permission nodes.
     
  19. Offline

    Ichaelus

    Hey Guys..Since last week, I try to create my own Server but there are Errors everywhere!
    First I tried Groupmanager, than Permissions and finally PermissionsEx but nothing is working..so I`d be the happiest guy on earth if you can help me ;)

    When I will start my server there is always this Information :

    [SEVERE] Could not pass event PLUGIN_ENABLE to Essentials
    java.lang.RuntimeException: Permissions manager is not accessable. Is the Permis
    sionsEx plugin enabled?

    Here is my Server Log:
    Or is the error in the permissions.yml file?
    Here also the config.yml file:
    Can anybody find the error?

    THANKS!
     
  20. Offline

    Stormbow

    Please post your file contents inside CODE tags ({ }# button above where you type) so we can see the spacing (which is probably causing the problems).
     
  21. Offline

    Ichaelus

    Okay, I`ve changed it ;)
     
  22. Offline

    MrMag518

    This is probably a bug in PEX, iSafe have a confirmation on that theres nothing wrong with the superperms code. It seems to be a case-sensitivity a lowercase permission, just typing the permission all in lowercase seems to work.
     
  23. Offline

    RabbitLV

    When I start my server I get error like this:
    But when I remove permissions.yml my server runs up just fine. Could someone please fix my problem? I have added my PermissionsEx folder here: <Edit by Moderator: Redacted mediafire url>
    Any help would be appriciated.
     
    Last edited by a moderator: Sep 9, 2018
  24. Offline

    ayeelanaa



    I took a look at your permissions.yml are you using tab instead of the spacebar to make your nodes?
     
    Last edited by a moderator: Sep 9, 2018
  25. Offline

    DrBreadgun

    Can you please fix this permission node? It doesn't seem to work!
    -
    modifyworld.blocks.interact.<blockid>
     
  26. Offline

    RabbitLV

    I am using tabs
     
  27. Offline

    tysonzero

    yeah bad packet id fixed itself luckily :), but if i switched around inheritance and permissions so that permissions come first would things that were originally not allowed become allowed if they are specified since they would be found in the true form before the false form i guess?
     
  28. Offline

    Stormbow

    Code:
    This is inside code tags.
        Notice the spacing stays how I wrote it.
            This is the format required for .yml files to work properly.
    You need to replace <blockid> with a number according to the data values of Minecraft blocks and items.
    For example, to allow interaction with levers:
    Code:
    - modifyworld.blocks.interact.69
    As far as I can tell, "interact" means "do something with by right clicking on it". Interact permissions with building blocks like logs, dirt, grass, stone, etc. are kinda pointless unless you use a plugin that makes normal blocks do things when you right click them. (e.g., blocks to act like doors) So the only data values from the list above you will need to concern yourself with (generally) are only the ones on the right side of the list.

    Tabs are very, very bad. Only use spaces. ;)

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

    o0AzzA0o

  30. Offline

    Stormbow

    I have that plugin working on my server. Can you post a link to your whole permissions.yml? From the bit posted for the vip group, I would venture to guess there's a spacing issue causing problems for you. I'd need to see the rest of the .yml to confirm that theory.
     
  31. Offline

    o0AzzA0o

    http://pastie.org/3121887

    here is config to

    http://pastie.org/3121892

    Well even with typo corrected it still doesnt seem to work... maybe im missing something simple again

    http://pastie.org/3121972

    have also tryed with

    - deathtpplus.tombstone.*
    - deathtpplus.tomb.*

    However * node for ops allows them to have all commands/features.......

    Thanks for your help for some reason its started to work

    - deathtpplus.tombstone.*
    - deathtpplus.tomb.*

    it was after a server crash and not restart that it got fixed i turned on pex debug mode and saw that the permission was being picked up... just strange how it took a few restarts + crash for it to take hold

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

Share This Page