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

    prefix

    :D

    You're welcome
     
  3. Offline

    t3hk0d3

    look on Survivalist group permissions definition :D it's idented one level before it should.
     
  4. Offline

    zonedabone

    I remember seeing api docs for this but I can't find them now.

    Any hints?
     
  5. Offline

    darkmagicmge

    Hi can someone help me please? I can't get the plugins magiccarpet and lockette to work here is my configuration of permssions.yml
    Code:
    users:
        me:
            group: admins
            permissions:
            - lockette.admin.*
    
        this guy:
            group: admins
            permissions:
        a guy:
            group: admins
            permissions:
        a guy:
            group: admins
            permissions:
    groups:
        default:
            default: true
            permissions:
            - modifyworld.*
            - lockette.user.create.*
        admins:
            inheritence:
            - default
            permissions:
            - magiccarpet.*
            - worldedit.*
            - citizens.admin
    Please help, thanks!
     
  6. Offline

    KinGxKeV

    My prefix's don't work :( everything else does just not Prefix's
    Code:
    groups:
        default:
            default: true
            permissions:
            - modifyworld.chat
            options:
                rank: '1000'
        Admins:
            prefix: &0(&4Admins&0)&7
            permissions:
            - -modifyworld.entity.mobtarget.*
            - '*'
            options:
                rank: '0'
        Member:
            prefix: &0(&8M&7ember&0)&7
            permissions:
            - modifyworld.*
            options:
                rank: '900'
        VIP:
            prefix: &0(&eVIP&0)&7
            permissions:
            - -modifyworld.entity.mobtarget.creeper
            - modifyworld.*
            inheritance:
            - Member
            options:
                rank: '800'
        Moderator:
            prefix: &0(&1Moderator&0)&7
            permissions:
            - -modifyworld.entity.mobtarget.*
            - modifyworld.*
            options:
                rank: '100'
        Members:
            permissions:
            - '"modifyworld.chat'
            - modifyworld.*
    users:
        KinGxKeV:
            group:
            - Admins
     
  7. Offline

    t3hk0d3

    https://github.com/t3hk0d3/Permissi...ehkode/permissions/PermissionManager.java#L63

    default: true

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

    zonedabone

    Yeah, embedded in the source, but didn't you have some docs page similar to bukkit docs generated by maven?

    Also, I've got to say that once I got used to the api in the source code, making a plugin to work with this was a great experience! I made my server a donations plugin, so that when people donate, I just run command /donate <player> <amount> and it does permissions stuff based on the amount donated.

    Wow I should make a real plugin out of that.
     
  9. Offline

    Fuzzwolf

    Yes, but it doesn't work properly. They can still build.
     
  10. Offline

    t3hk0d3

    enable modifyworld and remove modifyworld.* from permissions.
     
  11. Offline

    zonedabone

    I keep finding so many great features of this plugin! Need to worldguard a whole world? Just remove modifyworld from users for that world!

    seriously you should get a few [diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond]

    Yes, you deserve more, but I'm too busy enjoying the plugin to add any more.
     
  12. Offline

    po24

    Great plugin, I'm just a little confused about how it works with the other permissions plugins and about the modify world permissions.

    Do modify world permissions trump World Guard?

    I was just wondering if i have world guard regions will players be able to destroy in them if they have modifyworld.*
     
  13. Offline

    MJE

    I've got everything configured and it works great with the file configuration. How do I now migrate to sqlite? (I don't want to migrate directly from permissions 2.x because I have modify things the conversion screws up)

    Do I create the SQL file like I would migrating from permissions 2.x to permissionsex? If so then how do I convert that file to run with sqlite? It has a format that needs to be converted, I just don't know how to do. Any help?

    Thanks!
     
  14. Offline

    Ratarn

    PHP:
    <?php
    /* Simple WI to control PermissionsEx */
    /* Version 0.1 <- that means BETA! :) */
    /* mine-craft.de | Ratarn */

    /*
    History:

    V 0.1: - add & delete permissions on groups

    */

    /* ENTER HERE YOUR mySQL HOST,USER,PW AND DB */

    $host_rp "hostname";
    $user_rp "username";
    $password_rp "password";
    $db_rp "database";

    /* Thats all, nothing more todo! */

    dbHonk::setDB( new mysqli($host_rp$user_rp$password_rp$db_rp) );
    final class 
    dbHonk {
       private static 
    $db;

       public static function 
    setDBmysqli $db ) {
          if ( 
    self::$db === NULL self::$db $db;
          else return 
    false;
          return 
    true;
       }

       public static function 
    work() {
          if ( 
    self::$db === NULL ) return false;
          return 
    self::$db;
       }
    }

    /* Eine Permission löschen */
    if(isset($_GET['del']))
    {
        
    $sql "DELETE FROM `permissions` WHERE `id` = ".$_GET['del'].";";
        
    $result dbHonk::work()->query($sql);
    }
    /* Neue Permissions speichern */
    if(isset($_POST['id']))
    {
        
    $name $_POST['id'];
        
    $perm $_POST['newperm'];
        
    $sql "INSERT INTO `permissions` (`permission`, `name`) VALUES ('".$perm."', '".$name."')";
        
    $result dbHonk::work()->query($sql);
    }

    /* Gruppen und Permissions auslesen */
    $result dbHonk::work()->query("SELECT `name` FROM `permissions_entity` WHERE `type` = '0'");

    $x 0;
    while(
    $data mysqli_fetch_assoc($result))
    {
        
    $permissions[$x] = array();
        
    $permissions_nr[$x] = array();
        
    $result1 dbHonk::work()->query("SELECT `id`,`permission` FROM `permissions` WHERE `name` = '".$data['name']."' AND `permission` != 'rank' ");
     
    $group[$x] = $data['name'];
        while(
    $data1 mysqli_fetch_assoc($result1))
        {

            
    array_push($permissions_nr[$x], $data1['id']);
            
    array_push($permissions[$x], $data1['permission']);
        }
        
    $x++;
    }
    //print_r($permissions_nr[0]);
    echo "There are ".$x." Groups.<br/><br/>";
    //print_r($permissions[0]);
    //echo $group[0];

    for($i 0;$i $x;$i++)
    {
        echo 
    "<u>Groupname:</u> <b>".$group[$i]."</b>";
        echo 
    "<br/><u>Permissions:</u><br/><ul>";
        for(
    $e 0;$e count($permissions[$i]);$e++)
        {
            
    $nr $permissions_nr[$i][$e];
            echo 
    "<li>".$permissions[$i][$e]." <a href=\"?del=$nr\">del</a></li> ";
        }
        echo 
    "</ul>New Permission:<br/>";
        echo 
    "<form action=\"\" method=\"POST\"><input type=\"hidden\" name=\"id\" value=\"$group[$i]\" /><input type=\"text\" name=\"newperm\" style=\"width:250px\" /><input type=\"submit\" value=\"Speichern\" \></form>";
        echo 
    "<hr/><br/><br/>";

    }

    ?>
     
  15. Offline

    Salt

    This is what I get everytime i do /pex group (all commands that involve /pex group)

    Code:
    07:31:01 [SEVERE] There is bogus command handler for pex command. (Is appropriate plugin is update?)
    07:31:01 [SEVERE] java.lang.RuntimeException: java.lang.ClassCastException: [B cannot be cast to java.lang.String
    07:31:01 [SEVERE]       at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(CommandsManager.java:304)
    07:31:01 [SEVERE]       at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManager.java:122)
    07:31:01 [SEVERE]       at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.java:104)
    07:31:01 [SEVERE]       at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    07:31:01 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    07:31:01 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
    07:31:01 [SEVERE]       at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
    07:31:01 [SEVERE]       at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
    07:31:01 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
    07:31:01 [SEVERE]       at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    07:31:01 [SEVERE]       at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    07:31:01 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    07:31:01 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    07:31:01 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    07:31:01 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    07:31:01 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    07:31:01 [SEVERE] Caused by: java.lang.ClassCastException: [B cannot be cast to java.lang.String
    07:31:01 [SEVERE]       at ru.tehkode.permissions.backends.FileBackend.getGroups(FileBackend.java:141)
    07:31:01 [SEVERE]       at ru.tehkode.permissions.PermissionManager.getGroups(PermissionManager.java:159)
    07:31:01 [SEVERE]       at ru.tehkode.permissions.bukkit.commands.GroupCommands.groupsList(GroupCommands.java:41)
    07:31:01 [SEVERE]       at ru.tehkode.permissions.bukkit.commands.GroupCommands.groupsListAnotherAlias(GroupCommands.java:69)
    07:31:01 [SEVERE]       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    07:31:01 [SEVERE]       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    07:31:01 [SEVERE]       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    07:31:01 [SEVERE]       at java.lang.reflect.Method.invoke(Method.java:616)
    07:31:01 [SEVERE]       at ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(CommandsManager.java:298)
    07:31:01 [SEVERE]       ... 15 more
    
     
  16. Offline

    Zalastri

    Could you make it possible to directly block certain groups from equipping certain armor? Also, it'd be nice if instead of deleting armor or weapons that you are blocked from using, it just dropped them. I use the ModifyWorld stuff for my RPG server, and these two features would make it much smoother.
     
  17. Offline

    lipe123

    @t3hk0d3

    I finally had it with permisisons 3.1.6 thats not handling the global files properly and those disgusting ingame commands thats way to hard.
    I loaded your plugin and did some copy&pasting and so on, and I'm happy to report that it KICKS ASS!

    My chat color prefixes is working again, all my plugins works(after I added the 2.7.4 compat).

    The commands make sense and its pretty easy to use. Would you be willing to work with PhonicUk from Mcmyadmin so that it would be able to export yml's for this plugin?
     
  18. Offline

    swordxh

    yes can you work whit phoenicUK for mcmyadmin for exporting?
    whit permissions 3 some things do not work like prefix etc...and i used global files so it wasn't good.
    whit PEX all works!
     
  19. This plugin is excellent, but i have a slight problem
    I am able to Edit the world, IE Dig but anyone else that ain't in admin can't

    http://pastebin.com/9KkphGwG

    Have i Done something wrong?
     
  20. Offline

    hofec

    @t3hk0d3

    Hello sir !
    I have one exciption on my #953 | MC 1.7 | PEX 1.12
    Code:
    2011-07-03 12:58:29 [SEVERE] Could not pass event ENTITY_DAMAGE to PermissionsEx
    java.lang.NullPointerException
        at ru.tehkode.permissions.bukkit.modifyworld.ModifyworldManager$EntityProtector.canMessWithEntity(ModifyworldManager.java:326)
        at ru.tehkode.permissions.bukkit.modifyworld.ModifyworldManager$EntityProtector.onEntityDamage(ModifyworldManager.java:354)
        at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.java:628)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:423)
        at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:179)
        at net.minecraft.server.EntityHuman.d(EntityHuman.java:561)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:856)
        at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Thank you for great support on this ! [cake]
     
  21. Offline

    xZise

    Hello, I searched your code, but is there an option, to get the first found value?

    Fabian
     
  22. Offline

    po24

    Does this plugin work with multiple worlds?
    Also does this plugin replace permissions. I dont need both permissions and pex do I?
     
  23. Offline

    MJE

    Ported everything to SQLite and it works GREAT! Server is noticeably quicker. Love this mod, almost as good as sliced bread! So far it seems to work fine with 1.7. (Multiworld, etc)

    Thanks!
     
  24. Offline

    Swippen

    I have the same problem.. or well I have the same but only if I op the account I can dig the admins group with only * as permission cannot dig or place without the op. I am pretty sure that it is connected to the towny plugin.. Towny seems to allways get false as response on permission question. I tried setting using permissions 3 and 2 (one at a time) but did not work.
    Code:
    2011-07-03 18:50:54 [INFO] [Towny] Debug: onBlockPlacedEvent took 1ms (Swippen, true)
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     From: world_new,1,-35
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     To:   world_new,1,-35
    2011-07-03 18:50:54 [INFO] [Towny] Debug:         Location{world=CraftWorld{name=world_new}x=5.699895689652608y=64.0z=-139.85375764148242pitch=25.448475yaw=-400.37708}
    2011-07-03 18:50:54 [INFO] [Towny] Debug:         Location{world=CraftWorld{name=world_new}x=6.261308563786918y=64.0z=-139.20042669797132pitch=25.448475yaw=-42.290985}
    2011-07-03 18:50:54 [INFO] [Towny] Debug: onPlayerItemEvent took 0ms
    2011-07-03 18:50:54 [INFO] [Towny] Debug: Perm Check: Does Swippen have the node 'towny.admin'?
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions installed.
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions says false.
    2011-07-03 18:50:54 [INFO] [Towny] Debug: Swippen (world_new,2,-35) Cached Status: UNCLAIMED_ZONE
    2011-07-03 18:50:54 [INFO] [Towny] Debug: Perm Check: Does Swippen have the node 'towny.wild.build'?
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions installed.
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions says false.
    2011-07-03 18:50:54 [INFO] [Towny] Debug: Swippen (world_new,2,-35) Cached Build: false
    2011-07-03 18:50:54 [INFO] [Towny] Debug: Perm Check: Does Swippen have the node 'towny.wild.build'?
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions installed.
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions says false.
    2011-07-03 18:50:54 [INFO] [Towny] Debug: Perm Check: Does Swippen have the node 'towny.wild.block.50'?
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions installed.
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions says false.
    2011-07-03 18:50:54 [INFO] [Towny] Debug: Perm Check: Does Swippen have the node 'towny.admin'?
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions installed.
    2011-07-03 18:50:54 [INFO] [Towny] Debug:     Permissions says false.
    I have problem adding my permission file since it is in MySQL..
    But I have tripple checked.
    - In permissions table Admin have permission *
    - In permissions.inheritance Swippen have inheritance to Admin group
    (It also says the same if I use ingame /pex commands that im in admins group)
    Is there a missmatch between towny and permissionsex in 1.7? Anyone have that combo working?
     
  25. Offline

    t3hk0d3

    You are sure you don't have side plugins (worldguard/worldedit regions, etc)? Try to use debug mode to check permissions ("pex toggle debug") - this will show you any permissions check so you can figure out which permission other groups lacks .

    Thank you for bugreport!

    Fixed in 1.12.156

    first found value?

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

    xZise

    Yep, I want the permissions value for example to determine the cooldown for the user. And my approach is normally:
    1. Check if the user defines a cooldown, if not go to 2
    2. Check if the user's group defines a cooldown, if not go to 3
    3. Check if the group's parent defines a cooldown, if not go to 3
    And if the user/group defines a cooldown (permissions value) if will break there.

    Fabian
     
  27. Offline

    lipe123

    Please fix the node typo on the first page!

    /pex promote <user> [ladder] - Promote user to next ranked group ("permissions.users.promote")
    /pex demote <user> [ladder] - Demote user to next ranked group ("permissions.users.demote")

    It works with .user.promote/demote
     
  28. Offline

    Zeerix

    Hi there!
    Great alternative to P2 and P3.

    My wish list:
     
  29. Offline

    Tang

    Either im retarded or you changed the permission nodes...

    with these permissions:
    modifyworld.blocks.place.* (With that permission a user still cant place any blocks....)
    or
    modifyworld.blocks.place.4 (doesnt allow user to place cobblestone)




    modifyworld.* does allow users to do everything howver..

    Show Spoiler
    groups:
    Guest:
    default: true
    prefix: '&8'
    suffix: '&8'
    inheritance: null
    permissions:
    - essentials.spawn
    - essentials.list
    - essentials.rules
    - essentials.msg
    - essentials.motd
    - modifyworld.chat
    - modifyworld.blocks.destroy.1
    - modifyworld.blocks.destroy.2
    - modifyworld.blocks.destroy.3
    - modifyworld.blocks.destroy.17
    - modifyworld.blocks.destroy.18
    - modifyworld.blocks.destroy.16
    - modifyworld.blocks.destroy.15
    - modifyworld.blocks.destroy.13
    - modifyworld.blocks.destroy.12
    - modifyworld.blocks.place.*
    - modifyworld.blocks.place.3
    - modifyworld.blocks.place.5
    - modifyworld.blocks.place.4
    - modifyworld.blocks.place.17
    - modifyworld.blocks.place.6
    - modifyworld.blocks.place.12
    - modifyworld.blocks.place.13
    - modifyworld.blocks.place.35
    - modifyworld.blocks.place.54
    - modifyworld.blocks.place.58
    - modifyworld.blocks.place.61
    - modifyworld.blocks.place.24
    - modifyworld.blocks.place.50
    - modifyworld.blocks.place.324
    - modifyworld.blocks.interact.324
    - modifyworld.items.pickup.*
    - modifyworld.items.drop.*
    - modifyworld.entity.damage.deal.*
    - modifyworld.entity.damage.take.*


    @lycano Some modifyworld permissions are not working on latest version.

    DO WORK
    modifyworld.entity.damage.deal.*
    modifyworld.entity.damage.take.*
    modifyworld.entity.mobtarget
    modifyworld.items.drop.*
    modifyworld.items.pickup.*
    modifyworld.chat.*

    DONT WORK
    modifyworld.blocks.interact.*
    modifyworld.blocks.place.*
    modifyworld.blocks.destroy*
    modifyworld.usebeds
    modifyworld.bucket.fill

    @lycano

    Thanks, Added modifyworld.blocks.interact.* to my guest group and Place and Destroy Seem to be working

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

    lycano

    Announcement:

    Thanks to Tang we got this worked out. If you dont add modifyworld.* and then add modifyworld.blocks.place.4 (cobblestone place) then you may think this works BUT problem is onPlayerInteract is triggered before BlockPlace so you have to add the material id the user can place blocks on.

    I.e.: placing on STONE would be "modifyworld.blocks.interact.1" then the user can place.4 onto STONE.

    If you want them to place on any ground add "modifyworld.blocks.interact.*" to the group or user.

    See important notice on GithubWiki - Modifyworld Feature
     
  31. Offline

    robinjam

    Awesome plugin. I spent ages fiddling around with Permissions 3.x trying to set it up how I wanted it, and eventually gave up. I was done configuring pex in under 5 minutes.
     

Share This Page