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

    ZacTheDead

    list your other plugins. or do what a did, make a NEW server only with essentials and PEX then set it up,
    when done transfer your files over!
     
  3. I'm having a small issue with the SQL for PEX. After I added the file into my database (successfully) it works. But when I insert a line and add a permission it doesn't let the user/group I defined it for use it.


    I.E.

    <InsertLine>
    ID: Null (AutoSets.)
    Name: Member (Default Group.)
    Type: 0(All = 0?)
    Permission: iConomy.help (Example.)
    World: Null/Blank (Means Global?)
    Value: Null/Blank (Except For <Build>.)
     
  4. Offline

    mast3rpyr0

    Did you '/pex reload' after doing so?
     
  5. I do a complete server wide restart.
     
  6. Offline

    Dagumboss

    Try just doing /pex reload instead
     
    rileyjstrickland likes this.
  7. Umm, this appears to be missing some lines. I see what looks like a server shutdown, but I don't see anything about bukkit starting. Also, this line concerns me:

    (Note: I have rewritten this post as I was incorrect, I was thinking, apparently, of an older version)

    I don't know how pail does it, but my test server running 1337 and 1.15 doesn't have the modifyworld enable thing in the PEX config, just in the modifyworld config, and it's working.

    But it's working for you, so it's all good, right?:)

    @lolydodo123 @webcraft

    Yes, the ModifyWorld plugin that is in the PEX archive.

    PEX does not have anti-build built in like the old Permissions 2/3. Read the wiki on the ModifyWorld bit, it allows for much finer control over what a player can and can't do.

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

    mast3rpyr0

    I'm having an issue using the sql backend. None of my negated permissions work, so my default user has building permissions. YML works fine. Any help would be appreciated!

    SQL
    Code:
    INSERT INTO `permissions_entity` ( `name`, `type`, `prefix`, `suffix` ) VALUES ( 'mast3rpyr0', 1, '','' );
    INSERT INTO `permissions_inheritance` ( `child`, `parent`, `type` ) VALUES ( 'mast3rpyr0', 'Admin',  1);
    INSERT INTO `permissions_entity` ( `name`, `type`, `prefix`, `suffix`, `default` ) VALUES ( 'Noob', 0, '&7','null', 1 );
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Noob', 0, '-modifyworld.items.drop.*', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Noob', 0, '-modifyworld.items.pickup.*', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Noob', 0, '-modifyworld.blocks.intereact.*', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Noob', 0, '-modifyworld.blocks.place.*', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Noob', 0, '-modifyworld.blocks.destroy.*', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Noob', 0, 'essentials.help', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Noob', 0, 'essentials.helpop', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Noob', 0, 'essentials.list', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Noob', 0, 'essentials.motd', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Noob', 0, 'essentials.rules', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Noob', 0, 'essentials.spawn', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Noob', 0, 'lwc.deny', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Noob', 0, 'modifyworld.*', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value` ) VALUES ('Noob', 0, 'rank', '', '100' );
    INSERT INTO `permissions_entity` ( `name`, `type`, `prefix`, `suffix`, `default` ) VALUES ( 'Everyone', 0, '&2','null', 0 );
    INSERT INTO `permissions_inheritance` ( `child`, `parent`, `type` ) VALUES ( 'Everyone', 'Noob',  0);
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, '-modifyworld.blocks.place.51', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, '-modifyworld.blocks.place.46', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, '-modifyworld.items.pickup.7', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, '-modifyworld.blocks.place.7', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, 'modifyworld.*', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, 'essentials.afk', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, 'essentials.home', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, 'essentials.ignore', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, 'essentials.mail', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, 'essentials.mail.send', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, 'essentials.msg', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, 'essentials.ping', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, 'essentials.portal', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, 'essentials.sethome', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, 'essentials.signs.use.protection', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, 'essentials.signs.use.warp', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, 'essentials.suicide', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, 'essentials.tpa', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, 'essentials.tpaccept', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, 'essentials.tpahere', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, 'essentials.tpdeny', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, 'lagmeter.*', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Everyone', 0, 'lwc.protect', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value` ) VALUES ('Everyone', 0, 'rank', '', '75' );
    INSERT INTO `permissions_entity` ( `name`, `type`, `prefix`, `suffix`, `default` ) VALUES ( 'Donor', 0, '&5[&fDonor&5] ','null', 0 );
    INSERT INTO `permissions_inheritance` ( `child`, `parent`, `type` ) VALUES ( 'Donor', 'Everyone',  0);
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Donor', 0, '-modifyworld.items.pickup.7', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Donor', 0, 'modifyworld.*', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value` ) VALUES ('Donor', 0, 'rank', '', '50' );
    INSERT INTO `permissions_entity` ( `name`, `type`, `prefix`, `suffix`, `default` ) VALUES ( 'Moderator', 0, '&b[&fMod&b] ','null', 0 );
    INSERT INTO `permissions_inheritance` ( `child`, `parent`, `type` ) VALUES ( 'Moderator', 'Donor',  0);
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'modifyworld.*', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.back', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.ban', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.ban.notify', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.banip', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.delwarp', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.ext', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.getpos', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.helpop.recieve', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.home.others', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.jails', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.jump', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.kick', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.kick.notify', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.mute', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.protect.admin', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.protect.alerts', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.protect.ownerinfo', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.setwarp', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.signs.break', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.signs.create.warp', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.togglejail', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.top', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.tp', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.tphere', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.tppos', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.tptoggle', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.unban', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.unbanip', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.warp', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'essentials.warp.list', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'logblock.lookup', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'logblock.me', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'logblock.rollback', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'logblock.tools.tool', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'logblock.tools.toolblock', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'logblock.tp', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'lwc.mod', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'nocheat.admin.chatlog', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'vanish.nofollow', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'vanish.nopickup', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Moderator', 0, 'vanish.vanish', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value` ) VALUES ('Moderator', 0, 'rank', '', '25' );
    INSERT INTO `permissions_entity` ( `name`, `type`, `prefix`, `suffix`, `default` ) VALUES ( 'Admin', 0, '&6[&fAdmin&6] ','null', 0 );
    INSERT INTO `permissions_inheritance` ( `child`, `parent`, `type` ) VALUES ( 'Admin', 'Moderator',  0);
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value`) VALUES ('Admin', 0, '*', '', '');
    INSERT INTO `permissions` ( `name`, `type`, `permission`, `world`, `value` ) VALUES ('Admin', 0, 'rank', '', '0' );
    
     
  9. Offline

    Sharpie-o

    Done. Just PEX and Essentials. It let me build as normal, but I'm still a default user. In the database, Made me Admin in the database with '*' but still, no extra functions.
     
  10. You seem to have run into a quirk/bug of PEX.

    There is an issue (I found it in the ticket list on github) where in certain cases, if you are allowing only certain actions (vs denying certain ones then allowing the rest by default), you will need to specify the item ID and the item name.

    For example, you can change the modifyworld.blocks.interact.54 line to be modifyworld.blocks.interact.(54|chest), or add modifyworld.blocks.interact.chest to the permissions file.

    @t3hkod3

    Annoying, yes. But there is a pull on github for this and hopefully will be fixed in the next release.

    EDIT: Added to the wiki in the modifyworld section
     
  11. Offline

    Sharpie-o

    Ok, I managed to get working the usual Essentials commands (item, tp, etc), but NOW I can't add more plugins. I mean, I can't get the permissions right. Jobs, Citizens and WorldEdit are the MUST HAVE in my list, but I can't put the permissions right. Not for Admin or Default, starting with Jobs.

    jobs.*, jobs.join.* or any other didn't work, in any group. Help?
     
  12. Offline

    fatmarley

    will giftpost work with pex?

    Code:
    groups:
    
    Peon:
    
    default: true
    
    prefix: '&f[&7Hermit&f] '
    
    towny_maxplots: 4
    
    options:
    
    rank: '100'
    
    rank-ladder: TV
    
    giftpost:
    
    maxchests: 1
    
    chestType: 'normal'
    
    permissions:
     
  13. Offline

    Nima304

    Code:
    groups:
        Default:
            default: true
            prefix: ''
            suffix: ''
            permissions:
                - multiverse.portal.access.*
                - lottery.buy
                - essentials.motd
                - chaircraft.sit
                - essentials.mail.send
                - essentials.msg
                - essentials.afk
                - essentials.rules
                - essentials.me
                - essentials.list
                - tcl.tpc
                - tcl.tpchere
                - tcl.tpca
                - tcl.tpcd
                - iConomy.access
                - iConomy.rank
                - iConomy.list
                - iConomy.payment
                - essentials.portal
                - warpz0r.home
                - warpz0r.sethome
                - warpz0r.worldhome
                - essentials.spawn
                - localshops.user.*
                - localshops.manager.add
                - localshops.manager.remove
                - localshops.manager.set
                - warpz0r.free.warp
                - warpz0r.warp
    
    No one can use iConomy or any Essentials commands. Both plugins work fine, and anyone who has a '*' in their Permissions file can use both plugins fine. Any help would be appreciated.
     
  14. Offline

    Elfsovereign

    I hope this works: http://pastebin.com/embed_js.php?i=fk7wFcNk
    That should be an unobfuscated version of a days log. That should hopefully have what you need.
     
  15. Offline

    Technius

    Before on 1185 this worked. Now on 1337 it doesn't. What's wrong? I'm trying to test my plugin which uses
    Code:Java
    1.  
    2. if(p.hasPermission("somepermission")
    3.  
     
  16. Offline

    donbuster

    help, whenever i try to add someone to a group through console i get this, and the group has not changed

    Code:
    >pex user donbuster66 group add mod
    15:25:28 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'pex'
    in plugin PermissionsEx v1.15
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    3)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    55)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    51)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:506)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:485)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Permissions m
    anager is not accessable. Is the PermissionsEx plugin enabled?
    at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManag
    er.java:127)
    at ru.tehkode.permissions.bukkit.PermissionsEx.onCommand(PermissionsEx.j
    ava:126)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    ... 7 more
    Caused by: java.lang.RuntimeException: Permissions manager is not accessable. Is
    the PermissionsEx plugin enabled?
    at ru.tehkode.permissions.bukkit.PermissionsEx.getPermissionManager(Perm
    issionsEx.java:143)
    at ru.tehkode.permissions.bukkit.commands.PermissionsCommand.autoComplet
    ePlayerName(PermissionsCommand.java:98)
    at ru.tehkode.permissions.bukkit.commands.PermissionsCommand.autoComplet
    ePlayerName(PermissionsCommand.java:65)
    at ru.tehkode.permissions.bukkit.commands.UserCommands.userAddGroup(User
    Commands.java:454)
    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 ru.tehkode.permissions.commands.CommandsManager$CommandBinding.call(C
    ommandsManager.java:298)
    at ru.tehkode.permissions.commands.CommandsManager.execute(CommandsManag
    er.java:120)
    ... 9 more
    >
     
  17. Offline

    mavbear

    For some reason, no one except admins can use /money commands, except for '/money pay'. We are using the latest version of PEX and iConomy, as well as Essentials. I made sure to set the permissions accordingly but still no default users can use iConomy commands.

    They get the message, "Invalid Command Usage: You do not have permission to do that."
     
  18. Offline

    Technius

    My "research" indicates that pex 1.15 doesn't work. Downgrade to 1.14.

    PEX 1.14 -> 1240: works
    PEX 1.14 -> 1337: works
    PEX 1.15 -> 1240: nope
    PEX 1.15 -> 1337: nope
     
  19. Offline

    mast3rpyr0

    I'm still having an issue with my SQL permissions not reading the negated permissions. They show up on the server the same way they look in the YML file, but they dont take away the permission.

    id name type permission
    19 Everyone 0 -modifyworld.blocks.place.7


    doesnt prevent a noob from placing bedrock ( after a modifyworld.* )
     
  20. Offline

    Evangon

    1.15 has an issue, you can't use '*' as a permission node. I can't use it even when the only permissions I have is TNT restriction and '*'. I can't use /give or /ban

    @mast3rpyr0
    It goes like this
    - Restrictions
    - Then permissions
    EDIT:
    If your having trouble using PEX, I'm doing this:
    Downloading the STABLE and DEV.
    Extra the dev to plugins
    Replace Modifyworld from the DEV build with the stable build :3

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

    mast3rpyr0

    So does that mean my restrictions should have a lower ID than the allowed permissions? or vice versa?

    And I will try that, thanks!
     
  22. Offline

    Evangon

    Wait what?
    I ment Restrictions should go above permissions. Like
    - -bukkit.command.ban
    - bukkit.command.*
    Only used though for * perms.
     
  23. Offline

    Rsccman

    still /pex demote and /pex promote crash'es servers
     
  24. Offline

    Rename112

    TNQ awesome plugin. Idk if this is the right place to ask this but how can i allow my players to place watter? :D
    Sorry my spelling skill is under 9000 :(
     
  25. Offline

    mast3rpyr0

    I'm using a MySql database, not the yaml file. Eitherway, still not working if one is before the other based on ID.
     
  26. Line 164:
    2011-10-27 19:30:44 [INFO] [SuperpermBridge] Superperm/Permissions bridge enabled

    You have another permissions plugin running somewhere. You can't use both at the same time, weird things can happen and all bets are off. I think that's PermissionsBukkit.

    You have either a misconfiguration in your files somewhere or a conflicting plugin. I've got a simple ladder setup and I'm able to promote and demote just fine. I've never had PEX crash anything, and I've been using it since Perm 3.x went inactive.

    However, posting 'it doesn't work, it crashes things' without linking to, oh say, error logs, config files, bukkit version used, what you have done so far, etc, doesn't enable anyone to help you. You have to do some work on your end as well you know... :)

    ?? It's working for me. I think that if this was actually a problem with PEX, it would have come up a long time ago.:)

    I'm not sure simple is a word I would associate with PEX, but it is a very good permissions manager, is it not?;)

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

    Deleted user

    I love you for making this :D. I switched from PermissionsBukkit to this because of it's simplicity...

    Use '*' instead of just *.

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

    Tompotato

  29. The snakey errors are from a badly formatted permissions file. The YAML parser is freaking out when trying to read it, which then doesn't pass the right info to PEX, which crashes because of a lack of proper data.

    Look at the example in the first post and the wiki, and compare your groups sections very carefully to see what you are missing. Use a YAML parser (there is a good one linked in the first post as well) to verify that there isn't any formatting problems that would cause the YAML parser to freak out.

    Video... Interesting way of doing it... It does make looking at the file and logs easier than trying to read them outside of a code tag. It does make it a bit harder to run the data through a parser if someone wanted to do so, but for the initial question, it seemed to work OK....
     
  30. Offline

    Pheenixm

    My server, recently moved to a new location, hosted on one of my own machines, is not working properly. When I try to start it I get the following errors:
    Code:
    2011-10-29 23:16:13 [INFO] Starting minecraft server version Beta 1.8.1
    2011-10-29 23:16:13 [INFO] Loading properties
    2011-10-29 23:16:13 [INFO] Starting Minecraft server on *:25565
    2011-10-29 23:16:13 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1126-g35eac7a-b1317jnks (MC: 1.8.1)
    2011-10-29 23:16:15 [INFO] [PermissionsEx] sql backend registered!
    2011-10-29 23:16:15 [INFO] [PermissionsEx] file backend registered!
    2011-10-29 23:16:15 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    2011-10-29 23:16:16 [INFO] [PermissionsEx] p2compat backend registered!
    2011-10-29 23:16:16 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
    2011-10-29 23:16:17 [SEVERE] class ru.tehkode.permissions.config.Configuration$ConfigurationRepresenter overrides final method representData.(Ljava/lang/Object;)Lorg/yaml/snakeyaml/nodes/Node; initializing PermissionsEx v1.14 (Is it up to date?)
    java.lang.VerifyError: class ru.tehkode.permissions.config.Configuration$ConfigurationRepresenter overrides final method representData.(Ljava/lang/Object;)Lorg/yaml/snakeyaml/nodes/Node;
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:221)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:32)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        at ru.tehkode.permissions.bukkit.PermissionsEx.loadConfig(PermissionsEx.java:181)
        at ru.tehkode.permissions.bukkit.PermissionsEx.onLoad(PermissionsEx.java:71)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:139)
        at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:112)
        at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-10-29 23:16:17 [INFO] ControllerBlock: 1.18 by Hell_Fire
    2011-10-29 23:16:17 [INFO] ControllerBlock: Using IRON_BLOCK (42) as ControllerBlock, loaded 0 disallowed types from config
    2011-10-29 23:16:17 [WARNING] [PermissionsCompat] PermissionsEx plugin not found. Some plugins may not work.
    2011-10-29 23:16:17 [INFO] [WormholeXTreme][v1.011] Loading WormholeXTreme ...
    2011-10-29 23:16:18 [INFO] [WormholeXTreme][v1.011] Load complete
    2011-10-29 23:16:18 [INFO] Spout 1.0.6.449 has been initialized
    2011-10-29 23:16:19 [INFO] Preparing level "world"
    2011-10-29 23:16:19 [INFO] Default game type: 0
    2011-10-29 23:16:19 [INFO] Unable to find spawn biome
    2011-10-29 23:16:20 [SEVERE] java.lang.NullPointerException
    2011-10-29 23:16:20 [SEVERE]     at net.minecraft.server.WorldServer.c(WorldServer.java:162)
    2011-10-29 23:16:20 [SEVERE]     at net.minecraft.server.World.a(World.java:2224)
    2011-10-29 23:16:20 [SEVERE]     at net.minecraft.server.Chunk.addEntities(Chunk.java:634)
    2011-10-29 23:16:20 [SEVERE]     at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:81)
    2011-10-29 23:16:20 [SEVERE]     at net.minecraft.server.ChunkProviderServer.getOrCreateChunk(ChunkProviderServer.java:106)
    2011-10-29 23:16:20 [SEVERE]     at net.minecraft.server.World.getChunkAt(World.java:300)
    2011-10-29 23:16:20 [SEVERE]     at net.minecraft.server.World.getTypeId(World.java:247)
    2011-10-29 23:16:20 [SEVERE]     at net.minecraft.server.World.isEmpty(World.java:251)
    2011-10-29 23:16:20 [SEVERE]     at net.minecraft.server.World.a(World.java:218)
    2011-10-29 23:16:20 [SEVERE]     at net.minecraft.server.WorldProviderHell.canSpawn(SourceFile:37)
    2011-10-29 23:16:20 [SEVERE]     at net.minecraft.server.World.canSpawn(World.java:104)
    2011-10-29 23:16:20 [SEVERE]     at net.minecraft.server.World.c(World.java:202)
    2011-10-29 23:16:20 [SEVERE]     at net.minecraft.server.World.<init>(World.java:150)
    2011-10-29 23:16:20 [SEVERE]     at net.minecraft.server.WorldServer.<init>(WorldServer.java:27)
    2011-10-29 23:16:20 [SEVERE]     at net.minecraft.server.SecondaryWorldServer.<init>(SecondaryWorldServer.java:8)
    2011-10-29 23:16:20 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:221)
    2011-10-29 23:16:20 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    2011-10-29 23:16:20 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    2011-10-29 23:16:20 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-10-29 23:16:20 [SEVERE] Unexpected exception
    java.lang.NullPointerException
        at net.minecraft.server.WorldServer.c(WorldServer.java:162)
        at net.minecraft.server.World.a(World.java:2224)
        at net.minecraft.server.Chunk.addEntities(Chunk.java:634)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:81)
        at net.minecraft.server.ChunkProviderServer.getOrCreateChunk(ChunkProviderServer.java:106)
        at net.minecraft.server.World.getChunkAt(World.java:300)
        at net.minecraft.server.World.getTypeId(World.java:247)
        at net.minecraft.server.World.isEmpty(World.java:251)
        at net.minecraft.server.World.a(World.java:218)
        at net.minecraft.server.WorldProviderHell.canSpawn(SourceFile:37)
        at net.minecraft.server.World.canSpawn(World.java:104)
        at net.minecraft.server.World.c(World.java:202)
        at net.minecraft.server.World.<init>(World.java:150)
        at net.minecraft.server.WorldServer.<init>(WorldServer.java:27)
        at net.minecraft.server.SecondaryWorldServer.<init>(SecondaryWorldServer.java:8)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:221)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-10-29 23:16:23 [INFO] Bukkit sad. Bukkit want you to access command, but Bukkit cannot let you. Bukkit will leak tears :'(
    
     
  31. Your bukkit and PEX version are not the latest. Is there a reason for this? I ask as from what I can find in the IRC logs, PEX 1.14 is broken under that bukkit build, you will need to update PEX or downgrade bukkit as I understand it.

    I'm afraid I don't know about the commandblock thing, I've never used it, or even heard of it until your post to be honest.:)

    EDIT: Just tried it myself, and it's b0rken as well. Looking at the very scarce thread, it looks like you are not the only one with this problem. I do wonder if it's just too far out of date (CB 1060 was a while ago in bukkit terms)... Have you looked at Command Signs? I use that one for joining and leaving Mob Arena and it does the job alright.

    "Compatibility mode" for PEX? I think there is something for SuperPerms, but you might be thinking of the permissions compatibility jar for older plugins that don't support PEX or SuperPerms natively (there are more than a few around).

    As for denying build rights, you will want to look at the ModifyWorld jar that comes with PEX if you haven't already. The wiki has it's own section for it with the appropriate nodes. Just mind the notes on how the nodes are set up (order for a file based backend), there is a quirk/catch with the current build of PEX if you go with a deny-then-allow-everything-else approach vs a allow-then-deny-everything-else. The amount of flexibility ModifyWorld has makes answering any questions on anything but very specific things almost impossible (there are too many things that can be done to list).

    You said it crashed, not that players are timing out. The two are very different.

    As for what you are describing, IIRC, there is something with SQL backends being somewhat slow at times. You might want to look in the open issues list on github to see or check the IRC channel. t3hk0d3 is in there often, and there tends to be a bigger audience in there as well.

    I'm not running on a SQL backend, so I'm afraid I'm not going to be able to be of much help if that is what you are running.

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

Share This Page