Inactive [ADMN/DEV] PermissionsEx (PEX) v1.19.5 - Tomorrow is Today! [1.4.6-R0.1]

Discussion in 'Inactive/Unsupported Plugins' started by t3hk0d3, May 21, 2011.

  1. Offline

    t3hk0d3

    [​IMG]
    Version: 1.19.5

    PLEASE USE BUKKIT-DEV FORUM FOR DISCUSSION/HELP
    http://dev.bukkit.org/server-mods/permissionsex/
    THANKS IN ADVANCE.

    PermissionsEx (PEX) is a new permissions plugin, based on Permissions ideas and supports all of its features. But PEX is more! It offers different backends, powerful ingame management, fine grained restrictions for world modification.

    [​IMG]

    Current features
    1. Bukkit Permissions (SuperPerms) compatible.
    2. Several backend support. Currently bundled backends is File (YAML) and SQL (MySQL, SQLite). Also it's possible to add your own.
    3. YAML backend, with new, fully rethinked, config schema. Now all user, groups and their permissions are stored in one file - permission.yml. BTW file name is adjustable too.
    4. SQL backend, most delicious. Currently MySQL and SQLite supported, but other DB (like Postgre) are possible too. PEX deploys the DB scheme (tables and initial data) automatically. This means, that you only need to provide data on how to connect to the db, everything else PEX will handle by itself.
    5. Flexible architecture and API - you can change a lot programmatically.
    6. Compatibility layer with TheYeti's Permissions (2.7.4) (as a separate part of the plugin). In most cases plugins, which use Permissions, will alsowork with PEX also.
    7. Rich chat/console command interface. You can do almost everything ingame. Command list below.
    8. Modifyworld - Embedded restrictions mechanism (we call it "modifyworld"), which provides the possibility to control players abilities, such as destroying/placing blocks, riding carts/boats or even getting spotted by mobs and much more. Disabled by default.
    9. Multigroup inheritance. User, as well as Group, can be member of several groups. And inherit their permissions, options and prefix/suffix.
    10. Permissions based upon Regular Expressions. This mean you can use regular expressions. Example: modifyworld.blocks.(destroy|place).(3|12) - this permission allow place or destroy only sand (12) or dirt (3) blocks. There is still limitation on dot usage in your regexps - dots are escaped by default.
    11. Multiworld permissions. Just don't specify world and permission would work in any world.
    12. Multiworld inheritance. You can inherit different groups in different worlds.
    13. Easy migration from Permissions 2.x. Converter for both YAML and SQL are embedded into PermissionsCompat. Just use simple instruction.
    14. Perfomance friendly. Low-level caching helps alot when you have 100+ online users :)
    15. Promotional/Demotional system. You can assign ranks to groups and promote/demote users to higher/lower ranked group.
    16. World-inheritance - permissions/option of one world can be inherited by another world.
    17. Timed Permissions - you can give user permission only for some amount of time.
    18. Chat Manager - small chat plugin, bundled with PEX. With prefixes/suffiex and colors. Check wiki for more details.


    Documentation
    Wiki

    Basic setup tutorial (Thanks to lycano)

    Nice tutorial made by Bennetman


    Download
    Stable version

    Development version (mostly stable) - always lastest dev build.

    Sources
    https://github.com/PEXPlugins

    Builds
    http://webbukkit.org:8080/

    Maven Repository
    http://repo.tehkode.ru/browse/ru.tehkode

    IRC
    Join us on #permissionsex, irc.esper.net. Feel free to ask any related questions.

    Tools !NEW!
    Pex Auto-Setup Tool - MySQL and FlatFile !


    Changelog
    Show Changelog (open)
    v1.19.5
    Proper intervals for timed commands (both group/permissions management), without pesky seconds calculations (like /pex user t3hk0d3 timed add cool.permission 10days)
    Bugfixes.
    1.4.6 compatibility.


    v1.19.4
    Built for Bukkit 1.4.2-R0.1
    Added inventory permissions (modifyworld.items.put/take.<item>.of.<chest>)
    Added item hold permission (modifyworld.items.hold.<item>)
    Sdded monster egg spawn permission (modifyworld.spawn.<creature>)
    Few other minor fixes
    v.1.19.3
    Modifyworld improvements (configurable messages, now independent from PEX)
    /pex help command
    Minor improvements and bugfixes
    v.1.19.2
    New modifyworld permissions
    Some bugfixes
    v.1.19.1
    Bugfix release
    v1.19
    Bukkit R6 compatible.
    Several bugfixes!
    Permissions now case-insensetive.
    v1.18
    Users logging and cleanup feature.
    Non-inheriting nodes feature.
    Several Bugfixes.
    PermissionsCompat is finally remove from default bundle.
    v1.17
    User/group specific management permissions (permissions.manage.group.Admin)
    Fixed some superperms compatibility issues
    Fixed several bugs
    v1.16
    SuperPerms compatbility bridge were rewritten - no lags anymore and now with debug output (now you can view superperms checks).
    Numerous of bugs were fixed (Thanks you guys for reporting them)
    Modifyworld were improved (modifyworld.item.use)
    v1.15
    Compatiblity for 1317+
    Fixed perfomance issues with SuperPerms (if you still experience they try to disable "raw-permissions" in config.yml)
    Fixed issue with prefix inheritance
    v1.14
    Improved Options mechanism.
    Auto saving new users feature, disabled by default.
    SuperPerms bridge improved - more permissions supported by wildcards.
    File backend dumping now fully functional. SQL dumping is still bogus (do not dump world-specific inheritance and prefixes), will be fixed soon.
    Many bugfixes and minor improvements.
    v1.13
    Superperms (BukkitPerms) support
    Multiworld inheritance and prefixes/suffixes
    Groups weighting
    ChatManager, chat plugin which bundled with PEX.
    Modifyworld now separate plugin, but still bundled with PEX.
    API changed slightly, CustomEvents (PermissionsEntityEvent, PermissionsSystemEvent) introduced.
    Many lesser improvements and tons of bugfixes.
    v1.12
    API get slightly improved
    Ranking ladders.
    User/group name case-insensetivity.
    World-inheritance.
    Timed permissions.
    Modifyworld rules are get improved.
    Tons of minor improvements and bugfixes.
    v1.11
    Many bugfixes and improvements.
    MySQL connection stability improved - reconnection mechanism.
    v1.10
    Promotional/Demotional system.
    Perfomance improvement, with new low-level caching system (thx Joy)
    Modifyworld improved.
    Many lesser improvements and bugfixes.
    v1.06
    New p2compat backend, for easy migration from Permissions 2.x to PEX.
    v1.05
    Users/Groups dumping (pex dump <backend> <file>).
    New commands pex promote/demote. Actually this is just aliases for "pex user group set/remove"
    Few bugfixes.
    v1.04
    Players now can be informed about changes (has been added to group, changed permission/option). Disabled by default - set "permissions.informplayers.changes" to "true"
    Config node "permissions.verbose", which responsible for player informing about modifyworld restrictions has been renamed to "permissions.infromplayers.modifyworld".
    Autocomplete has been improved.
    New command "pex config <node> [value]". This command help to manipulate configuration file (config.yml) from console/chat interface.
    Many bugfixes.
    v1.03
    Autocomplete for users (taken from registred users and online users) and groups names.
    New command for user removing (pex user <user> delete)
    Fixed several nasty bugs. Thanks for bugreports!
    v1.02
    Compatibility layer loading order issue fixed. Now most of plugins should work.
    Tested with new CB 803 build.
    v1.01
    Regular expression permissions support.
    Newer permissions now added above (bugfix).
    Several bugfixes.
    v1.00
    Initial public release.
     
    BRampersad, grid21, MrRazull and 71 others like this.
  2. Offline

    theVanyr


    Thank you D.S. On to DIY tutorial happiness!
     
  3. Offline

    DragonSupremacy

    How exactly did you assign them to the DB?

    In PermissionsEx.permissions_entity, make sure each user has a type of "1" (without quotes), and make sure that in PermissionsEx.permissions_inheritance each user "inherits" from whichever group you set them too, and again, make sure their type is "1".
     
  4. Offline

    t3hk0d3

    Sorry, but is not possible to prevent world edit manipulations using modifyworld. I suggest you to check world-edit permissions.

    Look like you have corrupted JAR (misses plugin.yml).
    Try redownload (both PEX and Compat), it this happens again try beta version.

    PEX now case-insensetive, check beta version.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  5. Offline

    dew

    I used /pex user UserName group set GroupName

    Looking through the database, all of those that I assigned don't have an entry in the inheritance. I am guessing that is the issue, though unsure why it won't put an entry in the inheritance until they login and I reset their permissions
     
  6. Offline

    t3hk0d3

    Features of Beta version (1.12):
    • World-Inheritance
    • Several ranking ladders
    • Case-insensetivity
    • Modifyworld improvement
    • Large number of improvements and bugfixes (really, 52 commits since 1.11)
    More info after release (i hope this week). Im urge everyone to test beta version. Any information on IRC :D

    Version 1.11?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  7. Offline

    noahstauff

    Ok I dont think im doing this right can someone make a video of how to install this. And keep permissions. I have I chat And I just assumed that I copied the permissions file into pex folder in plugins and it would work. but every one can use anything and chat is white. no prefixes/suffixes of any color. Thanks Again,
    Noah

    Also how do I get to you on irc? I realy just installed it just so I could get help.
    Thanks,
    Noah

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  8. Offline

    t3hk0d3

  9. Offline

    Tang

    Code:
    VIP:
            default: false
            prefix: '&2'
            suffix: '&2'
            inheritance:
            - SU
            permissions:
            - essentials.signs.mail.create
            - griefalertr.exempt
    Set prefix and suffix like posted above, Then install iChat, alter iChat's configuration to your liking.
     
  10. Offline

    noahstauff

    ok so i somehow set it up with sqlite and then type in that? I'm having issues dumping the permissions file to pex it says internal error and my server logs dont seem to be recent??? so idk. all chat is white no prefixes no permissions aperently everyone has all permissions and i dont have permission to dump or even use /pex in mc. then i cant dump the file. so irealy need help. I dont get why this isnt working for me. I've had to shut down my server for 2days now so people dont run wild.
    thanks again,
    Noah

    thanks

    Maybe it would be easier if you made a realy in depth video tutorial on how to install and configure your plugin t3hk0d3. thanks still having problems,
    Noah
    (and sorry about multiple posts);)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  11. Offline

    codename_B

    So... does this work with iChat?
     
  12. Offline

    DragonSupremacy

  13. Offline

    noahstauff

    Maybe its my permissions config for noyeti?
    Could that be the problem? If the code has errors then maybe thats why its not working...
    could you try and fix my config for noyeti? Thanks.
    here it is.
    Code:
    # System is no longer used, but may become used in #the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be #a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one #in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the #permissions of the world Derp
    #
    # Make sure to rename this file to the name of the #world that is in sever.properties under
    # level-name.  So if it is level-name: world  then #this should be world.yml and in the
    # plugins/Permissions directory (ie. #plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this #document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the #tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a #group from being able to build then
    # set the build: flag to false (build: false).  If #you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from #another
    #   group simply place the groups name in the #"inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be #placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you #can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general #commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not #have the group inherit any permissions
    #   from other groups.  Any users assigned to this #group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their #own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to #do anything.
    groups:
        Default:
            default: true
            info:
                prefix: '&f<&2Guest&f'
                suffix: ''
                build: true
                rank: 1
            inheritance:
            permissions:
                - 'foo.bar'
                - BetterShop.user.*
    
                - Iconomy.access
    
                - lwc.protect
    
                - multihome.home
    
                - preciousstones.benefit.*
    
                - preciousstones.whitelist.*
    
                - preciousstones.special.*
    
                - fight.user
    
                - SpawnControl.spawn.use
                - warpzOr.home
                - warpzOr.sethome
         Trusted:
             default: false
             info:
                 prefix: '&2<&6Trusted&2>
                 suffix: ''
                 build: true
              inheritance:
                -Default
              permissions:
                - magiccarpet.*
                - clans.*
    
         Moderator:
            default: false
            info:
                prefix: '&2<&6Moderator&2>'
                suffix: ''
                build: true
            inheritance:
                - Default
                - Trustee
            permissions:
                - 'bar.foo'
                - BetterShop.admin.*
    
                - Iconomy.*
    
                - lwc.mod
    
                - multihome.*
    
                - preciousstones.*
    
                - fight.*
    
                - movecraft.*
    
                - craftbook.*
    
                - multiverse.*
                - IJobs.*
                - SpawnControl.spawn.use
                -clans.*
        Admins:
            default: false
            info:
                prefix: '&2<&4Admin&2>'
                suffix: ''
                build: true
                rank: 99
            inheritance:
                -Trusted
            permissions:
                - '*'
        Owner:
    
            default: false
    
            info:
    
                prefix: '&2<&cOWNER&2>&6'
    
                suffix: ''
    
                build: true
    
                rank: 100
    
            inheritance:
    
                 -Admins
            permissions:
    
                - '*'
    
        Worm:
    
           default: false
    
           info:
    
               prefix: '&2<&4Worm&2>'
    
               suffix: I SUCK
    
               build: false
    
               rank: 0
    
           inheritance: null
    
           permissions:
    
        Lightning-Striker:
            default: false
            info:
                prefix: '&e<&bLightning-Striker&e>'
                suffix: '&4"I Kill U!"&e'
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
                - BetterShop.admin.*
    
                - Iconomy.*
    
                - lwc.mod
    
                - multihome.*
    
                - preciousstones.*
    
                - fight.*
    
                - movecraft.*
    
                - craftbook.*
    
                - multiverse.*
                - IJobs.*
                - SpawnControl.spawn.use
                - wrath.*
                - magiccarpet.*
    
    ##
    # Users denote which users are included in which #group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but #also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does #not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen #with Herpina
    ##
    users:
        noahstauff10:
            group: Owner
            permissions:
        LuigiBro124:
            group: Admins
    
        samstauffer7:
            group: Lightning-Striker
    
        lopside123:
            group: Moderator
    
        perm123456789:
            group: Moderator
    
        pianomomma:
            group: Worm
    
        lauzon1998:
            group: Guest
        spitman2:
            group: Trusted
    I'll also post on his fourm thanks for trying to help,
    Noah
     
  14. Offline

    DragonSupremacy

    Uh, you're trying to use both Permissions *and* PermissionsEx. There's one problem. Download the PermissionsCompat jar and use that one instead to emulate the Permissions plugin from within PermissionsEx.

    Secondly, don't include blank lines in YML files.

    Thirdly, why have a "foo.bar" permission node? Those are just placeholder nodes that serve no purpose whatsoever.
     
  15. Offline

    MarsGodofWar

    Ok I have what seems to be a slight problem, I run an rp server with 14 different ranks each with thiere own command and ability set so none of them would realy fit into any subgroup. My issue is when setting rank order I can set ranks for all multiples of 100(1000, 900,800 so on) but if i try to set them up with say 850 it says rank-ladder 850 Rank 0. Is there any way for me to set all my groups without subgroups. This plugin seems so much simpler then what the yettis has turned into and i would like to use it but I need all of my groups too.
     
  16. Offline

    DragonSupremacy

    Why is the whole "rank" thing even necessary anyway?

    Just set up every group with their own set of permissions, don't have them inherit permissions unless it's a "specialization" or something, and have a "mod" group or whichever name you put to it that can set user groups? (using /pex user <name> group set <group name>)
     
  17. Offline

    MarsGodofWar

    Ill do that thank you for the suggestion.
     
  18. Offline

    kronikwasted

    i cant even get it to initialize i have not tried without command book but this is the error i get, i am gonna post both in command book's thread and this one hoping one of the threads can help me, i will spoiler my error though
    i am on latest build running the server on windows 7 i think 64 bit but not sure, its my brothers computer, and i dont work with 7 much except when im fiddling with the plugins since none of them seem to like eachother, i switched to this plugin because permissions' latest build seems to decide when it will work randomly, i will spoiler my permissions file and config as well (they will be in a separate post since i cant get the spoiler to end :( sorry for the inconvenience) since im too lazy to use a code box or pastebin just trust me that the spacing is correct in both the config and permissions,
    thank you for any help you are able to get
    sorry for my horrid punctuation and grammar
    sincerely,
    Kronikwasted
    Show Spoiler
    148 recipes
    16 achievements
    15:55:22 [INFO] Starting minecraft server version Beta 1.6.6
    15:55:22 [INFO] Loading properties
    15:55:22 [INFO] Starting Minecraft server on *:25565
    15:55:22 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    15:55:22 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    15:55:22 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    15:55:22 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    15:55:22 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-
    g3fc0460-b818jnks (MC: 1.6.6)
    15:55:22 [INFO] Preparing level "Awesome"
    15:55:22 [INFO] Preparing start region for level 0
    15:55:23 [INFO] Preparing spawn area: 89%
    15:55:23 [INFO] Preparing start region for level 1
    15:55:24 [SEVERE] Could not load 'plugins\CommandBook.jar' in folder 'plugins':

    java.lang.NoClassDefFoundError: com/sk89q/minecraft/util/commands/CommandExcepti
    on
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:167)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:194)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:117)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:103)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.sk89q.minecraft.util.commands.C
    ommandException
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 11 more
    15:55:24 [INFO] [PermissionsEx] sql backend registered!
    15:55:24 [INFO] [PermissionsEx] file backend registered!
    15:55:24 [INFO] [PermissionsEx] xml backend registered!
    15:55:24 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    15:55:24 [SEVERE] Could not load 'plugins\PermissionsEx.jar' in folder 'plugins'
    :
    while parsing a block mapping
    in "<reader>", line 1, column 1:
    permissions:
    ^
    expected <block end>, but found BlockMappingStart
    in "<reader>", line 7, column 2:
    modifyworld:
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:576)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :228)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)

    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:74)
    at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:156)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:174)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:194)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:117)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:103)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    15:55:24 [SEVERE] Could not load 'plugins\Permissions.jar' in folder 'plugins':
    PermissionsEx
    org.bukkit.plugin.UnknownDependencyException: PermissionsEx
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:132)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:194)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:117)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:103)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    15:55:24 [INFO] Done (0.213s)! For help, type "help" or "?"

    Show Spoiler

    groups:
    Member:
    default: true
    info:
    prefix: '&b'
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'localshops.user.*'
    - 'localshops.manager.*'
    - 'lwc.protect'
    - 'iConomy.access'
    - 'iConomy.bank.*'
    - 'iConomy.list'
    - 'iConomy.payment'
    - 'iConomy.rank'
    - 'commandbook.call'
    - 'commandbook.spawn'
    - 'lwc.protect'
    - 'elevators.*'
    - 'commandbook.say.me'
    - 'commandbook.msg'
    - 'commandbook.time.check'
    - 'commandbook.who'

    Builder:
    default: false
    info:
    prefix: '&d'
    suffix: ''
    build: true
    inheritance:
    - Member
    permissions:
    - worldedit.*
    - localshops.user.*
    - localshops.manager.*
    - 'lwc.protect'
    - 'iConomy.access'
    - 'iConomy.bank.*'
    - 'iConomy.list'
    - 'iConomy.payment'
    - 'iConomy.rank'
    - 'commandbook.call'
    - 'commandbook.spawn'
    - 'lwc.protect'
    - 'elevators.*'
    - 'commandbook.say.me'
    - 'commandbook.msg'
    - 'commandbook.time.check'
    - 'commandbook.who'
    - 'commandbook.give'
    - 'commandbook.give.other'

    Moderator:
    default: false
    info:
    prefix: '&5'
    suffix: ''
    build: true
    inheritance:
    - Default
    - Builder
    permissions:
    - worldedit.*
    - 'deathtpplus.deathtp'
    - 'lwc.mod'
    - 'commandbook.give'
    - 'commandbook.give.other'
    - 'commandbook.more.*'
    - 'commandbook.time.*'
    - 'commandbook.weather'
    - 'commandbook.teleport.*'
    - 'commandbook.return'
    - 'commandbook.mute'
    - 'commandbook.kick'
    - 'commandbook.bans.isbanned'
    - 'commandbook.broadcast'
    - 'localshops.user.*'
    - 'localshops.manager.*'
    - 'lwc.protect'
    - 'iConomy.access'
    - 'iConomy.bank.*'
    - 'iConomy.list'
    - 'iConomy.payment'
    - 'iConomy.rank'
    - 'commandbook.call'
    - 'commandbook.spawn'
    - 'lwc.protect'
    - 'elevators.*'
    - 'commandbook.say.me'
    - 'commandbook.msg'
    - 'commandbook.time.check'
    - 'commandbook.who'

    Admins:
    default: false
    info:
    prefix: '&c'
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'

    this is a short one lol its the config
    the wierd thing is, even with the errors, pex groups seem to work, i have all the commands as admin (no prefix) and my mods have the commands they are supposed to have, and everything works fine except no commandbook and the pex commands and prefixes and such dont work
    Show Spoiler
    permissions:
    backends:
    file:
    file: permissions.yml
    backend: file
    basedir: plugins\PermissionsEx
    modifyworld:
    enable: true
    itemRestrictions: false

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  19. Offline

    t3hk0d3

    You have wrong ident in config.yml.

    better use pex config command
     
  20. Offline

    DragonSupremacy

    Show Spoiler


    Your permission nodes shouldn't contain apostrophes (that would be ')

    Also like tehkode said, check your formatting. Read a yml tutorial if you don't know how to, or run your file through an online yml parser (google for one)
     
  21. Offline

    t3hk0d3

    New feature of upcoming 1.12, Timed Permission you can give to user or group permission for particular amount of time.

    pex user <user> timed add <permission> <lifetime> [world]

    Example:
    pex user t3hk0d3 timed add "hurr.durr" 60 - Would give t3hk0d3 permission "hurr.durr" for a 60 seconds.
    pex user t3hk0d3 timed add "foo.bar" - Would give t3hk0d3 permission "foo.bar" until server reload/restart.

    pex user t3hk0d3 timed remove "foo.bar" - Remove timed permission.
    pex user t3hk0d3 remove "foo.bar" - Would work too
     
  22. im so confused, can you make a tutorial that doesnt blow my mind away, ive heard that this is an amzing mod, i just want to be able to use it :)
     
  23. Offline

    t3hk0d3

  24. Offline

    kronikwasted

    the indenting is correct if thats what you mean, i use the correct spaces, i just am too lazy to use a codebox so it will keep the right spacing when posted here, but is that whats causing the errors? and i havent changed the config.yml from what it came with, so idk why it would be muffed

    just realized thanks to the wonderful people at the commandbook thread that i forgot to put worldedit back in before i ran it so here is the new log from my server with world edit enabled so commandbook doesnt spaz
    Show Spoiler
    148 recipes
    16 achievements
    22:06:29 [INFO] Starting minecraft server version Beta 1.6.6
    22:06:29 [INFO] Loading properties
    22:06:29 [INFO] Starting Minecraft server on *:25565
    22:06:29 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    22:06:29 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    22:06:29 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    22:06:29 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    22:06:29 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-
    g3fc0460-b818jnks (MC: 1.6.6)
    22:06:29 [INFO] Preparing level "Awesome"
    22:06:29 [INFO] Preparing start region for level 0
    22:06:30 [INFO] Preparing spawn area: 81%
    22:06:31 [INFO] Preparing start region for level 1
    22:06:31 [INFO] Preparing spawn area: 93%
    22:06:32 [INFO] LWC Loading shared objects
    22:06:32 [INFO] LWC Native library: plugins/LWC/lib/native/Windows/x86/sqlit
    ejdbc.dll
    22:06:32 [INFO] [PermissionsEx] sql backend registered!
    22:06:32 [INFO] [PermissionsEx] file backend registered!
    22:06:32 [INFO] [PermissionsEx] xml backend registered!
    22:06:32 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    22:06:32 [SEVERE] Could not load 'plugins\PermissionsEx.jar' in folder 'plugins'
    :
    while parsing a block mapping
    in "<reader>", line 1, column 1:
    permissions:
    ^
    expected <block end>, but found BlockMappingStart
    in "<reader>", line 7, column 2:
    modifyworld:
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:576)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :228)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)

    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:74)
    at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:156)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:174)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:194)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:117)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:103)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    22:06:32 [SEVERE] Could not load 'plugins\Permissions.jar' in folder 'plugins':
    PermissionsEx
    org.bukkit.plugin.UnknownDependencyException: PermissionsEx
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:132)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:194)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:117)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:103)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    22:06:32 [INFO] [AuthMe] Default file written: config.yml
    22:06:32 [INFO] [AuthMe] Using flatfile as datasource!
    22:06:32 [INFO] [AuthMe] Cache for registrations is enabled!
    22:06:32 [INFO] [AuthMe] 0 registered players loaded in 0.0050 seconds!
    22:06:32 [INFO] [AuthMe] Version 0.72 was successfully loaded!
    22:06:32 [INFO] CommandBook 1.5.1-customized enabled.
    22:06:32 [INFO] CommandBook: 1 banned name(s) loaded.
    22:06:32 [INFO] CommandBook: 0 kit(s) loaded.
    22:06:32 [INFO] CommandBook: No known permissions plugin detected. Using configu
    ration file for permissions.
    22:06:32 [INFO] CopyCat 0.3 Enabled
    22:06:32 [INFO] Elevators version 1.4.3 is enabled! 0 elevators in worlds "Aweso
    me", "Awesome_nether" loaded.
    22:06:32 [INFO] iChat (v2.3.0) enabled
    22:06:33 [INFO] [iConomy] Logging is currently disabled.
    22:06:33 [INFO] [iConomy] v5.0 (Eruanna) loaded.
    22:06:33 [INFO] [iConomy] Developed by: [Nijikokun]
    22:06:33 [INFO] [LocalShops] Loaded with 0 shop(s)
    22:06:33 [INFO] [LocalShops] Version 3.1.1 is enabled: 366d83a2-b39c-476d-a5c8-1
    976954db151
    22:06:33 [INFO] [LocalShops] Starting NotificationThread with Timer of 300 secon
    ds
    22:06:33 [INFO] [LocalShops][Economy] BOSEconomy not found.
    22:06:33 [INFO] [LocalShops][Economy] Essentials Economy not found.
    22:06:33 [INFO] [LocalShops][Economy] iConomy 4 not found.
    22:06:33 [INFO] [LocalShops][Economy] iConomy 5 hooked.
    22:06:33 [INFO] [LocalShops][Economy] iConomy 5 found: Loaded
    22:06:33 [INFO] [LocalShops][Permission] Permissions (Phoenix) not found.
    22:06:33 [INFO] [LocalShops][Permission] Local Fallback Permissions found: Loade
    d
    22:06:33 [INFO] LWC Loaded 116 locale strings (0 overrides)
    22:06:33 [INFO] LWC Loading SQLite
    22:06:33 [INFO] SQLite Using: Native
    22:06:33 [INFO] LWC At version: v2.31
    22:06:33 [INFO] [PorteCoulissante] plugin version 1.2.1 by Captain_Chaos enabled

    22:06:33 [INFO] [RetractableBridge] plugin version 1.3.6 by Captain_Chaos enable
    d
    22:06:33 [INFO] SpyerAdmin has completed updating the script successfully.
    22:06:33 [SEVERE] sun.org.mozilla.javascript.internal.WrappedException: Wrapped
    java.lang.ClassNotFoundException: com.earth2me.essentials.Console (<Unknown sour
    ce>#115) in <Unknown source> at line number 115
    22:06:33 [INFO] SpyerAdmin module version 1.3_2 stable, a spying utility for adm
    inistrators and moderators, is active. Part of the Spyer package by [nickguletsk
    ii200]
    22:06:34 [INFO] [Towny] Database: [Load] flatfile [Save] flatfile
    22:06:34 [INFO] [Towny] Using: iConomy
    22:06:34 [INFO] [Towny] Version: 0.67 - Mod Enabled
    22:06:34 [INFO] WorldEdit 4.4 enabled.
    22:06:34 [INFO] WorldEdit: No known permissions plugin detected. Using configura
    tion file for permissions.
    22:06:34 [INFO] WorldGuard: No known permissions plugin detected. Using configur
    ation file for permissions.
    22:06:34 [INFO] WorldGuard: (Awesome) Single session is enforced.
    22:06:34 [INFO] WorldGuard: (Awesome) TNT ignition is PERMITTED.
    22:06:34 [INFO] WorldGuard: (Awesome) Lighters are PERMITTED.
    22:06:34 [INFO] WorldGuard: (Awesome) Lava fire is blocked.
    22:06:34 [INFO] WorldGuard: (Awesome) All fire spread is disabled.
    22:06:34 [INFO] WorldGuard: Loaded configuration for world 'Awesome"
    22:06:34 [INFO] WorldGuard: (Awesome_nether) Single session is enforced.
    22:06:34 [INFO] WorldGuard: (Awesome_nether) TNT ignition is PERMITTED.
    22:06:34 [INFO] WorldGuard: (Awesome_nether) Lighters are PERMITTED.
    22:06:34 [INFO] WorldGuard: (Awesome_nether) Lava fire is blocked.
    22:06:34 [INFO] WorldGuard: (Awesome_nether) Fire spread is UNRESTRICTED.
    22:06:34 [INFO] WorldGuard: Loaded configuration for world 'Awesome_nether"
    22:06:34 [INFO] WorldGuard: 3 regions loaded for 'Awesome'
    22:06:34 [INFO] WorldGuard: 2 regions loaded for 'Awesome_nether'
    22:06:34 [INFO] WorldGuard 5.0-alpha10 enabled.
    22:06:34 [INFO] Done (0.446s)! For help, type "help" or "?"
    22:10:49 [INFO] bigboldbrave [/174.99.122.180:28869] logged in with entity id 15
    7 at (11.96875, 77.0, 31.28125)
    22:10:49 [INFO] CommandBook: No intro.mid; not playing intro song.
    22:11:12 [INFO] [AuthMe] Player bigboldbrave is now registered!
    >

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  25. Offline

    t3hk0d3

    And again:

    Code:
    while parsing a block mapping
    in "<reader>", line 1, column 1:
    permissions:
    ^
    expected <block end>, but found BlockMappingStart
    in "<reader>", line 7, column 2:
    modifyworld:
    ^
    Show your config.yml on pastie.org pls.

    Or you can just remove config.yml and reload server.
     
  26. Offline

    Zawe

    Could u make that even with modifyworld. players cannot destroy spawn protection zone?
     
  27. Offline

    kronikwasted

    lol my config is what you had with the dl line but i will try deleting and restarting, thanks for ya help

    YAY i deleted and reloaded and it works now *hires a rather large breasted stripper to hug t3hk0d3*

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  28. Offline

    Fuzzwolf

    It seems like some plugins that worked on 3.x don't work on this. Two of them are:
    BookWorm
    MagicCarpet
    Any idea why? I contacted the author of these two. No errors in the log and I do have all permission nodes...
     
  29. Offline

    theVanyr

    I've got a lovely bunch of coconuts...

    Running a multiplayer server, with worldedit, nospawn, spawnlist, and welcomemessage - everything is up to date (afaIk). I had been running the other Plug-in's without PermissionsEx - and they were fine... Installed pex, and while everything seems fine and the world loads - I am the only player who can log in without going into the pex "default" group, and I keep getting the following errors on load:

    Code:
    2011-06-22 23:59:57 [INFO] Starting minecraft server version Beta 1.6.6
    2011-06-22 23:59:57 [INFO] Loading properties
    2011-06-22 23:59:57 [INFO] Starting Minecraft server on *:25565
    2011-06-22 23:59:57 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-823-gb9d0b04-b860jnks (MC: 1.6.6)
    2011-06-22 23:59:57 [INFO] Preparing level "Midgard"
    2011-06-22 23:59:57 [INFO] Preparing start region for level 0
    2011-06-22 23:59:58 [INFO] [PermissionsEx] sql backend registered!
    2011-06-22 23:59:58 [INFO] [PermissionsEx] file backend registered!
    2011-06-22 23:59:58 [INFO] [PermissionsEx] xml backend registered!
    2011-06-22 23:59:58 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    2011-06-22 23:59:58 [INFO] [PermissionsEx] Initializing file backend
    
    ----->2011-06-22 23:59:58 [INFO] [NoSpawn] No Permissions found, Op's can use commands!
    
    2011-06-22 23:59:58 [INFO] NoSpawn version 1.5.2 is enabled!
    2011-06-22 23:59:58 [INFO] [PermissionsEx] Modifyworld is enabled.
    2011-06-22 23:59:58 [INFO] [PermissionsEx] v1.11 enabled
    2011-06-22 23:59:58 [INFO] Spawnlist V0.9.2 enabled. From EnigmaSM
    2011-06-22 23:59:58 [INFO] Remember: Spawnlist uses its own /item command.
    2011-06-22 23:59:58 [INFO] If you use a plugin that has its own /item command, unexpected things may result
    2011-06-22 23:59:58 [INFO] For your safety, please disable the /item command for all groups you want managed by Spawnlist
    2011-06-22 23:59:58 [INFO] Lite Mode enabled. Permissions needed for full mode. Only default/base level Spawnlist protection is available.
    2011-06-22 23:59:58 [INFO] WelcomeMessage 1.5.2 enabled
    
    ----->2011-06-22 23:59:58 [INFO] Permission system not detected, defaulting to OP[/B]
    2011-06-22 23:59:58 [INFO] WorldEdit 4.6 enabled.
    
    ----->2011-06-22 23:59:58 [INFO] WorldEdit: No known permissions plugin detected. Using configuration file for permissions.
    
    2011-06-22 23:59:58 [INFO] Done (0.092s)! For help, type "help" or "?"
    
    Also here is the permissions.yml file - as I assume it will be asked for...

    Code:
    groups:
        default:
            default: true
            permissions:
            - modifyworld.chat
            suffix: ' VISITOR'
            options:
                rank: '1000'
        survivor:
            permissions:
            - modifyworld.*
            suffix: ' survivor'
            options:
                rank: '900'
        builder:
            inheritance:
            - survivor
            prefix: 'builder '
            options:
                rank: '500'
            permissions:
            - spawnlist.spawnlisted
            - spawnlist.item
        architect:
            prefix: 'Architect '
            options:
                rank: '100'
            default: false
            permissions:
            - '*'
            - worldedit.*
            - worldedit.clipboard.*
            - worldedit.history.*
            - worldedit.navigation.*
            - worldedit.region.*
            - worldedit.wand.*
            - worldedit.selection.*
            - worldedit.superpickaxe
            - worldedit.fill
            - worldedit.drain
            - worldedit.fixwater
            - worldedit.fixlava
            - worldedit.extinguish
            - worldedit.butcher
            - worldedit.remove
            - spawnlist.item
            - spawnlist.canspawnanything
            - spawnlist.give
    users:
        vanyr:
            group: architect
        theGrimn1r:
            group: builder
        azurephoenix:
            group: builder
        SLMurphy:
            group: builder
    
    I am a bit lost here and could use some guidance.

    Why are the other 3 players unable to modifyworld?
    Why are the other plug-ins not registering with pex?
    (did I not do my homework - and they have no compat?)


    BTW - from my previous post - great tutorial link on the editor DragonSupremacy - thank you again.
     
  30. Offline

    t3hk0d3

    Modfifyworld don't affect spawn protection. To modify spawn zone player should be OP.

    Only these two plugins don't work?

    At first install PermissionsCompat

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  31. Offline

    Fuzzwolf

    That's all I've found so far

    See if you can find any issues here... http://code.google.com/p/nisovin-minecraft-bukkit-plugins/source/browse/trunk/BookWorm/
    I got a response from Nisovin stating that he didn't want to update to support every version of permissions, is there anything you can do? I love this permissions system but these plugins are vital for my server...
    Your bleeding edge development version works! Hooray! Any major bugs I should be concerned about ... ?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016

Share This Page