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. Quick and dirty video showing basic prefixes working using the included PEX ChatManager:
    Show Spoiler
    Each chat plugin may very well expect to have the prefix data presented differently, so what I have here may not apply in every situation.

    According to the debug output (pex toggle debug), it's modifyworld.sprint

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

    RustyDagger

    upgrade to cb 1318 (yes 1 version above the RB and this will be fixed i had the same issue :D )

    argg I cant deny my users building on the creative map the new group can still build on the creative map when i have done every thing right to stop them some 1 mind checking it for me? all map names are correct caps and all. i have deoped my self to test this.
    Code:
    users:
        rustydagger:
            group:
            - new
            permissions:
            - permissions.*
    groups:
        new:
            default: true
            permissions:
            - -modifyworld.*
            - lwc.protect
            - commandbook.who
            - commandbook.motd
            - commandbook.rules
            - commandbook.spawn
            - commandbook.whereami
            - commandbook.whereami.compass
            - commandbook.home.teleport
            - commandbook.home.set
            - commandbook.msg
            - gates.normal
            - worldedit.extinguish
            - mcmmo.perms.add
            - commandbook.warp.teleport
            - commandbook.say.me
            worlds:
                Noob:
                    permissions:
                    - modifyworld.*
                Creative:
                    permissions:
                    - -modifyworld.*
        player:
            inheritance:
            - new
            permissions: null
            worlds:
                Player:
                    permissions:
                    - modifyworld.*
                Nether:
                    permissions:
                    - modifyworld.*
                    prefix: ''
        cp:
            inheritance:
            - player
            permissions: null
            worlds:
                Creative:
                    permissions:
                    - modifyworld.*
                    - worldedit.superpickaxe
                    - worldedit.tool.replacer
                    - commandbook.more.infinite
                    - commandbook.more
                    - Commandbook.give.creative
                    - mcmmo.perms.remove
        vip:
            inheritance:
            - cp
            permissions:
            - nocheat.speedhack
            - nocheat.moving
            - logblock.me
            - commandbook.time
            - commandbook.weather
            - commandbook.clear
            - worldguard.stack.illegitimate
            - worldguard.stack
            - worldguard.locate
        mod:
            inheritance:
            - vip
            permissions:
            - lwc.mod
            - worldedit.fixlava
            - worldedit.fixwater
            - logblock.tool
            - logblock.toolblock
            - logblock.lookup
            - logblock.rollback
            - commandbook.teleport
            - commandbook.return
            - commandbook.broadcast
            - commandbook.mute
            - commandbook.slap
            - commandbook.slap.other
            - commandbook.rocket
            - commandbook.rocket.other
            - commandbook.kick
            - worldguard.heal
            - worldguard.slay.other
            - worldguard.slay
        admin:
            inheritance:
            - mod
            permissions:
            - lwc.admin
            - permissions.player.setgroup
            - permissions.player.groups
            - commandbook.midi
            - commandbook.spawnmob.all
            - commandbook.teleport.other
            - commandbook.locations.coords
            - commandbook.warp.teleport.other
            - commandbook.barrage
            - commandbook.barrage.other
            - commandbook.firebarrage
            - commandbook.firebarrage.other
            - commandbook.shock
            - commandbook.shock.other
            - commandbook.thor
            - commandbook.whois.other
            - commandbook.bans.ban
            - commandbook.bans.unban
            - commandbook.bans.isbanned
            - commandbook.bans.save
            - commandbook.home.teleport.other
            - commandbook.home.other
            - commandbook.home.set.other
            - worldedit.*
            - worldguard.god
            - worldguard.god.other
            - worldguard.ungod
            - worldguard.ungod.other
            - worldguard.heal.other
            - tgm.self
        manager:
            inheritance:
            - admin
            permissions:
            - commandbook.give.*
            - commandbook.more.infinite
            - commandbook.more
            - commandbook.spawnmob.many
            - commandbook.warp.set
            - commandbook.say
            - commandbook.clear.other
            - tgm.*
        owner:
            inheritance:
            - manager
            permissions:
            - mcmmo.tools.mcrefresh
            - commandbook.setspawn
            - commandbook.reload
            - logblock.*
        event:
            permissions:
            - gates.normal
            - gates.event
            - commandbook.spawn
            worlds:
                Event:
                    permissions:
                    - modifyworld.*
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  4. Offline

    Buckethead

    wait do i need chatmanger or something like it? or is it optional
     
  5. From the FAQ in the first post:
    • Q: How to make my prefixes being displayed in chat?
    • A: You need Chat Plugin to do that. There is several plugins to do that: iChat, HeroChat.
      Since PEX 1.13 have own chat plugin called ChatManager and bundled with PEX .
      Look corresponding wiki section for details.
    I looked at iChat at one time and it wasn't cooperating. In the thread for iChat, the dev has stated that he has no desire to ever do anything to improve compatibility with PEX, so I didn't bother working with it any further. I know some people have said they have it working, but that may have been with earlier builds.

    I don't use chat prefixes on my main server as I don't see any point in them (and I was trying to recreate as close to the vanilla Minecraft 'experience' as possible on my server), but that's just me.
     
  6. Offline

    Ablac

    Anyone have any ideas why this isnt working?
    ChatManager Config
    Code:
    chat-range: 100.0
    display-name-format: '%prefix%player%suffix'
    global-message-format: '&e<%prefix%player&e%suffix> &f%message'
    enable: true
    message-format: '&e<%prefix%player&e%suffix> &f%message'
    ranged-mode: false
    
    Im also not sure if i set the Permissions Correct for Modify World. Dont want Guests to be able to do much of anything.
    Not sure why its not working
    EDIT: Interesting... it just randomly Started working... NVM then:p
     
  7. Offline

    got_milk

    I think I've stumbled across a bug in PEX. Over in the Essentials forum/IRC, there's been quite a few of us trying to figure out why admins with admin permissions can't sleep in beds, even if we properly negate the permission in PEX. Through testing, I've determined that negating permissions in any non-PEX plugin simply doesn't work.

    Here's what I mean:

    Code:
        Admin:
            permissions:
            - -dynmap.hide.self # doesn't work
            - -modifyworld.blocks.destroy.* # works!
            - -essentials.* # doesn't work
            - -essentials.sleepingignored # doesn't work
            - '*'
            options:
                rank: '0'
    I'm not sure if this is a fault of mine/everyone else's, or if this is a bug in PEX. Input is welcome! Thanks.
     
  8. Offline

    STiChad

    Couldn't that potentially mess up the rest of my plugins?
    As they weren't meant for CB #1318.
     
  9. Offline

    Cody_Fox23

    PEXwas working fantastically until about two days ago. Now whenever I try to use a command I get "An internal error occured while attempting to perform this command." From reading the thread, it seems 1318 will fix it, however I am going to sound stupid, but where do I pick up 1318? Also from looking at this log does it look like changing to 1318 will fix my problems? My players are not happy that they can't use their plugins x.x

    Code:
    2011-10-14 05:47:54 [INFO] Starting minecraft server version Beta 1.8.1
    2011-10-14 05:47:54 [INFO] Loading properties
    2011-10-14 05:47:54 [INFO] Starting Minecraft server on 64.34.165.5:31165
    2011-10-14 05:47:54 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1126-g35eac7a-b1317jnks (MC: 1.8.1)
    2011-10-14 05:47:55 [INFO] [PermissionsEx] sql backend registered!
    2011-10-14 05:47:55 [INFO] [PermissionsEx] file backend registered!
    2011-10-14 05:47:55 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    2011-10-14 05:47:55 [INFO] [PermissionsEx] p2compat backend registered!
    2011-10-14 05:47:55 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
    2011-10-14 05:47:55 [INFO] [PermissionsEx] p2compat backend registered!
    2011-10-14 05:47:55 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
    2011-10-14 05:47:55 [SEVERE] class ru.tehkode.permissions.config.Configuration$ConfigurationRepresenter overrides final method representData.(Ljava/lang/Object;)Lorg/yaml/snakeyaml/nodes/Node; initializing PermissionsEx v1.14 (Is it up to date?)
    java.lang.VerifyError: class ru.tehkode.permissions.config.Configuration$ConfigurationRepresenter overrides final method representData.(Ljava/lang/Object;)Lorg/yaml/snakeyaml/nodes/Node;
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:221)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:32)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        at ru.tehkode.permissions.bukkit.PermissionsEx.loadConfig(PermissionsEx.java:181)
        at ru.tehkode.permissions.bukkit.PermissionsEx.onLoad(PermissionsEx.java:71)
        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)
    2011-10-14 05:47:55 [WARNING] [PermissionsCompat] PermissionsEx plugin not found. Some plugins may not work.
    2011-10-14 05:47:55 [WARNING] [PermissionsCompat] PermissionsEx plugin not found. Some plugins may not work.
    2011-10-14 05:47:55 [INFO] Preparing level "TheGreatestLevelEver"
    2011-10-14 05:47:55 [INFO] Default game type: 0
    2011-10-14 05:47:55 [INFO] Preparing start region for level 0 (Seed: -240206659774845715)
    2011-10-14 05:47:55 [INFO] Preparing start region for level 1 (Seed: -240206659774845715)
    2011-10-14 05:47:56 [INFO] Preparing spawn area: 60%
    2011-10-14 05:47:56 [SEVERE] Error occurred while enabling PermissionsEx v1.14 (Is it up to date?): null
    java.lang.NullPointerException
        at ru.tehkode.permissions.bukkit.PermissionsEx.onEnable(PermissionsEx.java:79)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:170)
        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)
    2011-10-14 05:47:56 [INFO] [MultiVerse] Permissions Found
    2011-10-14 05:47:56 [INFO] [MultiVerse] - Version 1.7.2 Enabled
    2011-10-14 05:47:56 [INFO] [MultiVerse] Loading World & Settings - 'world' - NORMAL
    2011-10-14 05:47:56 [INFO] Preparing start region for level 2 (Seed: -8731525162934614535)
    2011-10-14 05:47:57 [INFO] [MultiVerse] Loading World & Settings - 'Prometheus' - NORMAL
    2011-10-14 05:47:57 [INFO] Preparing start region for level 3 (Seed: 6494700485188608411)
    2011-10-14 05:47:57 [INFO] [MultiVerse] Loading World & Settings - 'Prometheus_nether' - NETHER
    2011-10-14 05:47:57 [INFO] Preparing start region for level 4 (Seed: 6494700485188608411)
    2011-10-14 05:47:58 [INFO] [MultiVerse] Loading World & Settings - 'TheGreatestLevelEver' - NORMAL
    2011-10-14 05:47:58 [INFO] [MultiVerse] Loading World & Settings - 'TheGreatestLevelEver_nether' - NETHER
    2011-10-14 05:47:58 [INFO] [MultiVerse] 5 - World(s) loaded.
    2011-10-14 05:47:58 [INFO] [MultiVerse] Loading Portals
    2011-10-14 05:47:58 [INFO] [MultiVerse] 0 - Portal(s) loaded.
    2011-10-14 05:47:58 [SEVERE] Error occurred while enabling RocketBoots v0.3.6 (Is it up to date?): Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
        at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:140)
        at com.nijikokun.bukkit.Permissions.Permissions.getHandler(Permissions.java:80)
        at com.disabledhamster.bukkit.rocketboots.Permissions.<init>(Unknown Source)
        at com.disabledhamster.bukkit.rocketboots.RocketBoots.onEnable(Unknown Source)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:170)
        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)
    2011-10-14 05:47:58 [INFO] [PermissionsCompat] Compatibility layer enabled.
    2011-10-14 05:47:58 [INFO] [MultiVerse] Found Permissions, enabling commands.
    2011-10-14 05:47:58 [INFO] WorldEdit 404-68fe0d3 enabled.
    2011-10-14 05:47:58 [INFO] WorldEdit: Using the Bukkit Permissions API.
    2011-10-14 05:47:58 [SEVERE] [Modifyworld] PermissionsEx not found, disabling
    2011-10-14 05:47:58 [INFO] [Modifyworld] Modifyworld disabled!
    2011-10-14 05:47:58 [SEVERE] Error occurred while enabling MagicCarpet v1.5.6 (Is it up to date?): Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    java.lang.RuntimeException: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
        at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:140)
        at com.nijikokun.bukkit.Permissions.Permissions.getHandler(Permissions.java:80)
        at com.Android.magiccarpet.MagicCarpet.setupPermissions(MagicCarpet.java:340)
        at com.Android.magiccarpet.MagicCarpet.onEnable(MagicCarpet.java:71)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:170)
        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)
    2011-10-14 05:47:58 [INFO] CommandBook 1.6 enabled.
    2011-10-14 05:47:58 [WARNING] CommandBook: 0 Warps(s) loaded
    2011-10-14 05:47:58 [WARNING] CommandBook: 0 Homes(s) loaded
    2011-10-14 05:47:58 [INFO] CommandBook: Maximum wrapper compatibility is enabled. Some features have been disabled to be compatible with poorly written server wrappers.
    2011-10-14 05:47:58 [INFO] CommandBook: 2 banned name(s) loaded.
    2011-10-14 05:47:58 [WARNING] CommandBook: Unknown kit item 'null'
    2011-10-14 05:47:58 [WARNING] CommandBook: Invalid amount: ' 5'
    2011-10-14 05:47:58 [INFO] CommandBook: 1 kit(s) loaded.
    2011-10-14 05:47:58 [INFO] CommandBook: Using the Bukkit Permissions API.
    2011-10-14 05:47:58 [INFO] [RemoteBukkit] Query running on 64.34.165.5:31175
    2011-10-14 05:47:58 [INFO] [RemoteBukkit] RCON running on 64.34.165.5:31175
    2011-10-14 05:47:58 [INFO] [RemoteBukkit] v0.6 Plugin Enabled.
    2011-10-14 05:47:58 [INFO] [PermissionsCompat] Compatibility layer enabled.
    2011-10-14 05:47:58 [INFO] WorldEdit: Using the Bukkit Permissions API.
    2011-10-14 05:47:58 [INFO] CommandBook: Using the Bukkit Permissions API.
    2011-10-14 05:47:58 [INFO] [MultiVerse] Found Permissions, enabling commands.
    2011-10-14 05:47:58 [SEVERE] [ChatManager] PermissionsEx not found, disabling
    2011-10-14 05:47:58 [INFO] [ChatManager] ChatManager disabled!
    2011-10-14 05:47:58 [SEVERE] Error occurred while enabling ChatManager v1.14 (Is it up to date?): null
    java.lang.NullPointerException
        at java.lang.Class.isAssignableFrom(Native Method)
        at org.bukkit.plugin.java.JavaPluginLoader.removeClass(JavaPluginLoader.java:245)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:992)
        at ru.tehkode.chatmanager.bukkit.ChatManager.onEnable(ChatManager.java:48)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:170)
        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)
    2011-10-14 05:47:58 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-10-14 05:47:58 [INFO] Done (0.333s)! For help, type "help" or "?"
    2011-10-14 05:48:06 [INFO] Cody_Fox23 [/68.46.27.135:34374] logged in with entity id 427 at ([TheGreatestLevelEver] 188.6875, 63.0, 318.65625)
    2011-10-14 05:48:06 [INFO] New max size: 484
    2011-10-14 05:48:06 [INFO] New max size: 784
    2011-10-14 05:48:10 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'pex' in plugin PermissionsEx v1.14
        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 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:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        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)
    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
     
  10. Offline

    t3hk0d3

    Update to 1.15

    Use /pex toggle debug :)

    Try to redownload from OP post.

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

    RustyDagger

    its 1 version change and nothing major changed in craftbukkit it should be fine I'm using it no problems.
     
  12. Offline

    Sna.ke

    I can't get the interact permissions for doors to work. Am using this:
    Code:
    "modifyworld.blocks.interact.64"
    "modifyworld.blocks.interact.324"
    Any thoughts? Is this a bug? I'll provide more details. But first off the bat, it seems people are reporting this issue with no response.

    RB1317 and 1.8.1
     
  13. Offline

    ChrizC

    Can't have a + in the RB number.
    FTFY.
     
  14. Define work. I'm using a mix of interact allow and deny entries and it's working as expected.
     
  15. Offline

    STiChad

    Yeah I'm using it with no problems, thanks for suggestion.
    Much appreciated!
     
  16. Offline

    Sna.ke

    Okay fair enough I should clarify "work". When I try to add either of the permissions to the group above, they don't apply. I can't action the door. When I try to open a door it says "Sorry you don't have permission".

    My permissions for the Guest group:
    Code:
    03:44:31 [INFO] Group Guest's permissions:
    Group Guest's permissions:
    1) modifyworld.blocks.interact.64 (own)
    2) multiverse.access.* (own)
    3) essentials.tpdeny (own)
    4) modifyworld.chat (own)
    5) essentials.tpaccept (own)
    6) multiverse.portal.access.* (own)
    7) modifyworld.blocks.interact.324 (own)
    
    Config file shouldn't be a problem, I'm using PEX with MySQL. All YAML files are fine. Permissions work otherwise, it's just that the Interactive ones don't "work" .. or apply .. or whatever you want to call it.

    When I grant "modifyworld.blocks.interact.*", the doors work fine. When I then add a limiter to say prevent the Guest user from accessing Chests ("-modifyworld.blocks.interact.54") it works for a few minutes (2-3) and then the Guest user can start accessing chests again. If I define it by the keyword "chest" (in addition to 54) using the same permission option, it starts working for a few more minutes then quits.

    Perhaps I'm missing something.

    Anyways, I was looking for a quick and dirty answer of "Yes allowing interaction on doors and only doors works" or "No it doesn't work". If it was the former (which it sounds like based on your response), then I would provide more details. No sense wasting mine or your time on a config issue I fucked up myself.

    But seeing (by it's sporadic working nature) it looks more like a bug in PEX or a conflict with another plugin.


    EDIT: Also apologies for the lack of definition. It was a combination of rushing a post while it being 2am and me being tired. But as for your final point, it was unneeded and uncalled for.
     
  17. Myself, I'm using a file-based backend, but this does sound like a bug or a conflict. As far as my knowledge of PEX goes, you are doing everything correctly. I've got -modifyworld.blocks.interact.(23|25|54|61|62|84) in my permissions set and it does what I want it to, stop guests from interacting with chests, dispensers, and so on.

    Hmm, I may have to put a SQL backend config on my test server to experiment with this...
     
  18. Offline

    BlancoLanda

    What's OP post? I already downloaded the "Stable version" download of the main thread... You talk about that one?

    btw. I already tried with latest builds (1318, 1337, etc.) And I keep getting the error.
     
  19. Offline

    kawiz

    Could you add some kind of global announcement, such as "<name> Has been promoted!"
     
  20. Offline

    Rytis

    Sorry, but you can read???
    There's an extra plugin for that...
    https://github.com/t3hk0d3/PermissionsEx/wiki/Modifyworld

    Rytis
     
  21. Offline

    The3vilm0nk3y

    quick thing... .you are badly mispelling fairytale tail= an animals reat limb..... tale= a story
    a fairy with a tail would be kinda funny to see... lol
     
  22. Offline

    Cody_Fox23

    *facepalm* thought I did that already. That fixed it. Thank you. Sorry for wasting your time v.v
     
  23. Offline

    Tallcraft

    I am getting this error while shutting down the server:
    Code:
    2011-10-14 20:25:34 [SEVERE] Error occurred (in the plugin loader) while disabling Permissions v2.7.7 (Is it up to date?): null
    java.lang.NullPointerException
        at java.lang.Class.isAssignableFrom(Native Method)
        at org.bukkit.plugin.java.JavaPluginLoader.removeClass(JavaPluginLoader.java:245)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:992)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:296)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:289)
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:166)
        at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:325)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:404)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Does anyone know how to fix this issue ?
     
  24. Offline

    Sna.ke

    You're on 1317, yes? I've googled for this issue as well and it seems like a bug that was was quickly fixed in 1318 (though that isn't an RB). Quite a few of my mods do that.

    New update: I just started wandering around and I opened a few doors and closed a few doors and tried to open some chests and furnaces (which were still opening).

    I went outside and looked at an enderman and tried to whack him a few times then came back inside and suddenly I can open chests. Equally strange is that I can no longer access furnaces (active or inactive).

    What I really want to secure this way is chests. Right now it is acting so unpredictably I can't go live. If I could make only doors interactive that would be great, but that doesn't work either.


    On another note, I used "pex group Guest set "some.value" true" . Then I mistakenly used "pex group Guest add "some.value"" and it threw a SQL error.

    Code:
    2011-10-14 13:37:00 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'pex' in plugin PermissionsEx v1.15
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:351)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:506)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:485)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.RuntimeException: java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'Guest-nohunger.disablehunger--0' for key 2
            at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:127)
            at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:126)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 7 more
    Caused by: java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'Guest-nohunger.disablehunger--0' for key 2
            at ru.tehkode.permissions.backends.sql.SQLConnection.updateQuery(SQLConnection.java:121)
            at ru.tehkode.permissions.backends.sql.SQLEntity.setPermissions(SQLEntity.java:291)
            at ru.tehkode.permissions.ProxyPermissionGroup.setPermissions(ProxyPermissionGroup.java:131)
            at ru.tehkode.permissions.PermissionGroup.addPermission(PermissionGroup.java:543)
            at ru.tehkode.permissions.bukkit.commands.GroupCommands.groupAddPermission(GroupCommands.java:416)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:616)
            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: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'Guest-nohunger.disablehunger--0' for key 2
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
            at com.mysql.jdbc.Util.getInstance(Util.java:382)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
            at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
            at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
            at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
            at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
            at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
            at ru.tehkode.permissions.backends.sql.SQLConnection.updateQuery(SQLConnection.java:118)
            ... 19 more
    
    When I used "pex group Guest set "some.value" null" it removed all permissions from the Guest group .. oops.

    Why does crouching (hitting SHIFT) activate the "Sorry you do not have permissions" ? It lets me access the functionality of SHIFT (can't fall off edge) but the message comes up.

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

    Darknessblea

  26. Offline

    Sna.ke

    Okay this is odd...

    So I readded "modifyworld.blocks.interact.*" and set the negatives that you have listed (23,25,54, 61, 84). I'm not allowed to open chests now (which is good). Though I can open Stoves, but only if they're "off" (they've finished cooking). If they're "on" (fire showing) I can't open them.

    Another oddity, when I remove an block (dirt, redstone torch, glass, etc) from the world it comes back immediatly. When I remove a standard torch (50) it takes about 5 seconds or so to return.
     
  27. Offline

    desicions

    I'm trying to have multiple permissions & multiple suffixes for multiple worlds, but when I log in, it says that I dont have access to everything I try to do , including chat.
    Code:
    groups:
        default:
            default: true
        worlds:
            world:
            permissions:
            - modifyworld.*
            - commandbook.msg
            - commandbook.rules
            - commandbook.call
            - commandbook.who
            - commandbook.spawn
            - commandbook.time.check
            - factions.participate
            - factions.create
            - factions.viewAnyPower
            - HomeX.*
            - heroes.classes.*
            prefix: '&f[&bVillager&f]&7'
            creative:
            permissions:
            - modifyworld.*
            - commandbook.msg
            - commandbook.rules
            - commandbook.call
            - commandbook.who
            - commandbook.spawn
            - commandbook.time.check
            - HomeX.*
            - commandbook.give
            prefix: '&f[&bCreative Villager&f]&7'
            suffix: '&7'
    
    Any idea what's wrong?
     
  28. Offline

    t3hk0d3

    Ignited furnace have different blockid
    Torch update rate is lower than normal block, as far i know. Anyway, i will test.
     
  29. Offline

    Buckethead

    ok i didnt know i needed that. old permissions didnt. well i got chatmanger and now it works. my config was right
     
  30. Offline

    BlancoLanda

    Help me with this please!
     
  31. Offline

    isikerkan

    Lol Essentials doesn't work. Here my Permissions, when i try to warp: Bukkit sad.... Did anyone can help me? And i use the normal Permissions 3.1.6, Superpermsbridge and no Groupmanager.
    Code:
    users:
        DearCubus:
            group: Hauptadmin
        isikerkan:
            group: Hauptadmin
        minimal_warrior:
            group: Hauptadmin
    groups:
        Default:
            default: true
            permissions:
            - modifyworld.*
            - lwc.protect
            - iConomy.access
            - iConomy.rank
            - iConomy.list
            - iConomy.help
            - iConomy.payment
            - iConomy.bank.access
            - iConomy.bank.main.*
            - iConomy.bank.join
            - iConomy.bank.join.multiple
            - ChestShop.shop.create
            - ChestShop.shop.buy
            - ChestShop.shop.sell
            - factions.participate
            - factions.viewAnyPower
            - commandSigns.use
            - essentials.warp.list
            - essentials.warp
            - essentials.home
            - essentials.sethome
            - ecoCreature.Creature.*
            - spoutessentials.playmusic
            - spoutessentials.stopgmusic
            - spoutessentials.joinmessage
            - spoutessentials.leavemessage
            - essentials.who
            - DailyBonus.get
            - gcb.access
            - mcmmo.tools.*
            - mcmmo.ability.*
            - mcmmo.item.*
            - mcmmo.chat.*
            - mcmmo.skills.*
            - mcmmo.commands.*
            - mobarena.use.*
            - mobarena.classes.*
            - mobarena.arenas.*
            - nSpleef.member.*
            - residence.create
            - torcharrow.*
            - money2xp.user
            - XcraftGate.use.*
            - XcraftGate.world.warp
            - XcraftGate.world.info
            - chaircraft.sit
            - bonus.get
            - nSpleef.member.*
            - spitems.member
            - falsebook.*
        Moderator:
            inheritance:
            - Default
            permissions:
            - modifyworld.*
            - essentials.kick
        Admin:
            inheritance:
            - Default
            - Moderator
            permissions:
            - '*'
        Hauptadmin:
            inheritance:
            - Default
            - Moderator
            permissions:
            - '*'
     

Share This Page