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

    Sean Duran

    Loving PermissionsEx!

    Is there a way to get nicknames to work with ChatManager?
     
  3. Umm, it is read top down, which is what I stated...

    I wouldn't call the way PEX does it's permissions reading 'screwed up', it makes sense if one understands how it reads them.

    Incidentally, this is also how a lot of firewalls read their rule sets. :)

    I get the impression that t3hkod3 figured that more people would use the sql method for permissions storage and has done most of the work on that backend vs the file one, but that's just speculation.

    Regardless, I don't find it to be that much of an issue, and a small quirk of the plugin is not going to stop me from using what I consider to be one of the most flexible permissions plugins available. Is it perfect? No, it's not. Nothing is perfect (All hardware sucks, all software sucks, some just suck more than others), but out of the ones I've looked at, PEX is the best of the bunch for my needs.

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

    Peter_Warwick

    Maybe It's just because I'm a noob at this :p But I get these errors when I try to add my to the admin group:

    Code:
    24.09 16:26:02 [Server] INFO     ... 9 more
    24.09 16:26:02 [Server] INFO     at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:120)
    24.09 16:26:02 [Server] INFO     at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(CommandsManager.java:298)
    24.09 16:26:02 [Server] INFO     at java.lang.reflect.Method.invoke(Unknown Source)
    24.09 16:26:02 [Server] INFO     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    24.09 16:26:02 [Server] INFO     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    24.09 16:26:02 [Server] INFO     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    24.09 16:26:02 [Server] INFO     at ru.tehkode.permissions.bukkit.commands.UserCommands.userAddGroup(UserCommands.java:457)
    24.09 16:26:02 [Server] INFO     at ru.tehkode.permissions.bukkit.commands.PermissionsCommand.autoCompleteGroupName(PermissionsCommand.java:127)
    24.09 16:26:02 [Server] INFO     at ru.tehkode.permissions.bukkit.commands.PermissionsCommand.autoCompleteGroupName(PermissionsCommand.java:133)
    24.09 16:26:02 [Server] INFO     at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:140)
    24.09 16:26:02 [Server] INFO Caused by: java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    24.09 16:26:02 [Server] INFO     ... 7 more
    24.09 16:26:02 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    24.09 16:26:02 [Server] INFO     at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:123)
    24.09 16:26:02 [Server] INFO     at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:127)
    24.09 16:26:02 [Server] INFO Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    24.09 16:26:02 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    24.09 16:26:02 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    24.09 16:26:02 [Server] INFO     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
    24.09 16:26:02 [Server] INFO     at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
    24.09 16:26:02 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:349)
    24.09 16:26:02 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    24.09 16:26:02 [Server] INFO     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    24.09 16:26:02 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
    24.09 16:26:02 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'pex' in plugin PermissionsEx v1.14
    24.09 16:26:02 [Server] WARNING Unexpected exception while parsing console command
    Here is My Permissoions config:

    Code:
    groups:
        :
            default: true
            permissions:
            - modifyworld.*
            - commandbook.spawn
            - commandbook.teleport
            - commandbook.who
            - commandbook.motd
            - commandbook.rules
    Builder:
        Default: false
        permissions:
        - Worldedit.replace
        - Worldedit.set
        - commandbook.give
        - commandbook.who
        - commandbook.motd
        - commandbook.rules
        - commandbook.time
        - commandbook.weather
        - commandbook.spawn
        - commandbook.teleport
        - Commandbook.teleport.other
        prefix:'&9[Builder]&9'
    
    Admin:
         Default: False
         Permissions:
         - *
    
    I get this problem when i try to add me to any group.

    Wondering if this is my fault or a fault in the plugin
     
  5. Offline

    t3hk0d3

    Bingo. Also this is pretty much strict, but keep your permissions in order.

    Check your default group name :)

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

    jesse1212

    Uhhhh. Whtas goin on?
     
  7. You have a non-allowed character in your config file, probably a tab. The error lists the line and column where it found it. I would suggest dropping your config into a YAML parser (there is a nice one linked in my sig) and edit it until it it comes back clean.
     
  8. Offline

    jesse1212

    thanks
    EDIT- you were right, my notepad++ forgot to change the tab to spaces lol
     
  9. Offline

    Peter_Warwick

    Thank you for the quick response, Yes that was rather noobish of me how ever that does not seem to be the problem.

    I Fixed it and Changed the tabing and spacing to what it is supposed to be.

    Code:
    groups:
            default: false
            permissions:
            - modifyworld.*
            - commandbook.spawn
            - commandbook.teleport
            - commandbook.who
            - commandbook.motd
            - commandbook.rules
    
        Builder:
            Default: false
            permissions:
            - Worldedit.replace
            - Worldedit.set
            - commandbook.give
            - commandbook.who
            - commandbook.motd
            - commandbook.rules
            - commandbook.time
            - commandbook.weather
            - commandbook.spawn
            - commandbook.teleport
            - Commandbook.teleport.other
            prefix:'&9[Builder]&9'
    
        Admin:
            Default: False
            Permissions:
            - *
    
    But I still get this error

    Code:
    24.09 16:50:29 [Server] INFO     ... 9 more
    24.09 16:50:29 [Server] INFO     at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:120)
    24.09 16:50:29 [Server] INFO     at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(CommandsManager.java:298)
    24.09 16:50:29 [Server] INFO     at java.lang.reflect.Method.invoke(Unknown Source)
    24.09 16:50:29 [Server] INFO     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    24.09 16:50:29 [Server] INFO     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    24.09 16:50:29 [Server] INFO     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    24.09 16:50:29 [Server] INFO     at ru.tehkode.permissions.bukkit.commands.UserCommands.userAddGroup(UserCommands.java:456)
    24.09 16:50:29 [Server] INFO     at ru.tehkode.permissions.bukkit.commands.PermissionsCommand.autoCompletePlayerName(PermissionsCommand.java:65)
    24.09 16:50:29 [Server] INFO     at ru.tehkode.permissions.bukkit.commands.PermissionsCommand.autoCompletePlayerName(PermissionsCommand.java:98)
    24.09 16:50:29 [Server] INFO     at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:140)
    24.09 16:50:29 [Server] INFO Caused by: java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    24.09 16:50:29 [Server] INFO     ... 7 more
    24.09 16:50:29 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    24.09 16:50:29 [Server] INFO     at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:123)
    24.09 16:50:29 [Server] INFO     at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:127)
    24.09 16:50:29 [Server] INFO Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    24.09 16:50:29 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    24.09 16:50:29 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    24.09 16:50:29 [Server] INFO     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
    24.09 16:50:29 [Server] INFO     at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
    24.09 16:50:29 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:349)
    24.09 16:50:29 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    24.09 16:50:29 [Server] INFO     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    24.09 16:50:29 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
    24.09 16:50:29 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'pex' in plugin PermissionsEx v1.14
    24.09 16:50:29 [Server] WARNING Unexpected exception while parsing console command
    
    Thank you very much for your help. I ran this plugin on an older server and really enjoy'd it

    Also Found this while trying to make it work

    Code:
    24.09 17:00:41 [Server] INFO     ... 9 more
    24.09 17:00:41 [Server] INFO     at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:120)
    24.09 17:00:41 [Server] INFO     at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(CommandsManager.java:298)
    24.09 17:00:41 [Server] INFO     at java.lang.reflect.Method.invoke(Unknown Source)
    24.09 17:00:41 [Server] INFO     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    24.09 17:00:41 [Server] INFO     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    24.09 17:00:41 [Server] INFO     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    24.09 17:00:41 [Server] INFO     at ru.tehkode.permissions.bukkit.commands.UserCommands.userAddGroup(UserCommands.java:456)
    24.09 17:00:41 [Server] INFO     at ru.tehkode.permissions.bukkit.commands.PermissionsCommand.autoCompletePlayerName(PermissionsCommand.java:65)
    24.09 17:00:41 [Server] INFO     at ru.tehkode.permissions.bukkit.commands.PermissionsCommand.autoCompletePlayerName(PermissionsCommand.java:98)
    24.09 17:00:41 [Server] INFO     at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:140)
    24.09 17:00:41 [Server] INFO Caused by: java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    24.09 17:00:41 [Server] INFO     ... 7 more
    24.09 17:00:41 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    24.09 17:00:41 [Server] INFO     at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:123)
    24.09 17:00:41 [Server] INFO     at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:127)
    24.09 17:00:41 [Server] INFO Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    24.09 17:00:41 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    24.09 17:00:41 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    24.09 17:00:41 [Server] INFO     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
    24.09 17:00:41 [Server] INFO     at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
    24.09 17:00:41 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:349)
    24.09 17:00:41 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    24.09 17:00:41 [Server] INFO     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    24.09 17:00:41 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
    24.09 17:00:41 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'pex' in plugin PermissionsEx v1.14
    24.09 17:00:41 [Server] WARNING Unexpected exception while parsing console command
    24.09 17:00:28 [Server] Startup Done (0.171s)! For help, type "help" or "?"
    24.09 17:00:28 [Server] INFO Server permissions file permissions.yml is empty, ignoring it
    24.09 17:00:28 [Server] INFO [ChatManager] ChatManager disabled!
    24.09 17:00:28 [Server] SEVERE [ChatManager] PermissionsEx not found, disabling
    24.09 17:00:28 [Server] INFO [Modifyworld] Modifyworld disabled!
    24.09 17:00:28 [Server] SEVERE [Modifyworld] PermissionsEx not found, disabling
    24.09 17:00:28 [Server] INFO CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    24.09 17:00:28 [Server] INFO WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    24.09 17:00:28 [Server] INFO [PermissionsCompat] Compatibility layer enabled.
    24.09 17:00:28 [Server] INFO CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    24.09 17:00:28 [Server] INFO CommandBook: 1 kit(s) loaded.
    24.09 17:00:28 [Server] INFO CommandBook: 0 banned name(s) loaded.
    24.09 17:00:28 [Server] INFO CommandBook: Maximum wrapper compatibility is enabled. Some features have been disabled to be compatible with poorly written server wrappers.
    24.09 17:00:28 [Server] INFO CommandBook 1.5.2 enabled.
    24.09 17:00:28 [Server] INFO [HELP] 0.3.2 enabled
    24.09 17:00:28 [Server] INFO [HELP] Permissions enabled using: Permissions v2.7.7
    24.09 17:00:28 [Server] INFO [HELP] 0 extra help entries loaded
    24.09 17:00:28 [Server] INFO [PermissionsEx] v1.14 enabled
    24.09 17:00:28 [Server] INFO [PermissionsEx] Superperms support enabled.
    24.09 17:00:28 [Server] INFO WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    24.09 17:00:28 [Server] INFO WorldEdit 4.6 enabled.
    24.09 17:00:28 [Server] INFO [ConsoleName] Plugin enabled.
    24.09 17:00:28 [Server] INFO iChat (v2.4.0-final) enabled
    24.09 17:00:28 [Server] INFO [iChat] Permissions not found, Checking for GroupManager.
    24.09 17:00:28 [Server] INFO VoxelSniper version 5.019 is enabled! Snipe away.
    24.09 17:00:28 [Server] INFO [VoxelSniper] Config loaded
    24.09 17:00:28 [Server] INFO Preparing spawn area: 44%
    24.09 17:00:27 [Server] INFO Preparing start region for level 1 (Seed: -5322145872808534879)
    24.09 17:00:27 [Server] INFO Preparing start region for level 0 (Seed: -1101747670798198078)
    24.09 17:00:27 [Server] INFO Default game type: 1
    24.09 17:00:27 [Server] INFO Preparing level "Rivers"
    24.09 17:00:27 [Server] WARNING [PermissionsCompat] PermissionsEx plugin not found. Some plugins may not work.
    24.09 17:00:27 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    24.09 17:00:27 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    24.09 17:00:27 [Server] INFO     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
    24.09 17:00:27 [Server] INFO     at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    24.09 17:00:27 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:103)
    24.09 17:00:27 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:141)
    24.09 17:00:27 [Server] INFO     at ru.tehkode.permissions.bukkit.PermissionsEx.onLoad(PermissionsEx.java:73)
    24.09 17:00:27 [Server] INFO     at ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.java:53)
    24.09 17:00:27 [Server] INFO     at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManager.java:471)
    24.09 17:00:27 [Server] INFO     at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager.java:420)
    24.09 17:00:27 [Server] INFO     at ru.tehkode.permissions.backends.FileBackend.initialize(FileBackend.java:104)
    24.09 17:00:27 [Server] INFO     at ru.tehkode.permissions.config.Configuration.load(Configuration.java:65)
    24.09 17:00:27 [Server] INFO     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    24.09 17:00:27 [Server] INFO     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    24.09 17:00:27 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    24.09 17:00:27 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    24.09 17:00:27 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    24.09 17:00:27 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    24.09 17:00:27 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    24.09 17:00:27 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    24.09 17:00:27 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    24.09 17:00:27 [Server] INFO     at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
    24.09 17:00:27 [Server] INFO     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    24.09 17:00:27 [Server] INFO     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    24.09 17:00:27 [Server] INFO     at org.yaml.snakeyaml.parser.ParserImpl$ParseIndentlessSequenceEntry.produce(ParserImpl.java:536)
    24.09 17:00:27 [Server] INFO     at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:182)
    24.09 17:00:27 [Server] INFO     at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:231)
    24.09 17:00:27 [Server] INFO     at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:400)
    24.09 17:00:27 [Server] INFO             ^
    24.09 17:00:27 [Server] INFO             Admin:
    24.09 17:00:27 [Server] INFO  in "<reader>", line 28, column 9:
    24.09 17:00:27 [Server] INFO could not found expected ':'
    24.09 17:00:27 [Server] INFO             ^
    24.09 17:00:27 [Server] INFO             prefix:'&9[Builder]&9'
    24.09 17:00:27 [Server] INFO  in "<reader>", line 25, column 9:
    24.09 17:00:27 [Server] INFO while scanning a simple key
    24.09 17:00:27 [Server] SEVERE while scanning a simple key; could not found expected ':' initializing PermissionsEx v1.14 (Is it up to date?)
    24.09 17:00:27 [Server] INFO [PermissionsEx] Initializing file backend
    24.09 17:00:27 [Server] INFO [PermissionsCompat] Compatibility Layer Initalized!
    24.09 17:00:27 [Server] INFO [PermissionsEx] p2compat backend registered!
    24.09 17:00:26 [Server] INFO [PermissionsEx] PermissionEx plugin initialized.
    24.09 17:00:26 [Server] INFO [PermissionsEx] file backend registered!
    24.09 17:00:26 [Server] INFO [PermissionsEx] sql backend registered!
    24.09 17:00:26 [Server] INFO This server is running Craftbukkit version git-Bukkit-0.0.0-1046-gfee8f92-b1152jnks (MC: 1.8.1)
    24.09 17:00:26 [Server] INFO Starting Minecraft server on 69.25.207.83:25565
    24.09 17:00:26 [Server] INFO Loading properties
    24.09 17:00:26 [Server] WARNING To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    24.09 17:00:26 [Server] WARNING **** NOT ENOUGH RAM!
    24.09 17:00:26 [Server] INFO Starting minecraft server version Beta 1.8.1
    24.09 17:00:26 [Server] INFO 17 achievements
    24.09 17:00:26 [Server] INFO 161 recipes
    24.09 17:00:26 [Multicraft] Loaded config for "Testing"
    24.09 17:00:26 [Multicraft] Starting Minecraft!
    24.09 17:00:26 [Multicraft] Loading Minecraft instance properties
    24.09 17:00:25 [Multicraft] Minecraft stopped
    24.09 17:00:23 [Multicraft] Minecraft shut down
    24.09 17:00:23 [Server] INFO Saving chunks
    24.09 17:00:23 [Server] INFO CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    24.09 17:00:23 [Server] INFO WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    24.09 17:00:23 [Server] INFO [HELP] disabled
    24.09 17:00:23 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  10. Offline

    t3hk0d3

    :)
     
  11. Actually t3hk0d3, you missed two things. :)

    Prefix line under builders (needs a space after the prefix: section) and the wildcard for Admin (needs '*', not just a plain *).
     
  12. Offline

    monir

    How do i set upp permissions.yml if i have multi worlds
     
  13. Offline

    jullianluna

    Thanks, that worked for me.
     
  14. Offline

    Peter_Warwick

    Thank You very much for your help! It worked.

    Much Appreciated, Keep up the great work
     
  15. There may be better ways of doing this, but I use something similar to this:
    Code:
        Builders:
            permissions:
            worlds:
                creative:
                    permissions:
                    - -permission2
                    - permission1
    This allows the group named builders access to the listed permission node listed but only in the world named creative.

    The first post under FAQ has another method of doing it, and I believe there are some other examples earlier in the thread if you search for them.
     
  16. Offline

    Peter_Warwick

    Wait Last question i promis. Here is My config. I'm trying to get prefixs to work
    Code:
    groups:
        default:
            default: false
            permissions:
            - modifyworld.*
            - commandbook.spawn
            - commandbook.teleport
            - commandbook.who
            - commandbook.motd
            - commandbook.rules
        Builder:
            Default: false
            permissions:
            - Worldedit.replace
            - Worldedit.set
            - commandbook.give
            - commandbook.who
            - commandbook.motd
            - commandbook.rules
            - commandbook.time
            - commandbook.weather
            - commandbook.spawn
            - commandbook.teleport
            - Commandbook.teleport.other
            prefix: '&9[&9Builder&9]&'
        Admin:
            Default: false
            Permissions:
            - '*'
            prefix: '&4Admin&4'
    users:
        Peter_Warwick:
            group:
            - Admin
        Bartking:
            group:
            - Builder
    
    and My Chatmanager code
    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
    
    How can i make prefixs work

    Thanks
     
  17. Offline

    mau5on

    When I talk in game I do not have a prefix/suffix. How can I fix this?

    ChatManager Config File
    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
    
    PEX Permissions File
    Code:
    groups:
        Citizen:
            default: true
            permissions:
            - modifyworld.*
        Prefix: '&b[&bCitizen&b]&f'
        Suffix: '&f'
    
        PrimeMinister:
            default: false
            permissions:
            - '*'
        Prefix: '&b[&bPrime Minister&b]&f'
        Suffix: '&f'
    users:
        mau5on:
            group:
            - PrimeMinister
    
    PEX Config File
    Code:
    permissions:
        backends:
            file:
                file: permissions.yml
        backend: file
        superperms:
            disable-unmatched: false
            enable: true
            matched-permissions: true
            debug: false
            raw-permissions: true
        createUserRecords: false
        allowOps: false
        debug: false
        basedir: plugins\PermissionsEx
    
     
  18. Offline

    BadDog

    @monir
    If you want permissions to be the same for some worlds, you can set a global config too. I'm not sure, but I seem to remember that you can then set rules for each world and they will prevail on the global config. That may be faster than repeating the same custom thing for each world.
     
  19. Offline

    jesse1212

    im havin another error...

    Here is my Permissions.yml-

    Code:
    Groups:
        Default:
            Default: true
            Permissions:
            - -'*'
        Admin:
            Default: False
            Permissions:
            - '*'
        Moderators:
            Default: False
            Permissions :
            - -Godpowers.*
            - -Alerter.*
            - -Worldedit.*
            - -Safecreeper.*
            - -SpawnMob.*
            - '*'
        Operators:
            Default: false
            Permissions:
            - -alerter.*
            - -Worldedit.*
            - -SpawnMob.*
            - -GodPowers.zeus
            - -Godpowers.Inferno
            - -Godpowers.vulcan
            - '*'
    Users:
        NAME:
            Group:
            - Admin
        NAME2:
            group:
            - Moderator
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  20. The first line of the error points out what the problem is.:)

    And your config file, use code tags please. Dropping it in quote tags doesn't preserve the spaces and YAML is dependent on proper spacing.
     
  21. Offline

    jesse1212

    uhh.. sorry lol didnt notice
    but... what does it mean exactly, they are listed?!
     
  22. Your config file, if it has all the lines on the left like what is showing, is incorrect, you have to indent the lines in the proper format using spaces (replace anything that would be a tab with four spaces).

    https://yaml-online-parser.appspot.com/ is a handy tool to verify a YAML file and will show what the YAML parser sees on the fly as you type.

    Put your config file in that web page and look on the right, you will see that the YAML parser doesn't see most of your config. Start adding the spaces and you should be able to pick up what needs to be done.

    Here is a starting hint: Put four spaces in front of the Default: line under the Groups: line and watch the parser to see what changes.
     
  23. Offline

    jesse1212

    Thanks i was a little, uh, Slower than usual lol



    i guess im still slow, same prob lol. sorry
    thanks again!
     
  24. :D

    Quite all right. Everyone has slow moments (I certainly am not immune to them). The key thing is that you took the hints and pointers and worked to get the problem fixed vs wanting the answer just handed to you.

    If more people would do this, the forums would be a lot better. :)
     
  25. Offline

    Donny

    Cant find any info on these settings. Checked the wiki, tutorial, and recent posts.

    superperms:
    disable-unmatched: false <--- what does this do?
    enable: true <--- Allows PEX to act like superperms I'm assuming
    matched-permissions: true <--- what do?
    raw-permissions: true <-- maybe lets users use "node.node.*" ??
    debug: false <-- meh
    allowOps: true <--- lets "*" nodes be used and or gives "*" nodes to Ops?
    debug: false
    createUserRecords: false <--- what does this do?


    ____________

    Also when I check a default users permissions it shows only the permissions set for "NULL" world
     
  26. Offline

    jesse1212

    can someone help me clean my Permissions.yml up?

    or give me another hint lol cause that last one still didnt make it work...sorry if im wrong.
    its about 7 posts up...
     
  27. The config file under post # 2063 parses. What errors are you having with it?
     
  28. Offline

    jesse1212

    Same as last...
    Code:
    21:19:12 [SEVERE] Could not pass event PLAYER_JOIN to PermissionsEx
    java.lang.RuntimeException: No groups defined. Check your permissions file.
            at ru.tehkode.permissions.backends.FileBackend.getDefaultGroup(FileBacke
    nd.java:141)
            at ru.tehkode.permissions.PermissionManager.getDefaultGroup(PermissionMa
    nager.java:285)
            at ru.tehkode.permissions.PermissionManager.getDefaultGroup(PermissionMa
    nager.java:274)
            at ru.tehkode.permissions.PermissionUser.getGroups(PermissionUser.java:2
    16)
            at ru.tehkode.permissions.PermissionUser.getInheritedPermissions(Permiss
    ionUser.java:721)
            at ru.tehkode.permissions.PermissionUser.getPermissions(PermissionUser.j
    ava:674)
            at ru.tehkode.permissions.bukkit.BukkitPermissions.updatePermissions(Buk
    kitPermissions.java:121)
            at ru.tehkode.permissions.bukkit.BukkitPermissions.updatePermissions(Buk
    kitPermissions.java:102)
            at ru.tehkode.permissions.bukkit.BukkitPermissions$PlayerEvents.onPlayer
    Join(BukkitPermissions.java:187)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:244)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
            at net.minecraft.server.ServerConfigurationManager.c(ServerConfiguration
    Manager.java:126)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:116)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:75)
            at net.minecraft.server.Packet1Login.a(SourceFile:59)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:41)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    21:19:12 [SEVERE] Could not pass event PLAYER_JOIN to godPowers
    java.lang.RuntimeException: No groups defined. Check your permissions file.
            at ru.tehkode.permissions.backends.FileBackend.getDefaultGroup(FileBacke
    nd.java:141)
            at ru.tehkode.permissions.PermissionManager.getDefaultGroup(PermissionMa
    nager.java:285)
            at ru.tehkode.permissions.PermissionManager.getDefaultGroup(PermissionMa
    nager.java:274)
            at ru.tehkode.permissions.PermissionUser.getGroups(PermissionUser.java:2
    16)
            at ru.tehkode.permissions.PermissionUser.getInheritedPermissions(Permiss
    ionUser.java:721)
            at ru.tehkode.permissions.PermissionUser.getPermissions(PermissionUser.j
    ava:674)
            at ru.tehkode.permissions.PermissionEntity.getMatchingExpression(Permiss
    ionEntity.java:504)
            at ru.tehkode.permissions.PermissionUser.getMatchingExpression(Permissio
    nUser.java:865)
            at ru.tehkode.permissions.PermissionEntity.has(PermissionEntity.java:136
    )
            at ru.tehkode.permissions.PermissionManager.has(PermissionManager.java:9
    7)
            at ru.tehkode.permissions.compat.PermissionHandler.permission(Permission
    Handler.java:79)
            at ru.tehkode.permissions.compat.PermissionHandler.permission(Permission
    Handler.java:70)
            at ru.tehkode.permissions.compat.PermissionHandler.has(PermissionHandler
    .java:43)
            at com.FriedTaco.taco.godPowers.godPowersPlayerListener.onPlayerJoin(god
    PowersPlayerListener.java:60)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:244)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
            at net.minecraft.server.ServerConfigurationManager.c(ServerConfiguration
    Manager.java:126)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:116)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:75)
            at net.minecraft.server.Packet1Login.a(SourceFile:59)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:41)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  29. Offline

    t3hk0d3


    Code:
    Groups:
    YAML are case sensetive, "groups" should be always lowercase, same as users
     
  30. Offline

    jesse1212

    Wow..... i feel like an idiot now..... im crying tears!!! :'(
     
  31. Don't feel like that. I missed that one as well and your file passed all the validators I threw at it. :)
     

Share This Page