Inactive [SEC] PermissionsPlus v3.2.5p - Alternative commands to modify Permissions in-game now w/MWS [1337]

Discussion in 'Inactive/Unsupported Plugins' started by DigitalTyrant, Mar 20, 2011.

  1. Offline

    DigitalTyrant

    PermissionsPlus - Adds ability to modify Permissions in-game

    Updated: 10/6/2011
    Version: 3.2.5p [jar]
    CraftBukkit: [b1337jnks]
    Description:
    PermissionsPlus adds commands to allow administrators the ability to modify their Permissions config from within Minecraft client. The most complete Permissions editing plugin for Bukkit. Supports Multi-World. Updated for MultiPlay!​
    REQUIRES: Permissions 3.x - Permissions Thread

    Includes: P2Aliases updated 10/6/2011

    Feedback: http://p2.idea.informer.com/

    Get updates on TWITTER!

    Installation and Usage information and Permissions nodes
    are available at Mymchost.com

    Information:

    It appears that I am not the only server admin that stuck to Permissions v2.7.4 so, I have released PermissionsPlusLegacy v2.4. It is a RB1000+ compatible version of PermissionsPlus v2.3. You can download this in the change log below.
    • You can specify multiple worlds separated using a comma. Do not use any spaces after the comma.
      Code:
      w:World1,World2,World3
    • You can specify all worlds using an asterisk.
      Code:
      w:*
    • You can specify multiple groups using commas for the /user -addgroup command.
      Code:
      /user -addgroup u:Username s:Group1,Group2,Group3
    • All Usernames and Groups can be shortened. You will be notified if more than one possible match is found.
      Code:
      digital = DigitalTyrant, adm = Administrator
    • With 2.x+ you must add the info variable 'rank' to your groups in order to enable promote, demote and some group functions. You can set this variable from within the game using the command:
      Code:
      /group -setinfo g:GroupName i:rank s:1-100+
                           or
                         /rankset GroupName 1-100+ world 
      The higher the number the higher the rank. Make sure you use i:rank and not i:Rank it is case-sensitive.
    • You can now set Promote and Demote limits. The Promote limit is the highest rank they can promote to. Demote limit is the highest limit that they can demote from. You can set these using the commands:
      Code:
      /group -setinfo g:GroupName i:dlimit s:50
                         /group -setinfo g:GroupName i:plimit s:75 
    If you use want to Permissions + PermissionsPlus while using Essentials plugins, make sure you do not have FakePermissions or EssentialsGroupBridge enabled.



    Not sure how long this will be useful with Bukkit's upcoming Permissions system, but it allows the Moderators of my server to give new members access without having to modify the .yml file directly. I will continue development until the new Bukkit Permissions system has widely replaced Permissions plugin.
    Thanks to Nijikokun, original author of Permissions.

    Thanks and Enjoy!
     
  2. Offline

    Burns1

    Great update :)
    all is working fine
    Thank you !
     
  3. Offline

    DigitalTyrant

    try removing p2aliases manually and let permissionsplus recreate it.
     
  4. Offline

    MojoManagement

    searching for this functional:
    if someone doesnt have any groups - > groupadd
    if someone does have some groups -> delete all groups and groupadd
     
  5. Offline

    DigitalTyrant

    All of the command that are available are documented @ mymchost.com
    The commands you would use are /user -addgroup and /user -remgroup
    Code:
    /user -addgroup u:Username s:Group w:World
    and
    Code:
    /user -remgroup u:Username s:Group w:World
     
  6. Offline

    GmK

    I guess what he means is that you have a command that does both in one go: Removes all groups the person is a member of and adds the new one.

    Thanks for the hint with removing p2aliases and letting it rebuild, will try that now!
     
  7. Offline

    Windwaker

    Do you plan on making Permission nodes for the commands?
     
  8. Offline

    Malchus

    Is there a permission node to give people the ability to set user's groups or do they just have to be an op?
     
  9. Offline

    pherce

    First of all, thank you for this plugin. I am an administrator on a top 5 Minestatus server and with the amount of moderators we have, this plugin is a life saver. I am excited to see that your /promote now removes the previous group. My server, though, is still running PP 1.6 because of the simple /group command.

    The issue we have is if we just used Permissions, we would have 5 tracks. We have builder tracks, pvp tracks, moderator tracks, and donator ranks of each of those tracks. So as you can see, a simple '/group name group' works wonders for us. With /promote working now, I don't have to come up with weird rank #s that PP works off of to ensure no wrongly inherited permissions. But when someone needs to jump 8 groups (mainly for a different track) it will be quite spammy. I know we can turn if off, but who doesn't love to see a promotion?

    My main question would be, is there any chance you could also make /groupset also remove the previous group(s) of the user?
     
  10. Offline

    Francisco Ruela

    keep getting error messages no idea whats wrong

    Code:
    groups:
        Builder:
            default: false
            info:
                prefix: '&e[&dbuilder&a]&f'
                suffix: ''
                build: true
                rank: 2
            inheritance: null
            permissions:
            - commandbook.kit.*
            - mywarp.warp.*
            - myhome.home.*
            - commandbook.motd
            - commandbook.rules
        Creep:
            default: false
            info:
                prefix: '&2[&2Henchman&2]&f'
                suffix: ''
                build: true
                rank: 5
            inheritance: null
            permissions:
            - commandbook.kit.*
            - mywarp.warp.*
            - myhome.home.*
            - commandbook.motd
            - commandbook.rules
        visitor:
            default: true
            info:
                prefix: '&e[&dN00B&a]&f'
                suffix: ''
                build: false
                rank: 1
            inheritance: null
            permissions:
            - commandbook.kit.*
            - mywarp.warp.*
            - myhome.home.*
            - commandbook.motd
            - commandbook.rules
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
                rank: 6
            inheritance:
            - Builder
            permissions:
            - commandbook.*
            - mywarp.*
            - myhome.*
            - -commandbook.bans.*
            - -worldguard.god.*
            - -worldguard.heal.*
            - worldguard.*
            - -worldguard.slay.*
        Donator:
            default: false
            info:
                prefix: '&2[&2Elite&2]&f'
                suffix: ''
                build: true
                rank: 10
            inheritance: null
            permissions:
            - '*'
            - -commandbook.bans.*
            - -worldedit.region.set
            - -commandbook.spawnmob.many
            - -worldedit.limit.unrestricted
        VIP:
            default: false
            info:
                prefix: '&5[&5VIP&5]&f'
                suffix: ''
                build: true
                rank: 6
            inheritance: null
            permissions:
            - '*'
            - -commandbook.bans.*
            - -commandbook.spawnmob.many
            - -worldedit.limit.unrestricted
        Admin:
            default: false
            info:
                prefix: ''
                suffix: '&1'
                build: true
                rank: 7
            inheritance: null
            permissions:
            - '*'
            - -worldedit.limit.unrestricted
        Founder:
            default: false
            info:
                prefix: ''
                suffix: '&1'
                build: true
                rank: 99
            inheritance: null
            permissions:
            - '*'
    tracks:
        BuilderTrack:
        - visitor
        - Builder
        - Moderator
    
    No idea what im doing wrong
     
  11. Offline

    owufail

    Code:
    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'promote' in plugin PermissionsPlus v3.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:287)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:712)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:671)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException: key cannot be null
        at org.apache.commons.collections.bidimap.TreeBidiMap.checkNonNullComparable(TreeBidiMap.java:1263)
        at org.apache.commons.collections.bidimap.TreeBidiMap.doGet(TreeBidiMap.java:491)
        at org.apache.commons.collections.bidimap.TreeBidiMap.get(TreeBidiMap.java:178)
        at net.codej.permissionsplus.PermissionsPlus.rankOf(PermissionsPlus.java:1311)
        at net.codej.permissionsplus.PermissionsPlus.onCommand(PermissionsPlus.java:1011)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more

    When i Promote using /promote
     
  12. Offline

    kevinkrw

    Do you have the newest version?
     
  13. Offline

    DigitalTyrant

    What error messages?

    @kevinkrw is correct, Version 3.1 addresses this issue.

    @Walker Crouse
    @Malchus
    The information for all commands and their permissions nodes are available @ mymchost.com

    The groupset command is just a shortcut that I coded into P2Aliases to give some simplicity back to the Admins that were complaining about the complex commands that I introduced in 2.x. The command translates to /user -addgroup which was originally /user -setgroup before Permissions 3.x. I may reintroduce the -setgroup action in a future release which would allow this functionality but for now I am really trying to concentrate on myBukkitAdmin and get some plugins rolled out for that project. So in short, you might not see it real soon, but I will probably add it back in come the next update that I release.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  14. Offline

    Windwaker

    Oh.. so they are. I suggest you make them more evident. ;)
     
  15. Offline

    DigitalTyrant

    Yea, I'm not so thrilled with the way the information ended up. There's a lot of info there and a lot that I left out too! We are working on re-organizing things to flow a little better but I'm a code guy not an aesthetics guy hehe
     
    Walker Crouse likes this.
  16. Offline

    owufail

    Now im getting

    Code:
    [SEVERE] Could not pass event PLAYER_MOVE to MultiVerse
    java.lang.NullPointerException
        at com.onarandombox.Rigby.MultiVerse.MVPlayerListener.onPlayerMove(MVPlayerListener.java:199)
        at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:285)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:139)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    I think this is from then.
     
  17. Offline

    DigitalTyrant

    Not sure why that would pop up. Have you checked the MultiVerse Thread to see if they have a fix for this?
     
  18. Offline

    owufail

    Its caused by Multiverse? Let me try removing it.

    Code:
    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'promote' in plugin PermissionsPlus v3.1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:287)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:712)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:671)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException: key cannot be null
        at org.apache.commons.collections.bidimap.TreeBidiMap.checkNonNullComparable(TreeBidiMap.java:1263)
        at org.apache.commons.collections.bidimap.TreeBidiMap.doGet(TreeBidiMap.java:491)
        at org.apache.commons.collections.bidimap.TreeBidiMap.get(TreeBidiMap.java:178)
        at net.codej.permissionsplus.PermissionsPlus.rankOf(PermissionsPlus.java:1388)
        at net.codej.permissionsplus.PermissionsPlus.onCommand(PermissionsPlus.java:1085)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more

    Still getting this error with 3.1

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

    DigitalTyrant

    Can you post your user and group ymls as well as who you are trying to promote?
     
  20. Offline

    owufail

  21. Offline

    DigitalTyrant

    The error is because there is no group currently assigned. I am not sure why Permissions isn't pulling the Default group in this case. I will do some testing with this and see if there is an identifiable cause, if not I will look for a more reliable method of retrieving the current, highest ranked group of a user. Thanks
     
  22. Offline

    owufail

    So how do I fix this lol
     
  23. Offline

    DigitalTyrant

    you can
    Code:
    /user -addgroup u:aznl3oii s:Default w:* 
    see if that resolves it, but I know it would be a pain to do that on a regular basis but not sure what else you can do until I find the issue and release an update. There's a shorter command:
    Code:
    /groupset azn def * 
    that should work the same as the command above.
     
  24. Offline

    owufail

    We have been doing the first one for now. Please find a fix and quote me back thanks. This used to all work
     
  25. Offline

    Francisco Ruela

    I am getting You must specify the user and group(s)

    for /groupset

    then I figured out my /promote and /demote errors
     
  26. Offline

    DigitalTyrant

    are you using PermissionsPlus 3.1?
     
  27. Offline

    RustyDagger

    Latest version And i cant stop my mods from promoting to vip for some screwed up reason my players rank that i want to stop them promoting higher than is rank 4 so i set their plimit to 4 on all worlds and they can still promote to rank 5 wtf Fail they are not op i have tried making vip rank 10 and adjusted every other group up higher but they can still promote upto the group under them self (they cant promote higher than vip)

    I cant stop them this plugin makes me feel unsafe. in my own server.

    My files have not changed from the files back 2 pages that i posted.
     
  28. Offline

    DigitalTyrant

    I'll do some testing and look over the files you posted and see what I can come up with
     
  29. Offline

    RustyDagger

    thanks Much appreciated
     
  30. Offline

    GmK

    @DigitalTyrant

    For us everything works now with 3.1 and the 'rebuilt' p2aliases (deleting it and having it rebuilt).

    One minor feature request: When doing a /groupset, you only *add* that group to a user. I am aware that that is intended, but my question is: Could you make it even easier for us very lazy Admins and make it in a way that the command also removes all old groups except the one you set with /groupset? One of my Admins set the groups of some people and they were all confused as they still could do some of the commands they now shouldnt be able to do. It would make things a little easier ;)

    If it isnt possible - dont worry!
     
  31. Offline

    kevinkrw

    Are you planning on adding a shortcut for /user -remgroup <u:Username> <s:GroupName> [w:WorldName]?
    Because that we be awesome, I would think something like... /grouprem <Username> <GroupName> [WorldName].

    Ever since I updated CraftBukkit to Build 928 none of the commands have worked for here. I either get an error message or it says it is an Unknown Command. Are you planning on updating soon? Because my server is going up officially Saturday and I will need permissions set up.

    I can always stay at 860, but I like to stay updated.

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

Share This Page