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. Got an error at startup, but looks like PEX is working anyway...
    PHP:
    [...]
    15:10:28 [INFOThis server is running Craftbukkit version git-Bukkit-0.0.0-1067-g6301507-b1185jnks (MC1.8.1)
    [...]
    15:10:28 [INFO] [PermissionsExsql backend registered!
    15:10:28 [INFO] [PermissionsExfile backend registered!
    15:10:28 [INFO] [PermissionsExPermissionEx plugin initialized.
    15:10:28 [INFO] [PermissionsExp2compat backend registered!
    15:10:28 [INFO] [PermissionsCompatCompatibility Layer Initalized!
    15:10:29 [INFO] [PermissionsExInitializing file backend
    15
    :10:31 [SCHWERWIEGENDError occurred while enabling PermissionsEx v1.14 (Is it up to date?): org.bukkit.plugin.PluginDescriptionFile.getPermissions()Ljava/util/ArrayList;
    java.lang.NoSuchMethodErrororg.bukkit.plugin.PluginDescriptionFile.getPermissions()Ljava/util/ArrayList;
            
    at ru.tehkode.permissions.bukkit.BukkitPermissions.collectPermissions(BukkitPermissions.java:107)
            
    at ru.tehkode.permissions.bukkit.BukkitPermissions.<init>(BukkitPermissions.java:75)
            
    at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.java:103)
            
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
            
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
            
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
            
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
            
    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)
    [...]
     
  3. Offline

    mike12345567

    I am currently allowing my donators to decide what their prefix will be. They all receive the same permissions but have different Prefixes. This is producing a lengthy permissions File, and im wondering first of all is there a better way to do this, since it is the same code over and over again, with one difference, the prefix, and secondly will this cause lag?
     
  4. define the prefix at user level:
    PHP:
    users:
       
    t3hk0d3:
          
    group: default
          
    prefix'&5[YARR]&f'
    or use the inheritance function if that doesnt work:
    PHP:
    groups:
       default:
          default: 
    true
          permissions
    :
          - -
    modifyworld.blocks.place.tnt
          
    modifyworld.*
    usert3hk0d3:
       
    inheritance:
       - default
       
    prefix'&5[YARR]&f'

    users:
       
    t3hk0d3:
          
    groupusert3hk0d3
          prefix
    '&5[YARR]&f'
     
  5. Offline

    mike12345567

    thanks that will work much better :)
     
  6. Offline

    Emiya Shirou

    I have no idea how to do it even if I wanted :p anyway i noticed i need to put this as well because some plugins doesn't detect permissions D:
     
  7. Offline

    dralletje

    did. you. mention. chatter?
    AWESEOM :D
     
  8. Offline

    DeVil.DeMonde

    I still cannot get permissions to Migrate per https://github.com/t3hk0d3/PermissionsEx/wiki/Migrate-from-Permissions

    When I use pex hierarchy I get this.
    Code:
    12:23 PM [INFO] User/Group inheritance hierarchy: 
    12:23 PM [SEVERE] Exception in thread "AWT-EventQueue-0" 
    12:23 PM [SEVERE] org.bukkit.command.CommandException: Unhandled exception executing command 'pex' in plugin PermissionsEx v1.14 
    12:23 PM [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41) 
    12:23 PM [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163) 
    12:23 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353) 
    12:23 PM [SEVERE] at me.escapeNT.pail.GUIComponents.ServerConsolePanel$ConsoleCommandListener.actionPerformed(ServerConsolePanel.java:69) 
    12:23 PM [SEVERE] at javax.swing.JTextField.fireActionPerformed(Unknown Source) 
    12:23 PM [SEVERE] at javax.swing.JTextField.postActionEvent(Unknown Source) 
    12:23 PM [SEVERE] at javax.swing.JTextField$NotifyAction.actionPerformed(Unknown Source) 
    12:23 PM [SEVERE] at javax.swing.SwingUtilities.notifyAction(Unknown Source) 
    12:23 PM [SEVERE] at javax.swing.JComponent.processKeyBinding(Unknown Source) 
    12:23 PM [SEVERE] at javax.swing.JComponent.processKeyBindings(Unknown Source) 
    12:23 PM [SEVERE] at javax.swing.JComponent.processKeyEvent(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.Component.processEvent(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.Container.processEvent(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.Component.dispatchEventImpl(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.Container.dispatchEventImpl(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.Component.dispatchEvent(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.Component.dispatchEventImpl(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.Container.dispatchEventImpl(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.Window.dispatchEventImpl(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.Component.dispatchEvent(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.EventQueue.dispatchEventImpl(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.EventQueue.access$000(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.EventQueue$1.run(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.EventQueue$1.run(Unknown Source) 
    12:23 PM [SEVERE] at java.security.AccessController.doPrivileged(Native Method) 
    12:23 PM [SEVERE] at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) 
    12:23 PM [SEVERE] at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.EventQueue$2.run(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.EventQueue$2.run(Unknown Source) 
    12:23 PM [SEVERE] at java.security.AccessController.doPrivileged(Native Method) 
    12:23 PM [SEVERE] at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.EventQueue.dispatchEvent(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) 
    12:23 PM [SEVERE] at java.awt.EventDispatchThread.run(Unknown Source) 
    12:23 PM [SEVERE] Caused by: java.lang.RuntimeException: java.lang.NullPointerException 
    12:23 PM [SEVERE] at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:127) 
    12:23 PM [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:123) 
    12:23 PM [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39) 
    12:23 PM [SEVERE] ... 42 more 
    12:23 PM [SEVERE] Caused by: java.lang.NullPointerException 
    12:23 PM [SEVERE] at ru.tehkode.permissions.backends.FileBackend.getGroups(FileBackend.java:191) 
    12:23 PM [SEVERE] at ru.tehkode.permissions.PermissionManager.getGroups(PermissionManager.java:233) 
    12:23 PM [SEVERE] at ru.tehkode.permissions.bukkit.commands.PermissionsCommand.printHierarchy(PermissionsCommand.java:257) 
    12:23 PM [SEVERE] at ru.tehkode.permissions.bukkit.commands.UtilityCommands.printHierarhy(UtilityCommands.java:122) 
    12:23 PM [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    12:23 PM [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
    12:23 PM [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
    12:23 PM [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source) 
    12:23 PM [SEVERE] at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(CommandsManager.java:298) 
    12:23 PM [SEVERE] at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:120) 
    12:23 PM [SEVERE] ... 44 more 
    
    What am I doing wrong?
     
  9. Offline

    gameswereus

    I can't figure out how to make PEX use MySQL.

    Code:
    permissions:
        backends:
            file:
                file: permissions.yml
                userSpam: false
        backend: file
        superperms:
            disable-unmatched: false
            enable: true
            matched-permissions: true
            debug: false
            raw-permissions: true
        allowOps: true
        debug: false
        basedir: plugins/PermissionsEx
    
    Can someone please explain where to put the MySQL information?

    edit, can I just replace the above with

    Code:
    permissions:
        basedir: plugins/PermissionsEx
        backend: sql
        backends:
            sql:
                driver: mysql
                uri: mysql://localhost/databasename
                user: username
                password: password
     
  10. Offline

    Emiya Shirou

    Love this plugin! I couldn't understand and make permissions before but with this, and it's wiki and it's tutorial and it's basic example setup guide I'm managing quiet well :3 I love it <3 ^.^

    EDIT: But I got one problem with ChatManager D:

    The default config for it is
    Code:
    chat-range: 100.0
    display-name-format: '%prefix%player%suffix'
    global-message-format: <%prefix%player%suffix> &e%message
    enable: true
    message-format: <%prefix%player%suffix> %message
    ranged-mode: false
    
    And the massage on chat Looks Like this

    <[Player] Emiya_Shirou> This is a simple msg.

    I wanted to make it look like this [Player] Emiya_Shirou: This is simple msg.

    But i can't ... When i remove < > (so the massage suppose to look like this [Player Emiya_Shirou This is simple msg.) from this line global-message-format: <%prefix%player%suffix> &e%message

    Plugin stops working and server poops up this error...

    Code:
    02.10 22:30:58 [Server] INFO [PermissionsCompat] Compatibility Layer Initalized!
    02.10 22:30:58 [Server] INFO [PermissionsEx] p2compat backend registered!
    02.10 22:30:58 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    02.10 22:30:58 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    02.10 22:30:58 [Server] INFO     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
    02.10 22:30:58 [Server] INFO     at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    02.10 22:30:58 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:103)
    02.10 22:30:58 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:138)
    02.10 22:30:58 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
    02.10 22:30:58 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:213)
    02.10 22:30:58 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:175)
    02.10 22:30:58 [Server] INFO     at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:157)
    02.10 22:30:58 [Server] INFO     at org.bukkit.util.config.Configuration.load(Configuration.java:82)
    02.10 22:30:58 [Server] INFO     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    02.10 22:30:58 [Server] INFO     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    02.10 22:30:58 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    02.10 22:30:58 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    02.10 22:30:58 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    02.10 22:30:58 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    02.10 22:30:58 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)
    02.10 22:30:58 [Server] INFO     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    02.10 22:30:58 [Server] INFO     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    02.10 22:30:58 [Server] INFO     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
    02.10 22:30:58 [Server] INFO     at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    02.10 22:30:58 [Server] INFO     at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)
    02.10 22:30:58 [Server] INFO                            ^
    02.10 22:30:58 [Server] INFO     global-message-format: %prefix%player%suffix &e%message
    02.10 22:30:58 [Server] INFO  in "<reader>", line 3, column 24:
    02.10 22:30:58 [Server] INFO found character %'%' that cannot start any token
    
    I've tried also %prefix%player%suffix: &e%message
    and '%prefix%player%suffix' &e%message

    But it's the same :/

    How to make so my msg will look like

    [Prefix] PlayerName: Player msg.

    ?
     
  11. uhm looks like revoke permission doesnt work good.
    PHP:
    groups:
        
    GM:
            default: 
    false
            permissions
    :
            - -
    modifyworld.*
            - -
    nocheat.checks.*
            - 
    '*'
            
    inheritance: []
            
    prefix'&4<GM>&f'
            
    suffix''
    -modifyworld.* should prevent any block break and placing, shouldnt it? added this for testing and still can place/break blocks.

    Just forget what i said, its working, just set modifyworld true in pex config instead of modifyworld directory...
     
  12. Offline

    DeVil.DeMonde

    Well I figured the first part out, complete user error folks when you copy over your permissions from the previous server version, make sure you don't over write tehkode's version. That said I'm still getting an error from per heirarchy.
    Code:
    04:38 PM [INFO] User/Group inheritance hierarchy:
    04:38 PM [SEVERE] Exception in thread "AWT-EventQueue-0"
    04:38 PM [SEVERE] org.bukkit.command.CommandException: Unhandled exception executing command 'pex' in plugin PermissionsEx v1.14
    04:38 PM [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
    04:38 PM [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    04:38 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    04:38 PM [SEVERE] at me.escapeNT.pail.GUIComponents.ServerConsolePanel$ConsoleCommandListener.actionPerformed(ServerConsolePanel.java:69)
    04:38 PM [SEVERE] at javax.swing.JTextField.fireActionPerformed(Unknown Source)
    04:38 PM [SEVERE] at javax.swing.JTextField.postActionEvent(Unknown Source)
    04:38 PM [SEVERE] at javax.swing.JTextField$NotifyAction.actionPerformed(Unknown Source)
    04:38 PM [SEVERE] at javax.swing.SwingUtilities.notifyAction(Unknown Source)
    04:38 PM [SEVERE] at javax.swing.JComponent.processKeyBinding(Unknown Source)
    04:38 PM [SEVERE] at javax.swing.JComponent.processKeyBindings(Unknown Source)
    04:38 PM [SEVERE] at javax.swing.JComponent.processKeyEvent(Unknown Source)
    04:38 PM [SEVERE] at java.awt.Component.processEvent(Unknown Source)
    04:38 PM [SEVERE] at java.awt.Container.processEvent(Unknown Source)
    04:38 PM [SEVERE] at java.awt.Component.dispatchEventImpl(Unknown Source)
    04:38 PM [SEVERE] at java.awt.Container.dispatchEventImpl(Unknown Source)
    04:38 PM [SEVERE] at java.awt.Component.dispatchEvent(Unknown Source)
    04:38 PM [SEVERE] at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
    04:38 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
    04:38 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
    04:38 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
    04:38 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
    04:38 PM [SEVERE] at java.awt.Component.dispatchEventImpl(Unknown Source)
    04:38 PM [SEVERE] at java.awt.Container.dispatchEventImpl(Unknown Source)
    04:38 PM [SEVERE] at java.awt.Window.dispatchEventImpl(Unknown Source)
    04:38 PM [SEVERE] at java.awt.Component.dispatchEvent(Unknown Source)
    04:38 PM [SEVERE] at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    04:38 PM [SEVERE] at java.awt.EventQueue.access$000(Unknown Source)
    04:38 PM [SEVERE] at java.awt.EventQueue$1.run(Unknown Source)
    04:38 PM [SEVERE] at java.awt.EventQueue$1.run(Unknown Source)
    04:38 PM [SEVERE] at java.security.AccessController.doPrivileged(Native Method)
    04:38 PM [SEVERE] at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    04:38 PM [SEVERE] at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    04:38 PM [SEVERE] at java.awt.EventQueue$2.run(Unknown Source)
    04:38 PM [SEVERE] at java.awt.EventQueue$2.run(Unknown Source)
    04:38 PM [SEVERE] at java.security.AccessController.doPrivileged(Native Method)
    04:38 PM [SEVERE] at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    04:38 PM [SEVERE] at java.awt.EventQueue.dispatchEvent(Unknown Source)
    04:38 PM [SEVERE] at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    04:38 PM [SEVERE] at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    04:38 PM [SEVERE] at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    04:38 PM [SEVERE] at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    04:38 PM [SEVERE] at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    04:38 PM [SEVERE] at java.awt.EventDispatchThread.run(Unknown Source)
    04:38 PM [SEVERE] Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Default user group are not defined. Please select one using "default: true" property
    04:38 PM [SEVERE] at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:127)
    04:38 PM [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:123)
    04:38 PM [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    04:38 PM [SEVERE] ... 42 more
    04:38 PM [SEVERE] Caused by: java.lang.RuntimeException: Default user group are not defined. Please select one using "default: true" property
    04:38 PM [SEVERE] at ru.tehkode.permissions.backends.FileBackend.getDefaultGroup(FileBackend.java:157)
    04:38 PM [SEVERE] at ru.tehkode.permissions.PermissionManager.getDefaultGroup(PermissionManager.java:285)
    04:38 PM [SEVERE] at ru.tehkode.permissions.PermissionManager.getDefaultGroup(PermissionManager.java:274)
    04:38 PM [SEVERE] at ru.tehkode.permissions.PermissionUser.getGroups(PermissionUser.java:216)
    04:38 PM [SEVERE] at ru.tehkode.permissions.PermissionUser.inGroup(PermissionUser.java:442)
    04:38 PM [SEVERE] at ru.tehkode.permissions.PermissionUser.inGroup(PermissionUser.java:474)
    04:38 PM [SEVERE] at ru.tehkode.permissions.PermissionBackend.getUsers(PermissionBackend.java:253)
    04:38 PM [SEVERE] at ru.tehkode.permissions.PermissionManager.getUsers(PermissionManager.java:165)
    04:38 PM [SEVERE] at ru.tehkode.permissions.PermissionGroup.getUsers(PermissionGroup.java:438)
    04:38 PM [SEVERE] at ru.tehkode.permissions.bukkit.commands.PermissionsCommand.printHierarchy(PermissionsCommand.java:272)
    04:38 PM [SEVERE] at ru.tehkode.permissions.bukkit.commands.PermissionsCommand.printHierarchy(PermissionsCommand.java:270)
    04:38 PM [SEVERE] at ru.tehkode.permissions.bukkit.commands.PermissionsCommand.printHierarchy(PermissionsCommand.java:270)
    04:38 PM [SEVERE] at ru.tehkode.permissions.bukkit.commands.PermissionsCommand.printHierarchy(PermissionsCommand.java:270)
    04:38 PM [SEVERE] at ru.tehkode.permissions.bukkit.commands.PermissionsCommand.printHierarchy(PermissionsCommand.java:270)
    04:38 PM [SEVERE] at ru.tehkode.permissions.bukkit.commands.UtilityCommands.printHierarhy(UtilityCommands.java:122)
    04:38 PM [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    04:38 PM [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    04:38 PM [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    04:38 PM [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
    04:38 PM [SEVERE] at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(CommandsManager.java:298)
    04:38 PM [SEVERE] at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:120)
    04:38 PM [SEVERE] ... 44 more
    
     
  13. Offline

    jasopesey

    *Note: I checked all my yml files in the online parser and got no errors. Not sure whats wrong but I'm getting this in console:
    Code:
    161 recipes
    
    17 achievements
    
    11:54:03 [INFO] Starting minecraft server version Beta 1.8.1
    
    11:54:03 [INFO] Loading properties
    
    11:54:03 [INFO] Starting Minecraft server on *:25565
    
    11:54:03 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1067
    
    -g6301507-b1185jnks (MC: 1.8.1)
    
    11:54:04 [INFO] [PermissionsEx] sql backend registered!
    
    11:54:04 [INFO] [PermissionsEx] file backend registered!
    
    11:54:04 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    
    11:54:04 [INFO] [PermissionsEx] p2compat backend registered!
    
    11:54:04 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
    
    11:54:04 [INFO] LWC: Loading shared objects
    
    11:54:04 [INFO] LWC: Protection cache: 0/10000
    
    11:54:04 [INFO] LWC: Native library: plugins/LWC/lib/native/Windows/x86/sqlitejd
    
    bc.dll
    
    11:54:04 [INFO] [PermissionsEx] Initializing file backend
    
    11:54:04 [SEVERE] special characters are not allowed initializing PermissionsEx
    
    v1.14 (Is it up to date?)
    
    unacceptable character #FFFD special characters are not allowed
    
    in "<reader>", position 1154
    
    at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.ja
    
    va:68)
    
    at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:159)
    
    at org.yaml.snakeyaml.reader.StreamReader.forward(StreamReader.java:89)
    
    at org.yaml.snakeyaml.reader.StreamReader.forward(StreamReader.java:79)
    
    at org.yaml.snakeyaml.scanner.ScannerImpl.scanPlainSpaces(ScannerImpl.ja
    
    va:1630)
    
    at org.yaml.snakeyaml.scanner.ScannerImpl.scanPlain(ScannerImpl.java:159
    
    4)
    
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchPlain(ScannerImpl.java:86
    
    0)
    
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    
    va:348)
    
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    
    3)
    
    at org.yaml.snakeyaml.parser.ParserImpl$ParseIndentlessSequenceEntry.pro
    
    duce(ParserImpl.java:538)
    
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    
    at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.jav
    
    a:203)
    
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    
    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
    
    :230)
    
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    
    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.composeDocument(Composer.java:12
    
    2)
    
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    
    tructor.java:124)
    
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    
    at ru.tehkode.permissions.config.Configuration.load(Configuration.java:6
    
    5)
    
    at ru.tehkode.permissions.backends.FileBackend.initialize(FileBackend.ja
    
    va:104)
    
    at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager
    
    .java:420)
    
    at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManage
    
    r.java:471)
    
    at ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.jav
    
    a:53)
    
    at ru.tehkode.permissions.bukkit.PermissionsEx.onLoad(PermissionsEx.java
    
    :73)
    
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:141)
    
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:103)
    
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    
    ationManager.java:52)
    
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
    
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
    11:54:04 [WARNING] [PermissionsCompat] PermissionsEx plugin not found. Some plug
    
    ins may not work.
    
    11:54:04 [INFO] Preparing level "Hajimemashite"
    
    11:54:04 [INFO] Default game type: 0
    
    11:54:04 [INFO] Preparing start region for level 0 (Seed: 8544160194966867111)
    
    11:54:05 [INFO] Preparing spawn area: 85%
    
    11:54:05 [INFO] Preparing start region for level 1 (Seed: 5236914156094010647)
    
    11:54:06 [INFO] Preparing spawn area: 85%
    
    11:54:06 [INFO] CommandBook 1.6-customized enabled.
    
    11:54:06 [WARNING] CommandBook: 0 Warps(s) loaded
    
    11:54:06 [WARNING] CommandBook: 0 Homes(s) loaded
    
    11:54:06 [INFO] CommandBook: Maximum wrapper compatibility is enabled. Some feat
    
    ures have been disabled to be compatible with poorly written server wrappers.
    
    11:54:06 [INFO] CommandBook: 0 banned name(s) loaded.
    
    11:54:06 [INFO] CommandBook: 1 kit(s) loaded.
    
    11:54:06 [INFO] CommandBook: Using the Bukkit Permissions API.
    
    11:54:06 [INFO] [PermissionsEx] Superperms support enabled.
    
    11:54:06 [INFO] [PermissionsEx] v1.14 enabled
    
    11:54:06 [INFO] CommandBook: Using the Bukkit Permissions API.
    
    11:54:06 [INFO] [PermissionsCompat] Compatibility layer enabled.
    
    11:54:06 [INFO] CommandBook: Using the Bukkit Permissions API.
    
    11:54:06 [INFO] LWC: Loaded 137 locale strings (0 overrides)
    
    11:54:06 [SEVERE] Error occurred while enabling LWC v3.53 (Is it up to date?): P
    
    ermissions manager is not accessable. Is the PermissionsEx plugin enabled?
    
    java.lang.RuntimeException: Permissions manager is not accessable. Is the Permis
    
    sionsEx plugin enabled?
    
    at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(Perm
    
    issionsEx.java:140)
    
    at com.nijikokun.bukkit.Permissions.Permissions.getHandler(Permissions.j
    
    ava:80)
    
    at com.griefcraft.integration.permissions.NijiPermissions.<init>(NijiPer
    
    missions.java:45)
    
    at com.griefcraft.lwc.LWC.load(LWC.java:1095)
    
    at com.griefcraft.lwc.LWCPlugin.onEnable(LWCPlugin.java:360)
    
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    
    .java:920)
    
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    
    r.java:278)
    
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
    
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156
    
    )
    
    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)
    
    11:54:06 [INFO] [MyHome] 4 homes loaded
    
    11:54:06 [INFO] [MyHome] Using localization: English (en_us)
    
    11:54:06 [INFO] [MyHome] Permissions enabled using: PermissionsEx v1.14
    
    11:54:06 [WARNING] [MyHome] Help plugin not detected. Only providing help via /h
    
    ome help.
    
    11:54:06 [INFO] [MyHome] MyHome 2.0.1 enabled
    
    11:54:06 [INFO] Server permissions file permissions.yml is empty, ignoring it
    
    11:54:06 [INFO] Done (0.271s)! For help, type "help" or "?"
    Yet I noticed if I take my '*' off of my admin group permissions everything loads correctly and everything works with my plugins. I don't understand why this is causing an issue :(
     
  14. Offline

    DeVil.DeMonde

    How about putting your errors inside [ code ] [ /code ] tags?
     
  15. Offline

    RchGrav

    @t3hk0d3

    I noticed some users recently having issues using timed permissions in the thread, and thought of a way I could make use of this permission... So I decided to do some testing...

    I believe that the timed permission logic is actually inverted from the way it was intended to work?!

    When I try add a permission to a user, it seems not to take effect until the timer elapses.

    Code:
    /pex user playername timed add permission.node 3600


    Playername does not get permission until 6 minutes has elapsed, and then has ability to use the permission until pex is reloaded.

    Also.. is this meant to be a non-persistent feature? Because I never see any values added into the database. If I understand the proper use of this function, it seems it could not be used to grant a feature for a week or a month, only within the current server / pex reload cycle.

    Thanks for clearing up my understanding of the way timed permissions are meant to work. Also, is it planned to make timed permissions persistent so that users could be given a permission for a specific time period? IE. A user donated to the server and could be granted a feature for a specific amount of time.

    Thanks!

    Rich

    PS.. I tell everyone that PEX is the best permissions implementation available... Its flexibility in terms of backend storage, and compatibility with the Nijiko Permissions are second to none.
     
  16. Offline

    ZacTheDead

    Thanks
     
  17. Offline

    finisher90

    Is it possible to get rid of the '<' and '>' in chatmanager? I changed it to ( and ) but I'd like it to say:
    Code:
    [O]finisher90: this is what i want it to look like
     
  18. Offline

    Buckethead

    i know its bad but like im saying i just mad groups: line 1 and it gives me read error and i sill cant find bridging is it in advanced?
    i dont get reader errors. apparently my copy paste feature broke or something
     
  19. Offline

    Cyberpew

    For some reason on the start of my server, I get some errors with PEX, here is my server.log on startup...

    Code:
    2011-10-02 19:08:23 [INFO] Starting minecraft server version Beta 1.8.1
    2011-10-02 19:08:23 [INFO] Loading properties
    2011-10-02 19:08:23 [INFO] Starting Minecraft server on *:25565
    2011-10-02 19:08:23 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1067-g6301507-b1185jnks (MC: 1.8.1)
    2011-10-02 19:08:23 [INFO] [PermissionsEx] sql backend registered!
    2011-10-02 19:08:23 [INFO] [PermissionsEx] file backend registered!
    2011-10-02 19:08:23 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    2011-10-02 19:08:23 [INFO] [PermissionsEx] p2compat backend registered!
    2011-10-02 19:08:23 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
    2011-10-02 19:08:23 [INFO] [PermissionsEx] Initializing file backend
    2011-10-02 19:08:23 [SEVERE] null; mapping values are not allowed here initializing PermissionsEx v1.14 (Is it up to date?)
    mapping values are not allowed here
     in "<reader>", line 48, column 19:
                    prefix: '&7[Tourist]'
                          ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:745)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:307)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        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:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        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:73)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:141)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:103)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-10-02 19:08:23 [WARNING] [PermissionsCompat] PermissionsEx plugin not found. Some plugins may not work.
    2011-10-02 19:08:23 [INFO] Preparing level "world"
    2011-10-02 19:08:23 [INFO] Default game type: 0
    2011-10-02 19:08:23 [INFO] Preparing start region for level 0 (Seed: 3077386008215242484)
    2011-10-02 19:08:26 [WARNING] Old nether is disabled until multiworld support in bukkit is fixed.
    2011-10-02 19:08:26 [INFO] Preparing start region for level 1 (Seed: 8547452463083505713)
    2011-10-02 19:08:28 [INFO] Loaded Essentials build 2.4.2 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-10-02 19:08:28 [INFO] Loaded EssentialsSpawn build 2.4.2 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-10-02 19:08:28 [INFO] [HeroChat] HeroChat version 4.10.3 enabled.
    2011-10-02 19:08:28 [SEVERE] Error occurred while enabling MagicCarpet v1.5.6 (Is it up to date?): Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
        at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:140)
        at com.nijikokun.bukkit.Permissions.Permissions.getHandler(Permissions.java:80)
        at com.Android.magiccarpet.MagicCarpet.setupPermissions(MagicCarpet.java:340)
        at com.Android.magiccarpet.MagicCarpet.onEnable(MagicCarpet.java:71)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
        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)
    2011-10-02 19:08:28 [INFO] [PermissionsEx] Superperms support enabled.
    2011-10-02 19:08:28 [INFO] [PermissionsEx] v1.14 enabled
    2011-10-02 19:08:28 [INFO] [Volcano] Volcano 0.89 is enabled!
    2011-10-02 19:08:28 [INFO] [VoxelSniper] Config loaded
    2011-10-02 19:08:28 [INFO] VoxelSniper version 4.753 is enabled! Snipe away.
    2011-10-02 19:08:28 [SEVERE] [ChatManager] PermissionsEx not found, disabling
    2011-10-02 19:08:28 [INFO] [ChatManager] ChatManager disabled!
    2011-10-02 19:08:28 [SEVERE] [Modifyworld] PermissionsEx not found, disabling
    2011-10-02 19:08:28 [INFO] [Modifyworld] Modifyworld disabled!
    2011-10-02 19:08:28 [INFO] [PermissionsCompat] Compatibility layer enabled.
    2011-10-02 19:08:28 [SEVERE] Could not pass event PLUGIN_ENABLE to HeroChat
    java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
        at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:140)
        at com.nijikokun.bukkit.Permissions.Permissions.getHandler(Permissions.java:80)
        at com.herocraftonline.dthielke.herochat.HeroChat.loadPermissions(HeroChat.java:211)
        at com.herocraftonline.dthielke.herochat.HeroChatServerListener.onPluginEnable(HeroChatServerListener.java:20)
        at org.bukkit.plugin.java.JavaPluginLoader$46.execute(JavaPluginLoader.java:562)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:927)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
        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)
    2011-10-02 19:08:28 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-10-02 19:08:28 [INFO] Done (0.475s)! For help, type "help" or "?"
    

    Here is the permissions.yml file:
    Code:
    users:
        Cyberpew:
            group:
            - Owner
        zen2010:
            group:
            - Admin
        Hultrafors:
            group:
            - Moderator
        Beast13East:
            group:
            - Moderator
        Angry_Mudkip:
            group:
            - Moderator
        silentassasin9:
            group:
            - Moderator
        MidnightAzn:
            group:
            - Moderator
        spike1492:
            group:
            - Helper
        themidget90210:
            group:
            - Moderator
        17thFreitag:
            group:
            - Helper
        mackdaddy899:
            group:
            - Donator
        xOSSx:
            group:
            - Donator
        kk1330:
            group:
            - Donator
        Alderea:
            permissions:
            group:
            - Moderator
    groups:
        Tourist:
            default: true
                prefix: '&7[Tourist]'
            inheritance:
            permissions:
                - essentials.home
                - essentials.sethome
                - essentials.spawn
                - essentials.kit
                - essentials.balance
                - essentials.balance.others
                - essentials.pay
                - essentials.sell
                - essentials.worth
                - essentials.afk
                - essentials.compass
                - essentials.depth
                - essentials.getpos
                - essentials.help
                - essentials.helpop
                - essentials.info
                - essentials.list
                - essentials.mail
                - essentials.mail.send
                - essentials.me
                - essentials.motd
                - essentials.msg
                - essentials.realname
                - essentials.rules
                - essentials.seen
                - essentials.suicide
                - essentials.clearinventory
                - essentials.ping
                - essentials.back
                - essentials.back.ondeath
                - essentials.tpa
                - essentials.tpaccept
                - essentials.tpahere
                - essentials.tpdeny
                - essentials.tptoggle
                - essentials.warp
                - essentials.warp.list
                - essentials.kit.tools
                - skylandsplugin.goto
                - skylandsplugin.fly
                - lwc.protect
                - falsebook.blocks.*
                - lockette.user.create.*
                - iConomy.access
                - iConomy.bank.access
                - iConomy.bank.deposit
                - iConomy.bank.join
                - iConomy.bank.join.multiple
                - iConomy.bank.leave
                - iConomy.bank.list
                - iConomy.bank.main.*
                - iConomy.bank.transfer
                - iConomy.bank.transfer.multiple
                - iConomy.bank.withdraw
                - iConomy.list
                - iConomy.payment
                - iConomy.rank
                - stargate.use
                - whosthere.who
                - citizens.blacksmith.use.*
                - citizens.healer.use.*
                - citizens.trader.use.*
                - citizens.wizard.use.*
        Peasant:
            default: false
                prefix: '&b[Peasant]'
            inheritance:
                - Guest
            permissions:
                - essentials.item
                - falsebook.destroy.blocks
                - falsebook.blocks.area
                - essentials.give
                - falsebook.cart.*
                - mcbans.vote
                - mcbans.vote.kick
                - mcbans.vote.msg
        AdvBuilder:
            default: false
                prefix: '&1[AdvBuilder]'
            inheritance:
                - Builder
            permissions:
                - essentials.bigtree
                - essentials.tree
                - essentials.jump
                - essentials.top
                - essentials.tp
                - essentials.tppos
                - magiccarpet.mc
                - magiccarpet.ml
                - falsebook.anyic
        Donator:
            default: false
                prefix: '&6[Donator]'
            inheritance:
                - AdvBuilder
            permissions:
                - essentials.god
                - essentials.heal
                - essentials.time.*
                - essentials.ignore
                - essentials.nick
                - essentials.weather
                - essentials.tphere
                - essentials.time
                - stargate.create.personal
                - stargate.destroy.owner
                - stargate.free.use
                - stargate.free.create
                - stargate.free.destroy
                - stargate.option.hidden
                - stargate.option.alwayson
                - stargate.option.private
                - stargate.option.free
                - stargate.option.backwards
        Helper:
            default: false
                prefix: '&e[Helper]'
            inheritance:
                - Donator
            permissions:
                - essentials.god.others
                - essentials.helpop.receive
                - essentials.kick
                - essentials.invsee
                - essentials.jails
                - essentials.mute
                - essentials.home.others
                - essentials.tpo
                - essentials.teleport.timer.bypass
                - essentials.teleport.cooldown.bypass
                - lockette.admin.create.*
                - lockette.admin.bypass
                - stargate.create
                - stargate.destroy.all
                - mcbans.mute.player
                - mcbans.kick
                - mcbans.lookup
                - mcbans.ban.view
                - mcbans.mod
        Moderator:
            default: false
                prefix: '&5[Moderator]'
            inheritance:
                - Helper
            permissions:
                - essentials.unlimited
                - essentials.unlimited.item-all
                - essentials.unlimited.others
                - essentials.eco
                - essentials.setworth
                - essentials.nick.others
                - essentials.powertool
                - essentials.spawner
                - essentials.antioch
                - essentials.backup
                - essentials.ban
                - essentials.broadcast
                - essentials.burn
                - essentials.clearinventory.others
                - essentials.deljail
                - essentials.ext
                - essentials.fireball
                - essentials.kill
                - essentials.lightning
                - essentials.nuke
                - essentials.setjail
                - essentials.spawnmob
                - essentials.tempban
                - essentials.thunder
                - essentials.togglejail
                - essentials.jail.exempt
                - essentials.unban
                - essentials.delwarp
                - essentials.sethome.others
                - essentials.setwarp
                - essentials.tpall
                - essentials.tpohere
                - essentials.warp.otherplayers
                - essentials.portal
                - essentials.world
                - regios.list
                - regios.info
                - regios.exception
                - craftbook.ic.restricted.*
                - lwc.mod
                - lockette.admin.snoop
                - lockette.admin.break
                - multiverse.tp
                - iConomy.admin.account.*
                - iConomy.admin.bank.*
                - iConomy.admin.grant
                - iConomy.admin.hide
                - iConomy.admin.set
                - iConomy.admin.stats
                - superpickaxe.*
                - bb.admin.*
                - stargate.private
                - nocheat.notify
                - mcbans.mute.all
                - mcbans.unban
                - mcbans.ban.temp
                - mcbans.ban.local
                - mcbans.mod
        Admin:
            default: false
                prefix: '&c[Admin]'
            inheritance:
                - Moderator
            permissions:
                - essentials.itemspawn.exempt
                - essentials.jail.exempt
                - lwc.admin
                - stargate.hidden
                - payday.admin
                - LazyRoad.build
                - mcbans.admin
                - npcq.add
                - npcq.help
                - npcq.edit
                - npcq.remove
                - npcq.item
                - npcq.chain
                - citizens.admin
                - citizens.toggle.help
                - citizens.toggle.blacksmith
                - citizens.toggle.healer
                - citizens.toggle.trader
                - citizens.toggle.wizard
                - citizens.basic.create
                - citizens.basic.use.help
                - citizens.basic.use.info
                - citizens.basic.use.select
                - citizens.basic.use.list
                - citizens.basic.use.teleport
                - citizens.basic.modify.move
                - citizens.basic.modify.moveto
                - citizens.basic.modify.copy
                - citizens.basic.modify.remove
                - citizens.basic.modify.rename
                - citizens.basic.modify.color
                - citizens.basic.modify.settext
                - citizens.basic.modify.addtext
                - citizens.basic.modify.resettext
                - citizens.basic.modify.item
                - citizens.basic.modify.armor
                - citizens.basic.modify.lookat
                - citizens.basic.modify.talkclose
                - citizens.basic.modify.setowner
                - citizens.healer.modify.levelup
                - citizens.wizard.modify.mode
                - citizens.wizard.modify.addloc
                - citizens.wizard.modify.removeloc
                - citizens.wizard.modify.unlimited
                - citizens.npccount.unlimited
                - citizens.waypoints.edit
        Owner:
            default: false
                prefix: '&4[Owner]'
            inheritance:
                - Moderator
            permissions:
                - *
                - essentials.itemspawn.exempt
                - essentials.jail.exempt
                - lwc.admin
    worlds:
        nether:
            inheritance:
            - world
    If you could help me correct this hectic error, that would be great. I am used to the old Permissions and have am just trying to switch over to PEX now, so help would be greatly appreciated.
     
  20. Offline

    t3hk0d3

    brotip: use quotes!

    message-format: '%prefix%player%suffix: %message'
     
    Emiya Shirou likes this.
  21. Offline

    jasopesey

    ok sorry fixed it into a code box thanks
     
  22. My fault, I could have sworn that it was listed in the wiki. Look in the config.yml file, the setting is in there (and is on by default if I recall correctly).

    Code:
    2011-09-28 20:19:24 [SEVERE] while parsing a block mapping; expected <block end>, but found BlockMappingStart initializing PermissionsEx v1.14 (Is it up to date?)
    while parsing a block mapping
     in "<reader>", line 1, column 1:
        groups:
        ^
    expected <block end>, but found BlockMappingStart
     in "<reader>", line 22, column 5:
            Citizen:
            ^
    
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    Unless you posted something else that I've not seen, this is a config reader error.
     
  23. Offline

    t3hk0d3

    You are fucking kidding me?

    Im ready to switch into JSON from fucking YAML due its fucking identation issues

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

    Emiya Shirou

    hmm... I've used '%prefix%player%suffix' &e%message

    and it pooped that error but i didn't came up with using '%prefix%player%suffix &e%message'
    those ' ' quotes on whole text xD Will try it out in a minute ^^

    EDIT: It works! Thanks man, I love you <3 xD
     
  25. Offline

    ctshiner

    How do I get world specific default groups working? The plugin wont load unless there is a GLOBAL default group set, like:
    Code:
    groups:
        default:
            default: true
    But I want world-specific default groups, so I now do this:
    Code:
    pex set default group builder mainworld
    It executes just fine and everything, and I now have this:
    Code:
    groups:
        default:
            default: true
        builder:
            worlds:
                mainworld:
                    default: true
    but im still in group "default" instead of "builder" in mainworld. Like I said if I remove global default group, PEX will throw an error about no default group being set if I connect (I am in mainworld too)
     
  26. Offline

    mantas7776

    Code:
    2011-10-03 12:11:09 [SEVERE] [ChatManager] PermissionsEx not found, disabling
    2011-10-03 12:11:09 [INFO] [ChatManager] ChatManager disabled!
     
  27. Offline

    juli7796

    its not only dynmap... just an example :D
     
  28. Offline

    Cyberpew

    I'm just used to the original Permissions, and I must have made a mistake in converting the files.
     
  29. Offline

    Thequickthinkin

    [Prefix] PlayerName: Player msg.
    Code:
     <%prefix%player%suffix> &e%message
    
    Hi, Replace that with
    Code:
     '%prefix%player%suffix' &e%message
    
    It is because YAML doesn not like other characted such as % at the start so put ' infront of it :)
    ?[/quote]
     
  30. Offline

    gobadgers77

    Hello I didn't really want to read through 77 pages, how can I make it so my users all still have their Faction prefix (As in **Faction) in front of their name? Thanks.
     
  31. Offline

    Jeyge

    The #1 thing asked for from everyone who ever complained about a permission system was a better way to enter the permissions and not "please give us an API that only helps developers. YAML isn't the easiest thing to learn/use for the vast majority of users.
     

Share This Page