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

    tysonzero

    it says all the errors i'm getting are caused by this

    java.lang.NullPointerException

    these are errors from the server console

    2012-01-01 11:05:00 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'pex' in plugin PermissionsEx v1.18
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:374)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:564)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:541)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.NullPointerException
    at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:123)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    ... 7 more

    it says this ^ whenever i try to use a console command starting with "pex" other than just "pex" at which point it lists the entire list of "pex" commands

    2012-01-01 11:07:28 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'pex' in plugin PermissionsEx v1.18
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.NullPointerException
    at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:128)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    ... 12 more

    and this ^ is what i get when i type /pex or anything starting with /pex ingame.

    is this caused by config or permissions, i decided not to upload since i doubted it could be permissions since i barely changed them and kept it all lowercase and such, and idk how it could be the config since all i did was copy and paste it out of and back into the file so it wouldn't be one massive string of words on the same line.

    any idea what this could be?

    oh and also on a side note it says "permissions.jar" is a bridge from the older permissions. since i never used those permissions can i go ahead and delete that jar file? i am currently using "Permissions" and "PermissionEx" plugins

    oh and i just realized when i start the server its giving me an error while enabling pex v1.18... i assume this is whats causing the other errors. but what is causing the error while enabling pex? it asks if its up to date but i'm pretty sure it is i got it recently, and this thread says v1.17 so is it telling me my pex is from the future :eek: and it wants the previous version?

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

    piousminion

    I am 100% certain. I also tested it once more.
    Replacing the 1.17(which claims to be 1.16 in the error) with the real 1.16 fixed the issue immediately.
     
  4. Offline

    zaklampje

    Hmm, got a problem with the permissionnode: permissions.manage.membership.<group>

    Code:
    groups:
        Guest:
            default: true
            options:
                rank: '3'
            permissions:
            - modifyworld.chat
            - multiverse.access.*
            prefix: '[Guest]'
        Player:
            default: false
            options:
                rank: '2'
            permissions:
            - modifyworld.*
            prefix: '[Player]'
        Mini-Mod:
            default: false
            options:
                rank: '1'
            permissions:
            - modifyworld.*
            - permissions.manage.membership.Guest
            - permissions.manage.membership.Player
            prefix: '[Mini-Mod]'
    the Mini-Mod can't use the command: /pex user (user) group set (group). Ideas?

    Note: I removed all other permissions, and I changed the names, to prevent people from stealing our server-ideas. If you need more info, simply ask.
     
  5. Offline

    Rogach

    Hey, i have an error which i assume is very easly solved i just don't understand the error logs... so i ask here for help.
    So i was messing with chat manager config and setting up my permissions and then i started gettting this anoying errors and the permissions didn't work at all...
    When i start the server this is the first error:
    Then i keep getting this errors over and over again:
    What shuld i do?
    These are my configs for chat manager and PEX:
    Code:
    permissions:
        backends:
            file:
                file: permissions.yml
        backend: file
        superperms:
            parent-nodes: true
            enable: true
            strict-mode: false
        createUserRecords: false
        allowOps: false
        debug: false
        basedir: plugins/PermissionsEx

    Code:
    chat-range: 100.0
    display-name-format: '%prefix%suffix%player'
    global-message-format: <%prefix|%suffix%player> &e%message
    enable: true
    message-format: <%prefix%suffix%player> %
    messageranged-mode: false
     
  6. Offline

    zaklampje

    Post your permission-file please.
     
  7. Offline

    Rogach

    Code:
    groups:
        Navadn:
            default: true
            prefix: '&6[&7Navadn&6] &f
            suffix: '&f'
            permissions:
            worlds:
                world:
                    permissions:
        Mescan:
            default: false
            prefix:
            suffix:
            permissions:
            worlds:
                world:
                    permissions:
        Zidar:
            default: false
            prefix:
            suffix:
            permissions:
            worlds:
                world:
                    permissions:
        Moderator:
            default: false
            prefix:
            suffix:
            permissions:
            worlds:
                world:
                    permissions:
        Admin:
            default: false
            prefix:
            suffix:
            permissions:
            worlds:
                world:
                    permissions:
        Co-Owner:
            default: false
            prefix:
            suffix:
            permissions:
            worlds:
                world:
                    permissions:
        Jan:
            default: false
            prefix: '&4[&2MaloJaci&1]'
            suffix: '&8[&7Jan&6] &3'
            permissions:
            - permissions.manage
            - permissions.manage.reload
            - permissions.manage.config
            - permissions.manage.backend
            - permissions.manage.users
            - permissions.manage.dump
            - permissions.manage.worlds
            - permissions.manage.worlds.inheritance
            - permissions.manage.users
            - permissions.manage.users.permissions
            - permissions.manage.users.permissions.timed
            - permissions.manage.membership
            - permissions.manage.groups.inheritance
            - permissions.manage.groups
            - permissions.manage.groups.create
            - permissions.manage.groups.remove
            - permissions.manage.groups.permissions
            - permissions.manage.groups.permissions.timed
            - '*'
    users:
        Rogach:
            group:
            - Jan
     
  8. Offline

    zaklampje

    Error?
     
  9. Offline

    CubieX

    Having all above Member on rank 8 is made by purpose. ;)
    I dont want my mods or supporters to be able to promote further than "Member" in the ladder and also prevent double-promotions of 2 Mods that are using the /promote command shortly after another, accidently making members to supporters or something....
    Only Admins should be able to do that via the direct "/pex user NAME group set" command. Therefore I gave them all the same rank and only Members an Guests a lower one.

    The weird thing is, SOME of my Mods actually can promote Guests, but some cannot.
    But they all have the exact same user entry with no options or special permissions. That's what I don't get here.
    Why some can and some can't.
     
  10. Offline

    hdormitzer

    thank you so much! it works now :D
     
  11. Offline

    Morsackra

    This plugin is sooo easy to use :p and that is good!
    but not the errors
    Code:
    08:57 PM [SEVERE] Exception in thread "AWT-EventQueue-0"
    08:57 PM [SEVERE] org.bukkit.command.CommandException: Unhandled exception executing command 'pex' in plugin PermissionsEx v1.17
    08:57 PM [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    08:57 PM [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:165)
    08:57 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
    08:57 PM [SEVERE] at me.escapeNT.pail.GUIComponents.ServerConsolePanel$ConsoleCommandListener.actionPerformed(ServerConsolePanel.java:69)
    08:57 PM [SEVERE] at javax.swing.JTextField.fireActionPerformed(Unknown Source)
    08:57 PM [SEVERE] at javax.swing.JTextField.postActionEvent(Unknown Source)
    08:57 PM [SEVERE] at javax.swing.JTextField$NotifyAction.actionPerformed(Unknown Source)
    08:57 PM [SEVERE] at javax.swing.SwingUtilities.notifyAction(Unknown Source)
    08:57 PM [SEVERE] at javax.swing.JComponent.processKeyBinding(Unknown Source)
    08:57 PM [SEVERE] at javax.swing.JComponent.processKeyBindings(Unknown Source)
    08:57 PM [SEVERE] at javax.swing.JComponent.processKeyEvent(Unknown Source)
    08:57 PM [SEVERE] at java.awt.Component.processEvent(Unknown Source)
    08:57 PM [SEVERE] at java.awt.Container.processEvent(Unknown Source)
    08:57 PM [SEVERE] at java.awt.Component.dispatchEventImpl(Unknown Source)
    08:57 PM [SEVERE] at java.awt.Container.dispatchEventImpl(Unknown Source)
    08:57 PM [SEVERE] at java.awt.Component.dispatchEvent(Unknown Source)
    08:57 PM [SEVERE] at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
    08:57 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
    08:57 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
    08:57 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
    08:57 PM [SEVERE] at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
    08:57 PM [SEVERE] at java.awt.Component.dispatchEventImpl(Unknown Source)
    08:57 PM [SEVERE] at java.awt.Container.dispatchEventImpl(Unknown Source)
    08:57 PM [SEVERE] at java.awt.Window.dispatchEventImpl(Unknown Source)
    08:57 PM [SEVERE] at java.awt.Component.dispatchEvent(Unknown Source)
    08:57 PM [SEVERE] at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    08:57 PM [SEVERE] at java.awt.EventQueue.access$000(Unknown Source)
    08:57 PM [SEVERE] at java.awt.EventQueue$3.run(Unknown Source)
    08:57 PM [SEVERE] at java.security.AccessController.doPrivileged(Native Method)
    08:57 PM [SEVERE] at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    08:57 PM [SEVERE] at java.awt.EventQueue$4.run(Unknown Source)
    08:57 PM [SEVERE] at java.security.AccessController.doPrivileged(Native Method)
    08:57 PM [SEVERE] at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    08:57 PM [SEVERE] at java.awt.EventQueue.dispatchEvent(Unknown Source)
    08:57 PM [SEVERE] at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    08:57 PM [SEVERE] at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    08:57 PM [SEVERE] at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    08:57 PM [SEVERE] at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    08:57 PM [SEVERE] at java.awt.EventDispatchThread.run(Unknown Source)
    08:57 PM [SEVERE] Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Default user group is not defined. Please select one using the "default: true" property
    08:57 PM [SEVERE] at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:127)
    08:57 PM [SEVERE] at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:124)
    08:57 PM [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    08:57 PM [SEVERE] ... 42 more
    08:57 PM [SEVERE] Caused by: java.lang.RuntimeException: Default user group is not defined. Please select one using the "default: true" property
    08:57 PM [SEVERE] at ru.tehkode.permissions.backends.FileBackend.getDefaultGroup(FileBackend.java:157)
    08:57 PM [SEVERE] at ru.tehkode.permissions.PermissionManager.getDefaultGroup(PermissionManager.java:285)
    08:57 PM [SEVERE] at ru.tehkode.permissions.PermissionManager.getDefaultGroup(PermissionManager.java:274)
    08:57 PM [SEVERE] at ru.tehkode.permissions.PermissionUser.getGroups(PermissionUser.java:221)
    08:57 PM [SEVERE] at ru.tehkode.permissions.PermissionUser.getOption(PermissionUser.java:132)
    08:57 PM [SEVERE] at ru.tehkode.permissions.PermissionEntity.getOptionBoolean(PermissionEntity.java:298)
    08:57 PM [SEVERE] at ru.tehkode.permissions.PermissionEntity.initialize(PermissionEntity.java:57)
    08:57 PM [SEVERE] at ru.tehkode.permissions.PermissionUser.initialize(PermissionUser.java:53)
    08:57 PM [SEVERE] at ru.tehkode.permissions.ProxyPermissionUser.initialize(ProxyPermissionUser.java:41)
    08:57 PM [SEVERE] at ru.tehkode.permissions.PermissionManager.getUser(PermissionManager.java:116)
    08:57 PM [SEVERE] at ru.tehkode.permissions.bukkit.commands.UserCommands.userAddPermission(UserCommands.java:301)
    08:57 PM [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    08:57 PM [SEVERE] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    08:57 PM [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    08:57 PM [SEVERE] at java.lang.reflect.Method.invoke(Unknown Source)
    08:57 PM [SEVERE] at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(CommandsManager.java:260)
    08:57 PM [SEVERE] at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:120)
    08:57 PM [SEVERE] ... 44 more
    
     
  12. Offline

    mxm24

    Can you make your chat plugin support display names?
     
  13. Offline

    zaklampje

    You need a default-group.

    It does...
     
  14. Offline

    mxm24

    When I tryed it, it didn't work.

    is there like a display name macro?

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

    Rogach

    I posted my permissions file like you aked.
    The error is in the post above.
     
  16. Offline

    Nuinbot

    This might sound like a dumb question:

    Can I comment inside a permissions file? If so, what syntax do I use? Thanks!
     
  17. Offline

    Morsackra

     
  18. Offline

    zaklampje

    Post your Permissions.yml. I'll explain.

    Well, then is my question, why?

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

    Nuinbot

    To make specific notes in case the permission node is vague. That way, I don't have to look it up. Call it a good habit learned from programming.
     
  20. Offline

    zaklampje

    You can try it with a '#' in front of it.
     
  21. Yes. If you don't have any plugins that use the old Permissions 2/3, you don't have to install it.:)
    PEX will unload itself if there is a problem with your configs. Need to take a look at your permissions setup and your PEX config files.

    Well, I'm not 100% sure as to what part you are referring to, or what you have tried, but let me put this out fiirst:

    Breaking down what you posted, the prefix part that shows the group would be set in the permissions for the group under the prefix: header (Reference: https://github.com/t3hk0d3/PermissionsEx/wiki/Basic-Permissions-Setup#wiki-file-backend-example).

    The overall format (group-name-message) is set in the chatmanager config.yml (Reference: https://github.com/t3hk0d3/PermissionsEx/wiki/Chat-Manager#wiki-Configuration), if you are using that one, and needs to be set as active in said config as well.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Feb 15, 2019
  22. Offline

    Phinary

    If you use the mysql backend, if you add someone to a group using a php script to modify the database, do you need to reload pex to make it update in game?
     
  23. Interesting. I'd like to look at your configs, if I can, as I just downloaded command helper and added the line you listed (/promote $player [$group=Builder] = /pex user $player group set $group).

    Running PEX 1.17 and CH 3.2.0 on my test server worked (/promote $player promoted the player to the Builder group) with no errors.
     
  24. Offline

    Nentify

    I couldn't work it out myself, how do I set different message formats for different users/groups?
     
  25. What do you mean by formats? Can you give an example?
     
  26. Offline

    Nentify

    Me:
    [Owner] Nentify: &6Hello
    %prefix%player: &6%message

    User:
    [Member] Name: Hello
    %prefix%player: %message

    How would I make these different?
     
  27. Offline

    Nentify

    I realise my examples were bad, I'll use these examples:

    My chat:
    %prefix%player: &6%message

    Other chat:
    %prefix%player: %message
     
  28. Offline

    Sweetmezable

    2012-01-01 20:49:33 [INFO] Essentials: Using PermissionsEx based permissions.
    2012-01-01 20:49:33 [SEVERE] Could not pass event PLUGIN_ENABLE to Essentials
    java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:152)
    at com.earth2me.essentials.perm.PermissionsExHandler.<init>(PermissionsExHandler.java:17)
    at com.earth2me.essentials.perm.PermissionsHandler.checkPermissions(PermissionsHandler.java:109)
    at com.earth2me.essentials.EssentialsPluginListener.onPluginEnable(EssentialsPluginListener.java:23)
    at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:590)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:975)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    2012-01-01 20:49:33 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2012-01-01 20:49:33 [INFO] Done (0.667s)! For help, type "help" or "?"
    2012-01-01 20:49:43 [INFO] [MineBackup] Backup started
    2012-01-01 20:49:51 [INFO] [Auto] We have factions!
    Can you help me?
     
  29. Offline

    tysonzero

    users:
    tysonzero
    group: owner

    groups:
    default:
    default: true
    permissions:
    - modifyworld.*
    owner:
    default: false
    permissions:
    - permissions.*


    permissions:
    backends:
    file:
    file: permissions.yml
    backend: file
    superperms:
    parent-nodes: true
    enable: true
    strict-mode: false
    createUserRecords: false
    allowOps: false
    debug: false
    basedir: plugins\PermissionsExpermissions:
    backends:
    file:
    file: permissions.yml
    backend: file
    superperms:
    parent-nodes: true
    enable: true
    strict-mode: false
    createUserRecords: false
    allowOps: false
    debug: false
    basedir: plugins\PermissionsEx4e
     
  30. Offline

    Stormbow

    Unfortunately, we don't see the red writing to which you are referring.

    The difference between a tab and a space is kind of like saying "like" (english) and "gusta" (like in Spanish). They both mean the same thing, but some computer programming languages don't understand Spanish, so when they come to "gusta" (a tab) in your permissions.yml, they can't figure out what's going on and you have problems and errors pop up.

    The .yml (pronounced "yam-el") files we set all our configurations and permissions in doesn't speak Spanish (doesn't understand what a tab is), so when you use the tab key to indent your codes, it creates errors. To make sure there are no errors, you have to make sure everything is indented the same distance and only use spaces to do so.

    Here is a corrected version of your pastebin code: http://pastebin.com/aACsJSwq

    You can look at your linked code and the one I made together to see the differences HERE. (Basically, there were a lot of lines full of empty space that I removed, there was a tab before the - commandbin.sethome permission in the default group, and there were spacing/indent errors with the entire Cop group. Everything should work fine now.)

    Please be sure to put your codes inside the [ Code ] tags (the { }# button above the textarea you type in) so we can see the exact spacing of things. It helps a lot. Thanks.

    Can you post your permissions.yml inside [ Code ] tags (the { }# button above the textarea you type in) so we can see the exact spacing of things. I think this problem comes up when there's a formatting issue like I mentioned in the above post also.


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

    Sweetmezable

Share This Page