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

    blasterweb

    Can someone help me please? The players can not view commands from other plugins. I am using PermissionsEX and Bukkit 1337. People can type /help, but they can only see the essentials commands, that they can use.

    I have set "show other plugins" to true in my essentials config:
    non-ess-in-help: true

    And here is my permissions.yml:
    Code:
    users:
    
        XXXXXXX:
            group:
            - Owner
            prefix: '&4[Owner]&f'
        XXXXX
            group:
            - Admin
        XXXXXX:
            group:
            - Advertiser
        XXXXX:
            group:
            - Advertiser
        XXXXX:
            group:
            - Moderator
        XXXXX:
            group:
            - Member
       XXXXX:
            group:
            - Promoter
        XXXXX:
            group:
            - Admin
    groups:
        Guest:
            default: true
            permissions:
            - waypoint.spawn
            - -modifyworld.blocks.place.tnt
            - modifyworld.*
            - -NoSpeedKick.log
            - permissions.build
            - essentials.rules
            - essentials.tptoggle
            - essentials.tpaccept
            - essentials.help
            - essentials.tpdeny
            - essentials.ban.notify
            - multiverse.core.list.worlds
            - multiverse.core.list.who
            - essentials.time
            - -worldedit.*
            - -multiverse.*
            - iConomy.holdings
            - iConomy.help
            - iConomy.payment
            - essentials.balance
            - essentials.balancetop
            prefix: '&e[Guest]&f'
            worlds:
                Survival:
                    permissions:
                    - essentials.tpa
                    - essentials.tpahere
                    - worldmodes.mode.survival
                    - worldmodes.autoset.survival
                    - -worldmodes.*
                    - ChestShop.shop.buy
                    - ChestShop.shop.sell
                Survival_nether:
                    permissions:
                    - essentials.tpa
                    - essentials.tpahere
                    - worldmodes.mode.survival
                    - worldmodes.autoset.survival
                    - -worldmodes.*
                    - ChestShop.shop.buy
                    - ChestShop.shop.sell
                Creative:
                    permissions:
                    - worldmodes.mode.creative
                    - worldmodes.autoset.creative
                    - worldmodes.drop
                    - -worldmodes.*
                    - waypoint.basic.teleport
                    - essentials.tpa
                    - essentials.tpahere
                    - waypoint.warp.list
                    - waypoint.warp.access
                    - waypoint.warp
                Creative_nether:
                    permissions:
                    - worldmodes.mode.creative
                    - worldmodes.autoset.creative
                    - worldmodes.drop
                    - -worldmodes.*
                    - waypoint.basic.teleport
                    - essentials.tpa
                    - essentials.tpahere
                    - waypoint.warp.list
                    - waypoint.warp.access
                    - waypoint.warp
            options:
                rank: '5'
        Member:
            default: false
            prefix: '&2[Member]&f'
            permissions:
            - lwc.create
            - lwc.remove
            - essentials.portal
            - essentials.ignore
            - multiverse.access.*
            - multiverse.portal.access.*
            - multiverse.teleport.self.*
            - multiverse.core.confirm
            - essentials.motd
            - essentials.mail.send
            - essentials.balance.others
            - waypoint.home
            - waypoint.home.set
            - jobs.world.Survival
            - iConomy.holdings.others
            worlds:
                Survival:
                    permissions:
                    - fluidcontrol.everywhere
                    - ChestShop.shop.create
                    - jobs.join.*
                Survival_nether:
                    permissions:
                    - fluidcontrol.everywhere
                    - ChestShop.shop.create
                    - jobs.join.*
            options:
                rank: '1'
            inheritance:
            - Guest
        Advertiser:
            default: false
            permissions:
            - essentials.afk
            - essentials.portal
            prefix: '&a[Advertiser]&f'
            worlds:
                Survival:
                    permissions:
                    - essentials.time.set
                    - essentials.heal
                Survival_nether:
                    permissions:
                    - essentials.time.set
                    - essentials.heal
                Creative:
                    permissions:
                    - waypoint.warp.create
                    - waypoint.warp.delete
                    - essentials.heal
                    - essentials.compass
                    - fluidcontrol.everywhere
                Creative_nether:
                    permissions:
                    - waypoint.warp.create
                    - waypoint.warp.delete
                    - essentials.heal
                    - essentials.compass
                    - fluidcontrol.everywhere
            inheritance:
            - Member
        VIP:
            default: false
            permissions:
            - essentials.togglejail
            - essentials.mute
            prefix: '&5[VIP]&f'
            inheritance:
            - Advertiser
        Promoter:
            default: false
            permissions:
            - permissions.user.promote
            - -permissions.*
            - essentials.kick
            - essentials.ban.exempt
            - dropclear.kill
            prefix: '&d[Promoter]&f'
            inheritance:
            - VIP
        Moderator:
            permissions:
            - essentials.invsee
            - essentials.nick.*
            - essentials.give
            - essentials.broadcast
            - essentials.geoip.show
            - worldguard.region.define
            - worldguard.region.redefine.*
            - worldguard.region.select.*
            - worldguard.region.flag.flags.*
            - worldguard.region.flag.regions.*
            - worldguard.region.addmember.*
            - worldguard.region.addowner.*
            - worldguard.region.removemember.*
            - worldguard.region.removeowner.*
            - worldguard.region.list
            - worldguard.region.remove.*
            - worldguard.region.info
            - essentials.ban
            - essentials.kick.exempt
            - essentials.unban
            - essentials.banip
            - lwc.*
            - jobs.admin.info
            - spamhammer.unban
            - spamhammer.unmute
            prefix: '&1[Moderator]&f'
            worlds:
                Survival:
                    permissions:
                    - ChestShop.mod
                    - -worldedit.*
                    - essentials.tp
                    - essentials.tphere
                    - essentials.weather
                    - essentials.heal.bypass
                Survival_nether:
                    permissions:
                    - ChestShop.mod
                    - -worldedit.*
                    - essentials.tp
                    - essentials.tphere
                    - essentials.weather
                    - essentials.heal.bypass
                Creative:
                    permissions:
                    - worldedit.*
                    - essentials.tp
                    - waypoint.*
                    - essentials.tphere
                    - essentials.heal.bypass
                Creative_nether:
                    permissions:
                    - worldedit.*
                    - essentials.tp
                    - waypoint.*
                    - essentials.tphere
                    - essentials.heal.bypass
            inheritance:
            - Promoter
        Admin:
            permissions:
            - dropclear.killadmin
            prefix: '&b[Admin]&f'
            worlds:
                Creative:
                    permissions:
                    - essentials.bigtree
                    - essentials.tree
                Creative_nether:
                    permissions:
                    - essentials.bigtree
                    - essentials.tree
            inheritance:
            - Moderator
        Co-owner:
            permissions:
            - -jobs.world.Creative
            - jobs.*
            - worldguard.*
            - iConomy.*
            prefix: '&c[Co-owner]&f'
            inheritance:
            - Admin
        Owner:
            permissions:
            - multiverse.*
            - spamhammer.*
            - essentials.reloadall
            - essentials.setjail
            - essentials.deljail
            - essentials.kickall
            - permissions.*
            - essentials.backup
            - nocheat.admin.*
            worlds:
                Survival:
                    permissions:
                    - worldmodes.mode.survival
                    - worldmodes.autoset.survival
                    - -worldmodes.*
                    - ChestShop.admin
                Survival_nether:
                    permissions:
                    - ChestShop.admin
                    - worldmodes.mode.survival
                    - worldmodes.autoset.survival
                    - -worldmodes.*
                Creative:
                    permissions:
                    - -jobs.world.Creative
                    - worldmodes.mode.creative
                    - worldmodes.autoset.creative
                    - worldmodes.drop
                    - -worldmodes.*
                    - worldedit.*
                    - '*'
                Creative_nether:
                    permissions:
                    - -jobs.world.Creative
                    - worldmodes.mode.creative
                    - worldmodes.autoset.creative
                    - worldmodes.drop
                    - -worldmodes.*
                    - worldedit.*
                    - '*'
            inheritance:
            - Co-owner
     
  3. I cant assign myself or othet people to a group. How can i fix this?
     
  4. Offline

    webcraft

    Ok. thx.
     
  5. Offline

    Racha

    This works without modifyworld? it shows error. :/
     
  6. Offline

    grifOndOr

    I have some trouble with PEX , and Multiverse , I explain :

    When i teleport to a different world (with warp , /tp or /mvtp) the server lags fort 10seconds (and sometimes some peoples are kicked)
    It only happen with the admins (that are in the ops.txt , and have permissions = *)

    When a member teleport to a different world , there is no problem

    I try to see if multiverse is the problem , but it seems to be a PEX problem
    There are others people that have the same problem and the same configuration of plugins

    So please , could you look at the problem ? it's really annoying
     
  7. Offline

    Teraku

    Yup, this plugin seems to not work with negative permissions. I gave myself the "*" node, and my permissions look like this:


    Code:
    groups:
        Players:
            default: true
            permissions:
            - "*"
            - -vanish.silentjoin
            - -vanish.see
            - -vanish.preventoutgoingdamage
            - -vanish.statusupdates
            - -vanish.toggle.see
    

    And yet all those permissions are still present. It doesn't return errors, though.
     
  8. Offline

    blasterweb

    PermissionsEX scans from TOP to BOTTOM, so you can quickly fix that, by switching places on your config:

    Code:
    groups:
        Players:
            default: true
            permissions:
            - -vanish.silentjoin
            - -vanish.see
            - -vanish.preventoutgoingdamage
            - -vanish.statusupdates
            - -vanish.toggle.see
            - "*"
    
    Now do not have permissions for the negative codes, but you have permissions for all other commands :)
    Hope this helped
     
    HmmmQuestionMark likes this.
  9. Offline

    Teraku

    Yes, it did help! Thanks!

    This plugin can't seem to disable some permissions. I can't disable vanish.see with it. It shows up fine on the YAML parser.

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

    dakooldog

    Code:
    groups:
        User:
            default: true
            permissions:
            - modifyworld.chat
            - permissions.manage.users
            - permissions.modifyworld.enable
            - modifyworld.sneak
            - modifyworld.sprint
            - modifyworld.chat.private
            - modifyworld.usebeds
            - modifyworld.blocks.destroy.58
            - modifyworld.blocks.destroy.76
            - modifyworld.blocks.place.58
            - modifyworld.blocks.place.76
            - modifyworld.blocks.interact.54
            - modifyworld.blocks.interact.3
            - modifyworld.blocks.destroy.59
            - modifyworld.blocks.destroy.
            - modifyworld.blocks.interact.39
            - modifyworld.blocks.interact.40
            - modifyworld.items.pickup.*
            - modifyworld.items.drop.*
            - modifyworld.items.have.*
            - modifyworld.damage.deal.group.User
            - modifyworld.damage.take.group.User
            - modifyworld.vehicle.enter
            - modifyworld.damage.take.projectile.arrow
            - modifyworld.damage.take.projectile.arrow
            - modifyworld.damage.take.firetick
            - modifyworld.damage.take.fire
            - modifyworld.damage.take.starvation
            - modifyworld.blocks.interact.64
            - modifyworld.blocks.interact.26
            - modifyworld.blocks.interact.77
            - modifyworld.blocks.interact.70
            - modifyworld.blocks.interact.295
            - essentials.help
            - essentials.list
            - essentials.mail
            - essentials.mail.send
            - essentials.suicide
            - essentials.spawn
            - modifyworld.blocks.interact.63
            - modifyworld.blocks.interact.107
            - modifyworld.blocks.interact.92
       
        Admins:
            permissions:
            - '*'
            options:
                rank: '0'
        Admin:
            prefix: '&0(&4Admin&0)&7 '
            permissions:
            - '*'
    users:
        Dakooldog:
            group:
            - Admin

     
  11. Offline

    Racha

    Code:
    22:29:42 [SEVERE] Could not pass event PLUGIN_ENABLE to iConomy
    java.lang.RuntimeException: Permissions manager is not accessable. Is the Permis
    sionsEx plugin enabled?
            at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(Perm
    issionsEx.java:143)
            at com.nijikokun.bukkit.Permissions.Permissions.getHandler(Permissions.j
    ava:80)
            at com.iConomy.iConomy$Listener.onPluginEnable(iConomy.java:533)
            at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.j
    ava:585)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:339)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:964)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:280)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154
    )
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    im having this, when i just write those permissions :S
     
  12. 9 or more? That doesn't make any sense. I've never heard or seen anything like that either. What is the exact error you are getting in the game and the console when you run pex promote user?

    Putting your permissions file in a pastebin and linking to it would also be helpful.

    While I didn't dig too deep, I wasn't able to get iChat working correctly either. The dev for iChat has also stated that they have no desire to do anything to troubleshoot why it doesn't work with PEX, so I stopped looking at it and moved on. In your case, I'd look at using Chat Manager that comes with PEX or perhaps something like HeroChat, which I believe is confirmed to work.

    Yes, it works without modifyworld.

    What makes you think that it doesn't do this? It's working fine for me with VanishNoPacket (assuming that is the plugin you are having issues with).

    Thank you for using code tags.:)

    *looks* Hmm, at a quick glance, it seems to be OK. I don't have time to test it myself right now. Can you run the pex toggle debug command and then try to interact with a chest with one of the affected accounts and post what that returns? It might help figure out what is going on.

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

    Dagumboss

    Is it just me or does this not support SuperPerms compatibility anymore?
     
  14. Offline

    Racha

    Can u answer to my 2nd question?
    EDIT: nvm there was - * in my permissions file, is there a way to have all permissions like - * did?
    EDIT2: And i have problem with ChatManager.
    When config is like this -
    Code:
    chat-range: 500.0
    display-name-format: '%prefix%player%suffix'
    global-message-format: <%prefix%&f[&2GLOBAL&f]player%suffix> &4%message
    enable: true
    message-format: <%prefix%player%suffix> %message
    ranged-mode: true
    
    everything works, but when i remove < > its no more working, help :S
     
  15. Offline

    Etetherin

    i keep geting this error when i try to do certain commands like
    pex user (username)
    pex group admin add modifyworld.*
    and many more
    Code:
    04:23 PM [INFO] etetherin are member of:
    04:23 PM [SEVERE] Exception in thread "AWT-EventQueue-0"
    04:23 PM [SEVERE] org.bukkit.command.CommandException: Unhandled exception executing command 'pex' in plugin PermissionsEx v1.15
    04:23 PM [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    04:23 PM [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    04:23 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
    04:23 PM [SEVERE] at me.escapeNT.pail.GUIComponents.ServerConsolePanel$ConsoleCommandListener.actionPerformed(ServerConsolePanel.java:69)
    04:23 PM [SEVERE] at javax.swing.JTextField.fireActionPerformed(Unknown Source)
    04:23 PM [SEVERE] at javax.swing.JTextField.postActionEvent(Unknown Source)
    04:23 PM [SEVERE] at javax.swing.JTextField$NotifyAction.actionPerformed(Unknown Source)
    04:23 PM [SEVERE] at javax.swing.SwingUtilities.notifyAction(Unknown Source)
    04:23 PM [SEVERE] at javax.swing.JComponent.processKeyBinding(Unknown Source)
    04:23 PM [SEVERE] at javax.swing.JComponent.processKeyBindings(Unknown Source)
    04:23 PM [SEVERE] at javax.swing.JComponent.processKeyEvent(Unknown Source)
    04:23 PM [SEVERE] at java.awt.Component.processEvent(Unknown Source)
    04:23 PM [SEVERE] at java.awt.Container.processEvent(Unknown Source)
    04:23 PM [SEVERE] at java.awt.Component.dispatchEventImpl(Unknown Source)
    04:23 PM [SEVERE] at java.awt.Container.dispatchEventImpl(Unknown Source)
    04:23 PM [SEVERE] at java.awt.Component.dispatchEvent(Unknown Source)
    04:23 PM [SEVERE] at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
    04:23 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
    04:23 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
    04:23 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
    04:23 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
    04:23 PM [SEVERE] at java.awt.Component.dispatchEventImpl(Unknown Source)
    04:23 PM [SEVERE] at java.awt.Container.dispatchEventImpl(Unknown Source)
    04:23 PM [SEVERE] at java.awt.Window.dispatchEventImpl(Unknown Source)
    04:23 PM [SEVERE] at java.awt.Component.dispatchEvent(Unknown Source)
    04:23 PM [SEVERE] at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    04:23 PM [SEVERE] at java.awt.EventQueue.access$000(Unknown Source)
    04:23 PM [SEVERE] at java.awt.EventQueue$1.run(Unknown Source)
    04:23 PM [SEVERE] at java.security.AccessController.doPrivileged(Native Method)
    04:23 PM [SEVERE] at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    04:23 PM [SEVERE] at java.awt.EventQueue$2.run(Unknown Source)
    04:23 PM [SEVERE] at java.security.AccessController.doPrivileged(Native Method)
    04:23 PM [SEVERE] at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    04:23 PM [SEVERE] at java.awt.EventQueue.dispatchEvent(Unknown Source)
    04:23 PM [SEVERE] at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    04:23 PM [SEVERE] at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    04:23 PM [SEVERE] at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    04:23 PM [SEVERE] at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    04:23 PM [SEVERE] at java.awt.EventDispatchThread.run(Unknown Source)
    04:23 PM [SEVERE] Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Default user group is not defined. Please select one using the "default: true" property
    04:23 PM [SEVERE] at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:127)
    04:23 PM [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:126)
    04:23 PM [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    04:23 PM [SEVERE] ... 42 more
    04:23 PM [SEVERE] Caused by: java.lang.RuntimeException: Default user group is not defined. Please select one using the "default: true" property
    04:23 PM [SEVERE] at ru.tehkode.permissions.backends.FileBackend.getDefaultGroup(FileBackend.java:157)
    04:23 PM [SEVERE] at ru.tehkode.permissions.PermissionManager.getDefaultGroup(PermissionManager.java:285)
    04:23 PM [SEVERE] at ru.tehkode.permissions.PermissionManager.getDefaultGroup(PermissionManager.java:274)
    04:23 PM [SEVERE] at ru.tehkode.permissions.PermissionUser.getGroups(PermissionUser.java:216)
    04:23 PM [SEVERE] at ru.tehkode.permissions.PermissionUser.getGroups(PermissionUser.java:205)
    04:23 PM [SEVERE] at ru.tehkode.permissions.bukkit.commands.UserCommands.userListAliasPermissions(UserCommands.java:85)
    04:23 PM [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    04:23 PM [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    04:23 PM [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    04:23 PM [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
    04:23 PM [SEVERE] at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(CommandsManager.java:298)
    04:23 PM [SEVERE] at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:120)
    04:23 PM [SEVERE] ... 44 more 
     
  16. Offline

    Monk3y

    can i get help now no one has perms :confused:

    http://pastie.org/2761479

    :( at this point im sure its me...

    thnx for taking the time i will check this out :)

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

    dakooldog

    *looks with debug on* hmm.. thats odd, nothing that I can see. Any other Ideas?
     
  18. Works for me with bukkit 1337 and PEX 1.15 with the SuperPerms only plugins I use.

    Yes, it's - * :)

    Seriously, the * works as a wildcard. My owner group, which has me alone in it, has that and I've got access to everything.

    You need to put the line in quotes.

    Per an earlier post from someone else (apologies for not properly attributing it), if you remove the < > signs, you need to quote the entire line.

    So <%prefix%player%suffix> %message will become '%prefix%player%suffix %message'[/quote]

    Ok. I forget, but what happens when a user tries to use, say, a sign? What appears in game and in the server console?

    Code:
    04:23 PM [SEVERE] Caused by: java.lang.RuntimeException: Default user group is not defined. Please select one using the "default: true" property
    Right there is the problem, your permissions file is incorrect.

    Well, not quite. It's your permissions file. Running it through a YAML parser shows that it's not formatted correctly.

    Big hints(tm)
    • YAML is spacing sensitive
    • All the sections must line up under their headings
    Paste your permissions file into the YAML parser linked in the first post (linked in the "CHECK YOUR permissions.yml HERE" line).

    When I put your file in that, I immediately got:
    Code:
    ERROR:
    
    while parsing a block mapping
      in "<unicode string>", line 2, column 5:
            skeleton063:
            ^
    expected <block end>, but found '<block sequence start>'
      in "<unicode string>", line 4, column 8:
               - Civilian
               ^
    Start with the users section, line up the groups correctly, then go down the list and correct the alignment on the groups sections as well. Once you have that fixed, the output will look similar to this:
    Code:
    {
      "users": {
        "skeleton063": {
          "group": [
            "Civilian"
          ], 
          "Permissions": null
        }
      }, 
      "groups": {
        "Civilian": {
          "default": true, 
    Notice, no ERROR: at the beginning.

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

    Elfsovereign

    And how would I remedy this?
     
  20. Groups?

    Code:
    users:
        Elfsovereign:
            group:
            - Owner
    That is a correctly written user to group entry. Notice the group is on it's own line and lined up with the group: line with eight spaces.
     
  21. Offline

    Elfsovereign

    I have corrected that and nothing happened. I corrected it when you showed me the last time.
     
  22. I did some checking on my test install... Do you have, per chance, the compatibility plugin PEX includes (permissions.jar in the archive) running?

    Sure thing. YAML and it's extreme pickyness is probably one of the bigger stumbling blocks when it comes to configuring a permissions plugin, especially a 'hardcore':) one like PEX.

    A permissions manager is, in my opinion, one of, if not the, plugin that has the most far reaching effects on a server when it's installed. Nothing else can bugger up a server more than a badly configured perms manager, and it kind of worries me to see so many people not realizing that and thinking that it's a drop it in and go kind of thing.

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

    Flatliner

    If you're using the dev version then a change was made that breaks child permissions in superperms which is something bothering me as it seems once that goes stable I'll need to find a new perms system since it breaks several of the plugins i use :(
     
  24. Offline

    Monk3y

    Which was me for the longest i guess :) i have since fixed the issue i think still need to jump in and find out :) but here is what i was left with :) and i got no errors :) *followed the error road lol*

    http://pastie.org/2766390

    ok i checked it out and this is what i got

    Code:
    2011-10-27 04:05:41 [SEVERE] java.lang.RuntimeException: No groups defined. Check your permissions file.
    2011-10-27 04:05:41 [SEVERE]     at ru.tehkode.permissions.backends.FileBackend.getDefaultGroup(FileBackend.java:141)
    2011-10-27 04:05:41 [SEVERE]     at ru.tehkode.permissions.PermissionManager.getDefaultGroup(PermissionManager.java:285)
    2011-10-27 04:05:41 [SEVERE]     at ru.tehkode.permissions.PermissionManager.getDefaultGroup(PermissionManager.java:274)
    2011-10-27 04:05:41 [SEVERE]     at ru.tehkode.permissions.PermissionUser.getGroups(PermissionUser.java:216)
    2011-10-27 04:05:41 [SEVERE]     at ru.tehkode.permissions.PermissionUser.getInheritedPermissions(PermissionUser.java:723)
    2011-10-27 04:05:41 [SEVERE]     at ru.tehkode.permissions.PermissionUser.getPermissions(PermissionUser.java:674)
    2011-10-27 04:05:41 [SEVERE]     at ru.tehkode.permissions.PermissionEntity.getMatchingExpression(PermissionEntity.java:502)
    2011-10-27 04:05:41 [SEVERE]     at ru.tehkode.permissions.PermissionUser.getMatchingExpression(PermissionUser.java:867)
    2011-10-27 04:05:41 [SEVERE]     at ru.tehkode.permissions.PermissionEntity.has(PermissionEntity.java:136)
    2011-10-27 04:05:41 [SEVERE]     at ru.tehkode.permissions.PermissionManager.has(PermissionManager.java:97)
    2011-10-27 04:05:41 [SEVERE]     at ru.tehkode.permissions.PermissionManager.has(PermissionManager.java:67)
    2011-10-27 04:05:41 [SEVERE]     at com.gmail.nossr50.mcPermissions.permission(mcPermissions.java:78)
    2011-10-27 04:05:41 [SEVERE]     at com.gmail.nossr50.mcPermissions.herbalismAbility(mcPermissions.java:110)
    2011-10-27 04:05:41 [SEVERE]     at com.gmail.nossr50.skills.Skills.monitorSkills(Skills.java:155)
    2011-10-27 04:05:41 [SEVERE]     at com.gmail.nossr50.runnables.mcTimer.run(mcTimer.java:51)
    2011-10-27 04:05:41 [SEVERE]     at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
    2011-10-27 04:05:41 [SEVERE]     at java.lang.Thread.run(Unknown Source)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  25. when i try to add someone to a group nothing happens :S
     
  26. Offline

    Furball75


    get rid of the " around everything then go from there
     
  27. I just looked at your config file, and it's not correct yet. Look at the second part of my post. If your config is correct, it will look something like that.

    The wiki has an example of a config file at the end of the basic setup example, as does the first post. Your config should look similar with the spacing, colons :)) and dashes (-). Things will not work right if it's not formatted correctly.

    EDIT: and what Furball75 said as well. You don't need the quotes.

    The YAML parser will show you if the file is in a format that YAML will read and create a data structure from (stressing this part for anyone else who may read this with similar questions, it's not anything directed at you:)).

    It doesn't (and can't) check to see if the data is entered correctly for PEX.

    You are getting close, don't give up yet.
     
  28. Offline

    petch2542

    Hi, I have any problem for this plugin That's it i want THE PEOPLE is can help me just 1 man contact [email protected] thank you.
    I'm weak in english sorry.

    includ permissionsex
     
  29. Offline

    lolydodo123

    Justin the cycle this is the error that is 9 more...

    >pex user jwongy add group builder
    04:15:28 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'pex' in plugin PermissionsEx v1.15
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:351)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:506)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:485)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:127)
    at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:126)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    ... 7 more
    Caused by: java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:143)
    at ru.tehkode.permissions.bukkit.commands.PermissionsCommand.autoCompletePlayerName(PermissionsCommand.java:98)
    at ru.tehkode.permissions.bukkit.commands.PermissionsCommand.autoCompletePlayerName(PermissionsCommand.java:65)
    at ru.tehkode.permissions.bukkit.commands.UserCommands.userAddPermission(UserCommands.java:269)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(CommandsManager.java:298)
    at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:120)
    ... 9 more
    >


    Any suggestions?
     
  30. Offline

    F4BSE

    This is my config file from chatmanager, but the ranged-mode don't works. Everybody can hear everyone. Need help :/
     
  31. Offline

    Etetherin

    OK i followed the tutorial exactly other then a few group name changes and i am still able to be targeted in admin and mod and VIP so that means this inst working am i doing something wrong here my config (also im able to destroy blocks in default group)
    Code:
    groups:
        default:
            default: true
            options:
                rank: '1000'
            permissions:
            - modifyworld.chat
        admin:
            prefix: '$o($9A$6dministrator$o)$7 '
            permissions:
            - -modifyworld.mobtarget.*
            - '*'
            options:
                rank: '0'
        mod:
            prefix: '$o($eM$1oderator$o)$7 '
            permissions:
            - -modifyworld.mobtarget.*
            - modifyworld.*
            options:
                rank: '100'
        vip:
            prefix: '$o($aVIP$o)$7 '
            permissions:
            - -modifyworld.mobtarget.monster.creeper
            - modifyworld.*
            options:
                rank: '800'
        member:
            prefix: '$8($fMember$8)$7 '
            permissions:
            - modifyworld.*
            options:
                rank: '900'
    users:
        candyjack5:
            group:
            - vip
        vdubbs:
            group:
            - vip
        etetherin:
            group:
            - admin
    
     

Share This Page