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

    Sharkmaster321

    First, I'm trying to fix all YAML parser errors.
    Next, when I log on to my own server, I get this whole series of [severe] error messages, I'll post it.
    And lastly, I have no one to come on my server to help me test it, and even when I do /pex in-game, it says,
    [PermissionsEx] version [1.19.2]
    An internal error occured when attempting to perform this command
    So now what?
    Code:
    2012-07-06 23:16:55 [INFO] /127.0.0.1:54459 lost connection
    2012-07-06 23:17:33 [WARNING] [PermissionsEx] Failed to inject own Permissible
    2012-07-06 23:17:33 [SEVERE] ru.tehkode.permissions.exceptions.PermissionsNotAvailable: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:149)
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.inject(PermissiblePEX.java:89)
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.BukkitPermissions.updatePermissions(BukkitPermissions.java:116)
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.BukkitPermissions$EventListener.onPlayerLogin(BukkitPermissions.java:131)
    2012-07-06 23:17:33 [SEVERE]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2012-07-06 23:17:33 [SEVERE]    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2012-07-06 23:17:33 [SEVERE]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2012-07-06 23:17:33 [SEVERE]    at java.lang.reflect.Method.invoke(Unknown Source)
    2012-07-06 23:17:33 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
    2012-07-06 23:17:33 [SEVERE]    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    2012-07-06 23:17:33 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.ServerConfigurationManager.attemptLogin(ServerConfigurationManager.java:227)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:102)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:41)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    2012-07-06 23:17:33 [INFO] Sharkmaster321 [/127.0.0.1:54479] logged in with entity id 493 at ([world] -149.2745063116315, 72.0, 226.7920662247264)
    2012-07-06 23:17:33 [WARNING] [PermissionsEx] Can't obtain PermissionsEx instance
    2012-07-06 23:17:33 [WARNING] [PermissionsEx] Reinjecting all permissibles
    2012-07-06 23:17:33 [WARNING] [PermissionsEx] Failed to inject own Permissible
    2012-07-06 23:17:33 [SEVERE] ru.tehkode.permissions.exceptions.PermissionsNotAvailable: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:149)
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.inject(PermissiblePEX.java:89)
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.BukkitPermissions.updatePermissions(BukkitPermissions.java:116)
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.BukkitPermissions.updateAllPlayers(BukkitPermissions.java:123)
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.BukkitPermissions$EventListener.onSystemEvent(BukkitPermissions.java:160)
    2012-07-06 23:17:33 [SEVERE]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2012-07-06 23:17:33 [SEVERE]    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2012-07-06 23:17:33 [SEVERE]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2012-07-06 23:17:33 [SEVERE]    at java.lang.reflect.Method.invoke(Unknown Source)
    2012-07-06 23:17:33 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
    2012-07-06 23:17:33 [SEVERE]    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    2012-07-06 23:17:33 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.reinjectAll(PermissiblePEX.java:101)
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.performCheck(PermissiblePEX.java:184)
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.checkPermission(PermissiblePEX.java:118)
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.hasPermission(PermissiblePEX.java:110)
    2012-07-06 23:17:33 [SEVERE]    at org.bukkit.craftbukkit.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:102)
    2012-07-06 23:17:33 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.onPlayerJoin(CraftServer.java:1142)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:139)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:129)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:41)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    2012-07-06 23:17:33 [WARNING] [PermissionsEx] Can't obtain PermissionsEx instance
    2012-07-06 23:17:33 [WARNING] [PermissionsEx] Reinjecting all permissibles
    2012-07-06 23:17:33 [WARNING] [PermissionsEx] Failed to inject own Permissible
    2012-07-06 23:17:33 [SEVERE] ru.tehkode.permissions.exceptions.PermissionsNotAvailable: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:149)
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.inject(PermissiblePEX.java:89)
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.BukkitPermissions.updatePermissions(BukkitPermissions.java:116)
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.BukkitPermissions.updateAllPlayers(BukkitPermissions.java:123)
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.BukkitPermissions$EventListener.onSystemEvent(BukkitPermissions.java:160)
    2012-07-06 23:17:33 [SEVERE]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2012-07-06 23:17:33 [SEVERE]    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2012-07-06 23:17:33 [SEVERE]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2012-07-06 23:17:33 [SEVERE]    at java.lang.reflect.Method.invoke(Unknown Source)
    2012-07-06 23:17:33 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
    2012-07-06 23:17:33 [SEVERE]    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    2012-07-06 23:17:33 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.reinjectAll(PermissiblePEX.java:101)
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.isPermissionSet(PermissiblePEX.java:221)
    2012-07-06 23:17:33 [SEVERE]    at org.bukkit.permissions.PermissibleBase.hasPermission(PermissibleBase.java:71)
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.checkPermission(PermissiblePEX.java:121)
    2012-07-06 23:17:33 [SEVERE]    at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.hasPermission(PermissiblePEX.java:110)
    2012-07-06 23:17:33 [SEVERE]    at org.bukkit.craftbukkit.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:102)
    2012-07-06 23:17:33 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.onPlayerJoin(CraftServer.java:1142)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:139)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:129)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:41)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
    2012-07-06 23:17:33 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    2012-07-06 23:21:43 [INFO] Sharkmaster321 lost connection: disconnect.quitting
    2012-07-06 23:21:43 [INFO] Connection reset
    2012-07-06 23:21:43 [SEVERE] Could not pass event PlayerQuitEvent to PermissionsEx
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
        at net.minecraft.server.ServerConfigurationManager.disconnect(ServerConfigurationManager.java:179)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:698)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: ru.tehkode.permissions.exceptions.PermissionsNotAvailable: Permissions manager is not accessable. Is the PermissionsEx plugin enabled?
        at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(PermissionsEx.java:149)
        at ru.tehkode.permissions.bukkit.PermissionsEx$PlayerEventsListener.onPlayerQuit(PermissionsEx.java:192)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
        ... 10 more
    I fixed all the YAML errors! The only problem I have is editing the message format

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  3. Ok, I follow now. You have two choices:
    1. Negate them in the permissions.yml (not the config.yml)
    2. Turn on strict mode, which will prevent the superperms layer from granting permissions, leaving it all to PEX. (this will have some side effects, such as players not being able to chat in-game unless the bukkit permission nodes are granted)
    So no, they do not go into the config.yml, you negate them in the permissions.yml file.

    Unfortunately, this is a known issue. The work around for now is to fire up an older version of PEX (I believe 1.18 will work) and dump the perms that way. :(

    Groups on multiworld... Yes, the wiki doesn't cover that as I don't think the ability to do that was intended. I'm sure t3hk0d3 can chime in if it was.

    Going from the online help (and earlier versions of the wiki), it seems that PEX was designed around the idea of setting word specific permissions at the group level, not defining groups at a world level.

    The closest I've seen is defining at a user level the group a player is a member of at the world level, such as this thread:

    http://dev.bukkit.org/server-mods/p...-documentation-on-multi-world-permissions/#p7

    Does this help any?

    You didn't use code tags, so there is no way for anyone to tell if your formatting is off. :(

    My suggestions:
    1. What exactly are you trying to setup?
    2. Define not work. That doesn't tell us anything. Did PEX not start and fill your logs full of errors? Is it not working like you expected (again, be very specific).
    3. Post your permissions on pastie.org or pastebin.com and put the link from that here

    You need to turn on modifyworld (or some other pertection plugin). With modifyworld, you can then define exactly what the players can and can't do.

    Which message format are you referring to? I didn't see anything in the earlier posts about this, so I'm a bit confused.

    BTW, good work on the YAML problems! I would say that's the #1 cause of problems. :)

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

    MortesNoize

    Is that a seperate Plugin? Because the Line with "plugins/modifyworld/config.yml" above would not fit with my folder or did i missed a download link here? :confused:
     
  5. Offline

    generalmek

    i try remove this commands from user kuruk whet he be GM. dont see mistakes into console.
    http://pastie.org/private/waetaauypdj3is5yx7llq
     
  6. Offline

    goldkidz

    all i did was type /pex on my server (i dont know how to setup pex you should really just have a shell of one on here but oh well) and it died its over like 500 lines so here is pastebin link http://pastebin.com/E10s8kcY
     
  7. Very Nice! I've been looking for a permissions plugin for ages!
    I think this will be the one I'll use!
    :)
     
  8. Modifyworld is a separate plugin that is included in the PEX archive. You don't have to use it, there are other plugins out there that do similar things, but I've yet to find one as flexible and powerful as modfiyworld.

    Hmm, the formatting is correct. Are you sure those are the right nodes?

    You might want to turn on debug in the PEX configs and watch to see what node is being checked...

    Put your permissions on pastebin as well and run them through a YAML parser, these kinds of errors are, I'd say, 90% due to formatting issues.

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

    IsaiahRobichaud

    Can you add the ability to disable and able certain groups to build in each world? is there a node "PermissionsEx.*" ?
     
  10. I am having trouble with modifyworld. Im trying to deny the placement of certain blocks. For example dirt. But the only way i can get it to work is with the following. It is not ideal, i need it to work on itemID alone, so custom blocks also can be controlled. I actually think its suppose to work with the ItemID alone but it doesent. See my other example which wont prevent placing dirt

    Working example
    Code:
    groups:
      default:
        default: true
        permissions:
        - -modifyworld.blocks.place.(3|dirt)
        - modifyworld.*
    Example that doesent work
    Code:
    groups:
      default:
        default: true
        permissions:
        - -modifyworld.blocks.place.3
        - modifyworld.*
     
  11. Offline

    goldkidz

    this is the permissions setup http://pastebin.com/4GcPTKiw
     
  12. Offline

    nam999

    um i was wondering what i did wrong with my config so here it is
    groups:
    default:
    default: true
    permissions:
    - signlift.use.normal
    - welcomerulezz.*
    - simplechestlock.lock
    - bartersigns.use
    builders:
    default: false
    permissions:
    - modifyworld.*
    - bartersigns.use
    - signlift.create.*
    - signlift.use.normal
    - simplechestlock.lock
    - welcomerulezz.*
    police:
    default: false
    permissions:
    - slammer.slam
    - slammer.list
    - simplechestlock.command.trust
    - mobdisguise.*
    - signlift.use.normal
    - signlift.use.private.own
    - signlift.use.private.others
    - signlift.create.*
    - bartersigns.use
    - armageddon.guns.*
    - simplechestlock.lock
    - welcomerulezz.*
    - armageddon.grenades.spider_web
    farmers:
    default: false
    permissions:
    - bartersigns.use
    - signlift.use.normal
    - simplechestlock.lock
    - welcomerulezz.*
    - SuperWheat.destroying

    could any one give me pointers on what i did wrong with this config. it is based on the idea of jobs help would be greatly appreciated
    ex:
    groups:
    default:
    default: true
    permissions:
    - signlift.use.normal
    - welcomerulezz.*
    - simplechestlock.lock
    - bartersigns.use
    builders:
    default: false
    permissions:
    - modifyworld.*
    - bartersigns.use
    - signlift.create.*
    - signlift.use.normal
    - simplechestlock.lock
    - welcomerulezz.*
    police:
    default: false
    permissions:
    - slammer.slam
    - slammer.list
    - simplechestlock.command.trust
    - mobdisguise.*
    - signlift.use.normal
    - signlift.use.private.own
    - signlift.use.private.others
    - signlift.create.*
    - bartersigns.use
    - armageddon.guns.*
    - simplechestlock.lock
    - welcomerulezz.*
    - armageddon.grenades.spider_web
    farmers:
    default: false
    permissions:
    - bartersigns.use
    - signlift.use.normal
    - simplechestlock.lock
    - welcomerulezz.*
    - SuperWheat.destroying
    i need help [creeper]

    please tell me what im doing wrong
    groups:
    default:
    default: true
    permissions:
    - signlift.use.normal
    - welcomerulezz.*
    - simplechestlock.lock
    - bartersigns.use
    builders:
    default: false
    permissions:
    - modifyworld.*
    - bartersigns.use
    - signlift.create.*
    - signlift.use.normal
    - simplechestlock.lock
    - welcomerulezz.*
    police:
    default: false
    permissions:
    - slammer.slam
    - slammer.list
    - simplechestlock.command.trust
    - mobdisguise.*
    - signlift.use.normal
    - signlift.use.private.own
    - signlift.use.private.others
    - signlift.create.*
    - bartersigns.use
    - armageddon.guns.*
    - simplechestlock.lock
    - welcomerulezz.*
    - armageddon.grenades.spider_web
    farmers:
    default: false
    permissions:
    - bartersigns.use
    - signlift.use.normal
    - simplechestlock.lock
    - welcomerulezz.*
    - SuperWheat.destroying

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

    MortesNoize

    Define "Help" please, maybe then it's possible to solve your Problem.
    Use http://pastebin.com/ and paste this here to see if you used Tabs
     
  14. Offline

    hogeco

    I ran your permissions.yml through the yaml parser and after fixing some spacing, this passed.

    Code:
    groups:
        user:
            default: true
            prefix: '&fBuilder'
            options:
              rank: '1000'
              message-format: '&7[%prefix&7] &f%displayname&f: %suffix%message'
            permissions:
            - modifyworld.*
            suffix: '&f'
        donator:
            prefix: '&6Donator'
            options:
              rank: '900'
              message-format: '&7[%prefix&7] &e%displayname&f: %suffix%message'
            inheritance:
            - User
            suffix: '&f'
        donator2:
            prefix: '&3ÃœberDonator'
            options:
              rank: '800'
              message-format: '&7[%prefix&7] &9%displayname&f: %suffix%message'
            inheritance:
            - Donator
            suffix: '&f'
            permissions:
            - dispname.changespace
            - dispname.change
            - commandbook.call
            - commandbook.warp.set
        respected:
            prefix: '&5Trusted'
            options:
              rank: '700'
              message-format: '&7[%prefix&7] &8%displayname&f: %suffix%message'
            inheritance:
            - donator2
            suffix: '&f'
        mod:
            prefix: '&2Mod'
            permissions:
            - dispname.*
            - commandbook.*
            - chestshops.*
            - iconomy.*
            - pex.*
            - openinv.anychest
            - openinv.searchinv
            - openinv.openinv
            - lockette.*
            - nocheatplus.*
            - worldedit.*
            - worldguard.*
            options:
              rank: '100'
              message-format: '&7[%prefix&7] &a%displayname&f: %suffix%message'
            inheritance:
            - respected
            suffix: '&2'
        admin:
            prefix: '&cAdmin'
            permissions:
            - '*'
            options:
              rank: '2'
              message-format: '&7[%prefix&7] &4%displayname&f: %suffix%message'
            inheritance:
            - Mod
            suffix: '&c'
            worlds:
              engineer:
                prefix: '"Head'
        owner:
            prefix: '&4Owner'
            permissions:
            - '*'
            options:
              rank: '1'
              message-format: '&7[%prefix&7] &c%displayname&f: %suffix%message'
              messageformat: '&7[%prefix&7] &9%displayname&f: %suffix%message'
            inheritance:
            - admin
            suffix: '&4'
        james:
            prefix: '&cAdmin'
            permissions:
            - '*'
            options:
              rank: '1'
            inheritance:
            - owner
            suffix: '&c'
        users:
            goldkidz:
            group:
            - owner
            prefix: '&6Owner'
            options:
              message-format: '&3[%prefix&3] &5%displayname&f: %suffix%message'
    starting with the donator group, all the group names had extra spaces. also line 8 need a space between the dash and the 'm' in - modifyworld.*
     
  15. Offline

    Sharkmaster321

    I am referring to the message format as what appears when you type something in chat. Also, I DO have a problem, even though I don't get any error messages when I start my server, the permissions didn't seem to have been applied to the server; if you're op, then you have access to all the commands, if not, you don't have access to any. Just in case, I'll post my permissions.yml
    Code:
    groups:
        Guest:
            default: true
            Permissions:
            - essentials.spawn
            - essentials.rules
            - essentials.motd
            - essentials.list
            - essentials.helpop
            - essentials.help
                prefix '&d[Guest]'
                options
                    build false
                    rank '1000'
        Member:
            Permissions:
            - essentials.tpa
            - essentials.home
            - essentials.sethome
            - essentials.mail
            - essentials.mail.send
            - essentials.mail.read
            - essentials.pay
            - essentials.warp
            - essentials.warp.list
            - essentials.lwc.create
            - essentials.lwc.remove
            - essentials.lwc.modify
            - essentials.lwc.info
            - -modifyworld.blocks.have.46
            - -modifyworld.blocks.have.(10|11)
            inheritance:
            - Member
                prefix '&8[Member]'
                options
                    build true
                    rank '800'
        Guardian:
            Permissions:
            - essentials.tp
            - essentials.jump
            - essentials.nick
            - essentials.setwarp
            - essentials.whois
            - essentials.kick
            - essentials.kick.notify
            inheritance:
            - Builder
                prefix '&2[Guardian]'
                options
                    build true
                    rank '600'
        Moderator:
            Permissions:
            - essentials.fly
            inheritance:
            - Guardian
                prefix '&1[Moderator]'
                options
                    build true
                    rank '400'
        Admin:
            Permissions:
            - '*'
            inheritance:
            - Moderator
                prefix '&4[Admin]'
                options
                    build true
                    rank '200'
        Owner:
            Permissions:
            - '*'
            inheritance:
            -Admin:
                prefix '&4 [HeadAdmin]'
                options
                    build true
                    rank '0'
     
  16. Offline

    xLeveler

    I've been trying to disable building in "world" and trying to enable it in "worldbuild" but just can't disable it in "world", these are my current permissions, could anyone help with this
    problem?
    EDIT: Got pastebin link for this look at the RAW one: http://pastebin.com/mmWFJ3MP
    groups:
    default:
    default: true
    permissions:
    - modifyworld.chat*
    options:
    rank: '1000'
    worlds:
    world:
    permissions:
    - modifyworld.chat.*
    - -modifyworld.blocks.*
    worldbuild:
    permissions:
    - modifyworld.*
    Admins:
    permissions:
    - -modifyworld.mobtarget.*
    - modifyworld.*
    - permissions.*
    options:
    rank: '1'
    prefix: '&0(&4Admins&0)&7 '
    Member:
    options:
    rank: '900'
    prefix: '&0(&8M&7ember&0)&7 '
    permissions:
    - modifyworld.*
    VIP:
    options:
    rank: '800'
    prefix: '&0(&eVIP&0)&7 '
    permissions:
    - -modifyworld.mobtarget.monster.creeper
    inheritance:
    - Member
    Moderator:
    options:
    rank: '100'
    prefix: '&0(&1Moderator&0)&7 '
    permissions:
    - -modifyworld.mobtarget.*
    inheritance:
    - VIP
    users:
    xLeveler:
    group:
    - Admins
    tatux007:
    group:
    - VIP
    mrdevil69:
    group:
    - VIP
     
  17. Offline

    hogeco

    xLeveler

    i dont know the answer but Justin The Cynical will. So, while waiting for him to reply, if I were you I would post the permissions again with code tags or have a pastebin link.
     
  18. Offline

    Icy_Storm973

    I used PEX on my server I LOVE PEX but ive found a bug
    (after i imput about 10 ranks) it starts to work slowly
    then it crashes i dont have the error messege because it crashes the system before i can copy it
     
  19. Building rights are handled by external plugins, such as modifyworld that comes in the PEX archive. Put PEX does support multiworld, you would just need to not grant the building nodes in those worlds. The wiki covers multiworld, take a look.

    Hmm, is use-material-names set to true in the modifyworld config.yml? By default, modifyworld sets that to true so it uses names vs ID numbers. If it's not already there, add the line use-material-names: false to the file.

    Also, check the debug output, if you are running with custom blocks, the mod may have added metadata to existing blocks.

    Ah, ok.

    Well, message format is handled by the chat manager you use. If you are using chatmanager.jar that comes with PEX, the config.yml handles that.

    As for your permissions, you have the permissions lines capitalized, which is the problem. YAML is case sensitive, so Permissions: is not the same as permissions:

    Reference: https://github.com/PEXPlugins/PermissionsEx/wiki/Pex-basics#wiki-pex-yaml-notes

    Thanks for the vote of confidence. :)

    How is your server set up? I'm guessing that "world" is the default world and "worldbuild" is the one that you want to allow building on?

    As I am not 100% sure how you are setting up your groups, I can't be too specific. Negating a permission is adding a dash to a node, such as -modifyworld.*, or not giving it to begin with. Which method is used depends on if the permission is automatically given by the plugin or if it's granted at a global level for a group and/or inherited.

    I would bet that it's not crashing, but is timing out due to a very deep/long inheritance chain. You might want to reduce the number of groups or simplify your inheritance setup. Moving to a SQL backend might be worth looking into as well as it is faster than the file backend.

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

    There is not such option in the config, but that must be the case. I did however figure out how to do it with custom blocks and this material name thing.

    To whom it might concern, this is how you would disable the Disk Drive from being placed in tekkit with modifyworld:

    Code:
        - -modifyworld.blocks.place.(x208|Disk drive)
    Apparantly there also has to be an x in front of the block name when its a custom block
     
  21. Offline

    evereadycod

    Hay Great plugin man. But sry everyone i just have 1 request

    See iv been running Permissions for a while and now i need some help

    The inheritance isn't working. For example I have a police group that is inheritanced to Mod (whitch can tp directly to players ) but anyone in the police group can't :( I dont understand well anyway

    ill show u ( ill put my perms to see wat u can change )

    http://pastebin.com/DMwvdq9t

    Thx

    From evereadycod

    still love the plugin :)
     
  22. Offline

    generalmek

    how i can timed move user to group? i think its inpossible for this plugin
    i need give VIP on 1 month. how i must wright command?
     
  23. Offline

    Epyk

    I have a problem, prefixes/suffixes are not showing?
    Yes it's done correctly, tried a thousands times and have done references exactly them same, even downloading someones multiple permissions.yml files to make sure.
    Yup, they aren't showing. Help.
    Thanks!
     
  24. Offline

    VictorHNP

    Here is the permission.yml
    groups:
    default:
    default: true
    permissions:
    - BOSEconomy.*
    - essentials.balance
    - chairs.sit
    - ChestShop.shop.create
    - ChestShop.shop.buy
    - ChestShop.shop.sell
    - dt.statlist
    - dt.travel
    - dt.home.set
    - dt.home
    - essentials.afk
    - essentials.help.[Lockette]
    - essentials.help.[Timber]
    - essentials.help.[ChestShop]
    - essentials.help.[DragontTravel]
    - essentials.mail.send
    - essentials.msg.color
    - essentials.msg.url
    - essentials.spawn
    - essentials.back
    - essentials.back.ondeath
    - essentials.home
    - essentials.home.others
    - essentials.sethome
    - essentials.tpa
    - essentials.tpaccept
    - essentials.tpdeny
    - essentials.protect.damage.drowning
    - essentials.protect.damage.fall
    - essentials.protect.damage.fire
    - essentials.protect.damage.fireball
    - essentials.protect.damage.lava
    - essentials.protect.damage.lightning
    - essentials.protect.damage.projectiles
    - essentials.protect.damage.suffocation
    - essentials.protect.entitytarget.bypass
    - MinecrafDeliveryRoborn. '*'
    - teslacoil.use
    - teslacoil.reload
    - essentials.afk.kickexempt
    - ancasino.use
    VIP:
    Prefix: '&9(V.I.P)'
    inheritance:
    - default
    permissions:
    - essentials.sethome.multiple.[3]
    - mobdisguise.mob.creeper
    - essentials.invsee
    - essentials.time.set
    - essentials.time
    - essentials.fly
    - essentials.repair
    - essentials.repair.armor
    - essentials.repair.enchanted
    - essentials.tp
    - essentials.tp.others
    Sub-Admin:
    Prefix: '&a(Sub-Admin)'
    inheritance:
    - deafault
    - VIP
    permissions:
    - mobdisguise.mob.creeper
    - mobdisguise.mob.chicken
    - mobdisguise.mob.wolf
    - mobdisguise.mob.pig
    - mobdisguise.mob.zombie
    - mobdisguise.mob.spider
    - worldedit.*
    - worldguard.*
    - essentials.*
    - chestshop.*
    - openinv.*
    - traincarts.*
    - timer.*
    Admin:
    Prefix: '&4(Owner)'
    Suffix: '&a'
    permissions:
    - '*'
    user: {}
    users:
    VictorHNP:
    group:
    - Admin
    Thybandit:
    worlds:
    world:
    group:
    - VIP
    Agent1037:
    worlds:
    world:
    group:
    - VIP
    GeneralGum:
    worlds:
    world:
    group:
    - Sub-Admin
    group:
    - Sub-Admin
    - default
    oskargrand:
    worlds:
    world:
    group:
    - Sub-Admin
    alexey9046:
    worlds:
    world:
    group:
    - Sub-Admin
    alexey8946:
    worlds:
    world:
    group:
    - Sub-Admin
    poppop4231:
    worlds:
    world:
    group:
    - Sub-Admin
    emilkwj:
    worlds:
    world:
    group:
    - VIP
    emilwkj:
    worlds:
    world:
    group:
    - VIP
    muvi1:
    worlds:
    world:
    group:
    - VIP
    Sims80:
    group:
    - VIP
    bengani:
    group:
    - VIP
    ljolsen:
    group:
    - VIP
    Grex2000:
    group:
    - VIP
    Here is the config.yml
    enable: true
    message-format: <%prefix%player%suffix> %message
    global-message-format: <%prefix%player%suffix> &e%message
    ranged-mode: false
    chat-range: 100.0
    Thanks for the help! [cake]
     
  25. Offline

    hogeco

    VictorHNP

    You should use code tags or pastebin to post your code. Justin the Cynical or someone else can better help you.
     
  26. Offline

    evereadycod

    anyone have my problem solved yet :)
     
  27. Offline

    VictorHNP

    Justin the Cynical is helping me...
     
  28. Offline

    evereadycod

    Hogeo can u help my problem?:)

    please i need help so i can start my server again

    All his saying is use Pastbin cause it's alought more easyier to read :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 28, 2018
  29. Offline

    MortesNoize

    To Tabs, nothing wrong.. it's just a thought but maybe the missing Rank ?
     
  30. Offline

    hogeco

    I don't see the problem. I just try to help people with giving good information so that Justin The Cynical or someone else can help them.
     
  31. Offline

    IsaiahRobichaud

    Idk if this bug has been report but when me or any of my players hit the tab button it doesn't show our names and instead it shows our prefixes and they are also glitched out.... help?
     

Share This Page