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. you haved to give them multiverse. access.{worldname}

    i need the same help!~

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

    Shooty

    Hey anyone can say me why inheritance don't work for me :( ?

    http://pastie.org/2857871

    Other questions :

    How can i had different permissions on a different world but with same user list of principal world ? (just inheritance of user permission)
     
  4. Offline

    Mr_Pryor

    Can someone help me, I cannot Demote any users I get Error "Name is already in that group!"
    Here is my Permissions. http://pastebin.com/jbMH21Ea
     
  5. Offline

    Rich Boos

    You want to know why giving someone or group the ULTIMATE Permission of '*' gives them, gee idk, ALL PERMISSIONS? You take a shortcut (vs adding all permission nodes) and them complain when it doesn't work like something fine-tuned and tailored to your exact specifications? That is why it's called a shortcut! And it is working as intended, look at this equation:

    (x)All Permissions = (x)All Permissions
    Where x = '*'
    Solve it and let me know when all permissions stops equaling all permissions.

    - - - - End rant of the teenagers and children that make bukkit forums as useful to communicate as 4chan - - - -

    Try adding
    Code:
    - -bukkit.command.op

    to your admin group.

    http://wiki.bukkit.org/CraftBukkit_commands
     
  6. Offline

    TBC_x

    Code:
    - -essentials.give
    - -essentials.item
    - -essentials.powertool
    - -essentials.kill
    - -bukkit.command.gamemode
    -  '*'
    
    '*' should be last
     
  7. Offline

    loppu

    How can i fixed this?

    Code:
    >
    17:15:54 [INFO] Starting minecraft server version Beta 1.8.1
    >
    17:15:54 [INFO] Loading properties
    >
    17:15:54 [INFO] Starting Minecraft server on ----- (censor)
    >
    17:15:54 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    >
    17:15:54 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    >
    17:15:54 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    >
    17:15:54 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    >
    17:15:55 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1131-g86b7fa8-b1337jnks (MC: 1.8.1)
    >
    17:15:55 [INFO] [PermissionsEx] sql backend registered!
    >
    17:15:55 [INFO] [PermissionsEx] file backend registered!
    >
    17:15:55 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    >
    17:15:55 [INFO] [PermissionsEx] p2compat backend registered!
    >
    17:15:55 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
    >
    17:15:55 [SEVERE] Could not load 'plugins/NoLaggChunks.jar' in folder 'plugins': Spout
    org.bukkit.plugin.UnknownDependencyException: Spout
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:135)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:215)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:136)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:112)
        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)
    >
    17:15:55 [INFO] [PermissionsEx] Initializing file backend
    >
    17:15:55 [SEVERE] while scanning for the next token; found character     '\t' that cannot start any token initializing PermissionsEx v1.16 (Is it up to date?)
    while scanning for the next token
    found character     '\t' that cannot start any token
     in "<reader>", line 58, column 10:
                     - 'essentials.help'
                 ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:358)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:509)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceFirstEntry.produce(ParserImpl.java:501)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
        at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
        at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
        at ru.tehkode.permissions.config.Configuration.load(Configuration.java:64)
        at ru.tehkode.permissions.backends.FileBackend.initialize(FileBackend.java:104)
        at ru.tehkode.permissions.PermissionManager.setBackend(PermissionManager.java:420)
        at ru.tehkode.permissions.PermissionManager.initBackend(PermissionManager.java:471)
        at ru.tehkode.permissions.PermissionManager.<init>(PermissionManager.java:53)
        at ru.tehkode.permissions.bukkit.PermissionsEx.onLoad(PermissionsEx.java:74)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:139)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:112)
        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)
    >
    17:15:55 [WARNING] [PermissionsCompat] PermissionsEx plugin not found. Some plugins may not work.
    >
    17:15:55 [INFO] MLog clients using java 1.4+ standard logging.
    >
    17:15:55 [INFO] Preparing level "world"
    >
    17:15:55 [INFO] Default game type: 0
    >
    17:15:55 [INFO] Preparing start region for level 0 (Seed: 9022034257347258593)
    >
    17:15:56 [INFO] Lockette version 1.4.4 is being enabled!  Yay!  (Core version 1.2.3)
    >
    17:15:56 [INFO] Lockette: Detected craftbukkit build [1337] ok.
    >
    17:15:56 [INFO] [PermissionsCompat] Compatibility layer enabled.
    >
    17:15:56 [INFO] Lockette: Failed to link to Permissions plugin version 2.7.7!
    >
    17:15:56 [INFO] Lockette: Using ops file for admin permissions.
    >
    17:15:56 [INFO] Lockette: Ready to protect your containers.
    >
    17:15:56 [INFO] WorldGuard: Using the Bukkit Permissions API.
    >
    17:15:56 [INFO] WorldGuard: (world) Single session is enforced.
    >
    17:15:56 [INFO] WorldGuard: (world) TNT ignition is PERMITTED.
    >
    17:15:56 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    >
    17:15:56 [INFO] WorldGuard: (world) Lava fire is blocked.
    >
    17:15:56 [INFO] WorldGuard: (world) Fire spread is UNRESTRICTED.
    >
    17:15:56 [INFO] WorldGuard: Loaded configuration for world 'world"
    >
    17:15:56 [INFO] WorldGuard: 1 regions loaded for 'world'
    >
    17:15:56 [INFO] WorldGuard 5.3 enabled.
    >
    17:15:56 [INFO] ChairCraft 1.2.6 is enabled.
    >
    17:15:56 [INFO] [Alerter] ALERTER v1.41 is enabled! created by: Patrick_pk91
    >
    17:15:56 [SEVERE] Error occurred while enabling Alerter v1.41 (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:156)
        at com.nijikokun.bukkit.Permissions.Permissions.getHandler(Permissions.java:80)
        at me.Patrick_pk91.alerter.Alerter.setupPermissions(Alerter.java:355)
        at me.Patrick_pk91.alerter.Alerter.onEnable(Alerter.java:188)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    >
    17:15:56 [INFO] [AuthMe] Authme 2.5 enabled
    >
    17:15:56 [INFO] WorldEdit 4.7 enabled.
    >
    17:15:56 [INFO] WorldEdit: Using the Bukkit Permissions API.
    >
    17:15:56 [INFO] Loaded Essentials build 2.6.4 by: Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits
    >
    17:15:56 [INFO] Essentials: Using Permissions 2 based permissions.
    >
    17:15:56 [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:156)
        at com.nijikokun.bukkit.Permissions.Permissions.getHandler(Permissions.java:80)
        at com.earth2me.essentials.perm.Permissions2Handler.<init>(Permissions2Handler.java:17)
        at com.earth2me.essentials.perm.PermissionsHandler.checkPermissions(PermissionsHandler.java:152)
        at com.earth2me.essentials.EssentialsPluginListener.onPluginEnable(EssentialsPluginListener.java:23)
        at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:585)
        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:964)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    >
    17:15:56 [INFO] [PermissionsEx] Superperms support enabled.
    >
    17:15:56 [INFO] [PermissionsEx] v1.16 enabled
    >
    17:15:56 [INFO] Essentials: Using PermissionsEx based permissions.
    
    17:15:56 [INFO] WorldGuard: Using the Bukkit Permissions API.
    >
    17:15:56 [INFO] WorldEdit: Using the Bukkit Permissions API.
    >
    17:15:56 [INFO] Loaded EssentialsSpawn build 2.6.4 by: essentials team
    >
    17:15:56 [INFO] Essentials: Using PermissionsEx based permissions.
    >
    17:15:56 [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:156)
        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:585)
        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:964)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    >
    17:15:56 [INFO] [AutoSave] Loading config file
    >
    17:15:56 [INFO] [AutoSave] Version 2.0.1 is enabled: fd31f7f2-d57c-4ec3-b01f-93174f4d2e69
    >
    17:15:56 [INFO] [AutoSave][Permission] Custom Permissions "Local Permissions" found: Loaded
    >
    17:15:56 [INFO] [AutoSave][Permission] PermissionsEx hooked.
    >
    17:15:56 [INFO] [AutoSave][Permission] PermissionsEx found: Loaded
    >
    17:15:56 [INFO] [AutoSave][Permission] Permissions (Phoenix) hooked.
    >
    17:15:56 [INFO] [AutoSave][Permission] Permissions (Phoenix) found: Loaded
    >
    17:15:56 [INFO] Essentials: Using PermissionsEx based permissions.
    >
    17:15:56 [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:156)
        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:585)
        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:964)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    >
    17:15:56 [INFO] Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
    >
    17:15:56 [INFO] Loaded EssentialsProtect build 2.6.4 by: essentials team
    >
    17:15:56 [INFO] Essentials: Using PermissionsEx based permissions.
    >
    17:15:56 [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:156)
        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:585)
        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:964)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    >
    17:15:56 [SEVERE] [ChatManager] PermissionsEx not found, disabling
    >
    17:15:56 [INFO] [ChatManager] ChatManager disabled!
    17:15:56 [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:156)
        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:585)
        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:964)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    >
    17:15:56 [INFO] Server permissions file permissions.yml is empty, ignoring it
    >
    17:15:56 [INFO] Done (0.137s)! For help, type "help" or "?"
    >
    17:16:04 [INFO] loppu [/125.25.98.163:22834] logged in with entity id 115 at ([world] -0.3157342372720633, 64.0, -0.19434125154212484)
    >
    17:16:04 [SEVERE] Could not pass event PLAYER_TELEPORT to PermissionsEx
    java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
        at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:156)
        at ru.tehkode.permissions.bukkit.PermissionsEx$PlayerEventsListener.clearUserCache(PermissionsEx.java:220)
        at ru.tehkode.permissions.bukkit.PermissionsEx$PlayerEventsListener.onPlayerTeleport(PermissionsEx.java:235)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:316)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:308)
        at uk.org.whoami.authme.listener.AuthMePlayerListener.onPlayerJoin(AuthMePlayerListener.java:264)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:260)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:129)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:121)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:80)
        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:46)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    >
    17:16:04 [INFO] [PermissionsEx] Permissions handler for loppu successfuly injected
    >
    17:16:04 [SEVERE] java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    >
    17:16:04 [SEVERE]     at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:156)
    >
    17:16:04 [SEVERE]     at ru.tehkode.permissions.bukkit.PermissionsEx.getUser(PermissionsEx.java:163)
    >
    17:16:04 [SEVERE]     at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.hasPermission(PermissiblePEX.java:118)
    >
    17:16:04 [SEVERE]     at org.bukkit.craftbukkit.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:83)
    >
    17:16:04 [SEVERE]     at com.sk89q.bukkit.migration.DinnerPermsResolver.inGroup(DinnerPermsResolver.java:78)
    >
    17:16:04 [SEVERE]     at com.sk89q.bukkit.migration.PermissionsResolverManager.inGroup(PermissionsResolverManager.java:132)
    >
    17:16:04 [SEVERE]     at
    
    thx
     
  8. Offline

    MrConfig

    How do you define the 'primary' group of a user? Let's say I have a player in group 'admin' and I want to also add him in 'worldedit' but I want the 'admin' group to remain as the primary one. Other plugins that uses the group name like Essentials for /list or iChat for the $group variable remains 'admin' instead of 'worldedit'?

    I'm coming from GroupManager and with this you add that concept of a group and sub groups so i'm wondering how that works with PEX.

    Other than that I'm just having excellent results using PEX 1.16. Things haven't been running smoother since 1.8. Great work!
     
  9. - -bukkit.command.gamemode (No work can still do it)
    - -bukkit.command.*
    - -essentials.powertool (doesn't let them)
    - -essentials.kill (doesn't let them)
    - -essentials.tpall (doesn't let them)
    - -essentials.kick.exempt (doesn't let them)
    - -essentials.item (doesn't let them)
    - -essentials.give (doesn't let them)
    - -essentials.unlimited (doesn't let them)
    - bb.allow.all (doesn't let them)
    - -nocheat.checks.fly
    - '*'
     
  10. The angle brackets (or whatever you want to call them:p) are part of the chatmanager config, not the main permissions file. Make sure you put quotes around the message format bit if you remove them, else it will break the YAML parser.

    Glancing at your default permissions list, it looks OK, but I've not tried it myself. I'd give it a go and see how it works. Put yourself in the default group and see what happens, that's what I do if I want to make sure something works as I expect it to.:)

    ModifyWorld works fine for me with 1.15 and 1.16.

    ModifyWorld is probably one of the most misunderstood and complicated parts of the PEX permissions suite. This is listed as a hardcore permissions manager after all.:)

    Put your permissions in a pastebucket, link to it here, and describe exactly what isn't working for you, or hit the IRC channel and see if someone is able to spare the time to help you one on one.

    Myself, I simply don't have the time to do anything like that, so requests to PM someone are disregarded. Sorry if I sound like an arse because of that, but that's just how it is. Besides, keeping setup help in a conversation doesn't help anyone else who might be searching the thread for help with a similar problem.

    (not that many seem to use the bloody search function, sheesh....)

    Right there, something is kicking PEX out. A file misconfig perhaps? I don't know, there isn't enough information.

    Put your server startup log and for good measure, permissions and PEX config file in a pastebucket and link it here so it can be looked at.

    What that is telling you is that you have a tab in your permissions file. YAML can't deal with it. Replacing it with the proper number of spaces should fix that particular problem. Change that, then run it through an online YAML checker (there is a good one linked in the first post). If it doesn't say there is an error, then your permissions file should be formatted correctly to be read.

    Mind you, that parser checks for YAML formatting, it will NOT find problems with lines that are not indented correctly to be understood by PEX, spelling mistakes or capitalization problems.

    Without seeing your full permissions file, my wild guess is that the user group is inheriting it from somewhere else.

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

    crazyish

    I'm guessing i migh have missed it, but in bukkit there was the "true/false" ending to the perm nodes, which are handy if you want to disallow some of the "by default" available permissions.
    Is there an equivalent to this in pex? Or am i only able to allow permissions here?
    Also my (op -'*') character is overriding local chat in the chat (the one which comes with pex), which makes the whole server see what i type in local chat, while the person talking to me may be talking in local chat, causing some confusion for others, i was hoping i could use an anti-permission to stop the override? Am i making any sense? ^_^
     
  12. Offline

    sonic1211

    im havin issues with it so can u help me it says when i do 'pex user epicgamer42 group add owner' i get this error do u know wat i can do to fix this?
     
  13. Offline

    Elfsovereign

    Tried that and it killed it dead lol. Oh well...
    Also any reason why the - -modifyworld.digest isn't actually negating digestion?
     
  14. Offline

    Karlkorv

    It lags everytime an admin logs in :(
     
  15. A permission node is negated by prefixing a - in front of it. So for example:
    Code:
    - warp.go (allows use of the command that uses warp.go)
    - -warp.go (forbid use of the command that uses warp.go)
    That I'm afraid I don't quite follow.

    I'm guessing that's for eating food?

    That I don't know for sure, but IIRC, modifyworld does implement a few nodes that bukkit itself doesn't fully support yet, so it's possible that while modifyworld may have something for it, bukkit will still allow it. I ran into this one myself when playing around with debug mode and dashing.

    What lags, the entire server? Which PEX version, which bukkit version, which backend, how many players do you have?

    IOW, more info is needed on your setup before anyone can offer suggestions.

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

    crazyish

    Chat managers local chat is activated. Local chat reaches 100 blocks. Global chat is.. well.. Global. :)
    So when any player speaks in local chat, it only reaches 100 blocks, but when my over-boss character who has the - "*" node and is OP, it's local chat is seen by the entire server. Despite the text coloring showing as local chat colors.
    Meaning that when someone is standing right next to me, asking me something in local chat, and i answer in local chat, the rest of the server sees my answer, without seeing the question, which causes confusion ^_^
     
  17. Offline

    Live or Die

    hello.

    im having a problem with the permissionscampat (what ever that is XD)
    and i keep runing in to this problem.

    http://pastebin.com/k53G79ts

    i know its LOOONG but it is the same error that happers every time an admin comes in,

    i dont know what to do, even when i deleted the plugin it said it didnt workd with it just moved on to another plugin.

    only in a few hours i could post the YML of the permssions. (does the reason really matters?:p)

    help please :)
     
  18. Offline

    Monstertke

    Let me guess, you are new to server administration? This isnt a forum to make pointless comments about a plugin. This is a support forum, things can and will go wrong.

    Did you fail to notice the 30 other posts around yours? You know the ones filled up with pastes and permission listings and error logs?

    Im really just trying to figure out what you expected to accomplish with that comment?
     
    Hamburger Helper likes this.
  19. Offline

    Elfsovereign

    If I had my druthers I would make it so the food bar for everyone would just stay perpetually full. I'm not a big fan of it. Do you know of any way of making that happen?
     
  20. Offline

    Karlkorv

    ok ok, sry man :S
     
  21. Offline

    ClearTranquil

    I have a question about ranking ladders (and this thread is too big to sift through):

    Hypothetically, I have admins (rank 10), mods (rank 20), players (rank 30), and guests (default, rank 40).

    I want mods to be able to promote guests into players, but what prevents a mod from promoting himself to an admin? Does the rank number prevent a mod from promoting guests/players to mod status? Does it also prevent a mod from promoting himself?

    I found this to be unclear.

    Thanks
     
  22. Offline

    Monstertke

    You can only promote up to your own rank. ie: rank 10 can promote to rank 20, rank 20 can promote to rank 30.

    Also If you dont have a higher rank than "admin" it should be at level "0"
     
  23. Offline

    crysis992

    Hey,

    I have a little problem, i switched to MySQL today and now i have a little problem with the Prefix/Suffix.
    I use Essentials to manage the Group ranks. But since i use SQL it read the suffix/prefix as "null"
    Like:
    [Owner]nullCrysis992null: <Chat>
    Should be like this:
    [Owner]crysis992: <chat>

    How can i disable it?
     
  24. Gotcha.

    *pokes at the testing server*

    Sorted.

    I'm not sure if this is intentional, but according to what I see with "pex toggle debug" enabled, one of the nodes that ChatManager looks for is chatmanager.override.ranged, and since the ops have *, it matches and allows the user group to ignore it.

    Add -chatmanager.override.ranged to the group and it will stop, or it did in my testing.

    I would imagine that this might be useful in some cases, but personally, I think it would make more sense to be implemented similar to the ! character for global broadcasts.

    @t3hk0d3

    Can you give an example use for this node?

    (Also added the node to the wiki)

    Thank you for putting that into a pastebin and linking it here, it is appreciated!

    *looks*

    Hmm, judging by the fact that chatmanager is kicking itself out because it can't find PEX makes me think that something is taking over before PEX can start and listen to the API hooks, especially considering that you have other plugins showing up as loading before PEX lists it's line. That's something I have never seen happen on any servers using PEX. My own testing servers (I keep a pair, one for testing new versions of plugins, and one for trying brand new plugins and other various things) have always loaded PEX first before any other plugin, so it's not based on filename. However, I can't be sure as you didn't post the very start of your server.log

    Can you post your server startup log from the "This server is running Craftbukkit version" line down?

    Weeellll...

    I just tried this using this:
    Code:
            permissions:
            - -modifyworld.digestion
    and it worked, the user in the testing group didn't loose any of their hunger bar after running and jumping around for a while (and I watched the modifyworld.digestion node being checked each time it should have gone down).

    This was under bukkit 1337 and PEX 1.16. Looking back at your original post on this, you put -modifyworld.digest, not digestion. I think that may be the cause of your issue.

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

    Live or Die

    first of all, thank you for your quick respones (it doesnt happen with every plugin)
    second i have reinstalled PEX and re-wrote it and it worked perfectly.
    if it happens again i will post it here (im saying this becuase its not the first time i have run in to this problem)
     
  26. Hmmmm Everytime i promote people my server crash in 30 seconds...
    ive got this code:
     
  27. Offline

    Elfsovereign

    Ok I'll give that a go. I could be using an outdated form of permissions too. I'll putz with it when I have time.
    EDIT: Yeah it actually makes my food bar go down FASTER. x.x I'll try updating permissions and seeing what happens.
    EDIT2: Yep that sorted it. I just hope I've done everything right.
     
  28. Offline

    number1_Master

    if im right, i can make it so players cant place lava/tnt/fire (without other plugins) by adding these nodes:
    Code:
    modifyworld.blocks.destroy.46[/I]
    [I]modifyworld.blocks.place.46[/I]
    [I]modifyworld.blocks.place.51[/I]
    [I]modifyworld.blocks.place.327[/I]
    [I]modifyworld.blocks.place.259[/I]
    [I]modifyworld.blocks.place.10[/I]
    [I]modifyworld.blocks.place.11
    [/CODE][/I]
     
  29. Offline

    Yoda12999

    I get the following error consistently when trying to add or set a group to anyone:
    Code:
    pex user yoda12999 group set Admins
    >01:15:21 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'pex' in plugin PermissionsEx v1.16
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:351)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:506)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:485)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (no such column: true)
            at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:127)
            at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:128)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 7 more
    Caused by: java.lang.RuntimeException: java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (no such column: true)
            at ru.tehkode.permissions.backends.sql.SQLConnection.updateQuery(SQLConnection.java:121)
            at ru.tehkode.permissions.backends.sql.SQLEntity.setParents(SQLEntity.java:223)
            at ru.tehkode.permissions.backends.sql.SQLUser.setGroups(SQLUser.java:48)
            at ru.tehkode.permissions.PermissionUser.setGroups(PermissionUser.java:340)
            at ru.tehkode.permissions.PermissionUser.initialize(PermissionUser.java:53)
            at ru.tehkode.permissions.ProxyPermissionUser.initialize(ProxyPermissionUser.java:41)
            at ru.tehkode.permissions.backends.sql.SQLUser.initialize(SQLUser.java:41)
            at ru.tehkode.permissions.PermissionManager.getUser(PermissionManager.java:116)
            at ru.tehkode.permissions.bukkit.commands.UserCommands.userSetGroup(UserCommands.java:526)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
            at java.lang.reflect.Method.invoke(Method.java:611)
            at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(CommandsManager.java:298)
            at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:120)
            ... 9 more
    Caused by: java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (no such column: true)
            at org.sqlite.DB.newSQLException(DB.java:383)
            at org.sqlite.DB.newSQLException(DB.java:387)
            at org.sqlite.DB.throwex(DB.java:374)
            at org.sqlite.NestedDB.prepare(NestedDB.java:134)
            at org.sqlite.DB.prepare(DB.java:123)
            at org.sqlite.PrepStmt.<init>(PrepStmt.java:42)
            at org.sqlite.Conn.prepareStatement(Conn.java:404)
            at org.sqlite.Conn.prepareStatement(Conn.java:399)
            at org.sqlite.Conn.prepareStatement(Conn.java:383)
            at ru.tehkode.permissions.backends.sql.SQLConnection.updateQuery(SQLConnection.java:112)
            ... 23 more
    
    As I'm sure you can see I am using SQLite. On an unrelated note, it it ok to edit the database file, such as to change the group of a user, by accessing the database from and external source, or is that something not to do?
     
  30. Looking at your permissions list, I'm thinking that it's not actually crashing, but lagging really bad. How may users do you have in there? Sheesh! :)

    I'd recommend moving from a file backend to the SQL backend, or do some serious trimming of your user list (inactive users, etc).
     
  31. Offline

    Mr_Pryor

    Can someone help me, I cannot Demote any users I get Error "Name is already in that group!"
    Here is my Permissions. http://pastebin.com/jbMH21Ea
     

Share This Page