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

    Smurphy88x

    Cool!:D
    Also, I'm not sure if these bugs have been reported yet, but just in case, here goes:
    - The commands seem to have a cut-off length in characters after which they will not perform correctly, and the nether world commands don't seem to work properly (eg. /user addgroup u:reallylongnamedude w:longworldname_nether s:reallylonggroupname).
    - The promote/demote command adds a user to one group, but doesn't remove them from the old group. This means that for plugins like iChat and such that use the group from the top of the groups list, that the highest rank of that user might get ignored, and the lower ranks might be used instead.
    Hope this is helpful to you :)
    Thanks again for this awesome plugin, and looking forward eagerly for the update! :D
    Cheers,
    Smurphy88x
     
  3. Offline

    DigitalTyrant

    can you post the error from the console when the get that message?

    Have you defined the ranks manually or using the commands? Can you throw up your groups.yml on pastebin and post the link?

    not until the update i release the next update. @kevinkrw I will probably add the fixes and the functionality to remove groups tomorrow.

    I will do some testing and see if I can find out why it is returning this error.

    what kinds of exceptions are you getting?

    you can type
    Code:
     /user -addgroup u:Username s:Groupname w:WorldName 
    The world is optional if you want it to modify the default world. If you want to modify multple worlds you can use them separated by a comma or use * for all worlds. You can find information on all the commands at mymchost.com

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

    Darcion

    nothing worked for all my mods, only for me
     
  5. Offline

    SondreHG

    Erm, didnt work... It comes up that all my groups dont have a rank... Then, this comes up: /user -<action> u: i:[infovariable] w:[world] s:[setting] The command I used was: /user -addgroup u:aamdahls s:CoOwner w:world But the same came up...!
     
  6. Offline

    DigitalTyrant

    Without ranks it the plugin is unable to determine whether or not you're trying to set someone's group higher than you should be able to. It is a protection so moderators are unable to make themselves admins or anything of that sort.

    Are there any exceptions in the console?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  7. My ranks are not working, can you give me a demonstration of how it shoukd be set out in the actual file :)?
     
  8. Offline

    kevinkrw

    Thankyou, please post when the download is updated. This will solve my problems :)
     
  9. Offline

    Tomskied

    Hey, I am getting the following error when my staff try to promote or demote.
    Code:
    00:29:37 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'promote' in plugin PermissionsPl
    us 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
            at net.codej.permissionsplus.PermissionsPlus.onCommand(PermissionsPlus.java:1031)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    If I am op, this error doesn't happen and I can promote and demote as much as I like, but this is not helpful as I don't want mods to be ops.

    Thanks!
     
  10. Offline

    ROFLBOB

    I'm getting the same problem as Tomskied. I can promote people through console, but whenever someone tries to promote it returns an error in game and a lengthy unhandled exception in the console.

    Code:
    22.06 05:08:09 [Server] INFO    ... 12 more
    22.06 05:08:09 [Server] INFO    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    22.06 05:08:09 [Server] INFO    at net.codej.permissionsplus.PermissionsPlus.onCommand(PermissionsPlus.java:1031)
    22.06 05:08:09 [Server] INFO Caused by: java.lang.NullPointerException
    22.06 05:08:09 [Server] INFO    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    22.06 05:08:09 [Server] INFO    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    22.06 05:08:09 [Server] INFO    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    22.06 05:08:09 [Server] INFO    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    22.06 05:08:09 [Server] INFO    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    22.06 05:08:09 [Server] INFO    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    22.06 05:08:09 [Server] INFO    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    22.06 05:08:09 [Server] INFO    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:671)
    22.06 05:08:09 [Server] INFO    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)
    22.06 05:08:09 [Server] INFO    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:712)
    22.06 05:08:09 [Server] INFO    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:287)
    22.06 05:08:09 [Server] INFO    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    22.06 05:08:09 [Server] INFO    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    22.06 05:08:09 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'promote' in plugin PermissionsPlus v3.0
    22.06 05:08:09 [Server] SEVERE null
    I'm running bukkit 823. I'd love to see this fixed or know what I'm doing wrong, this mod is perfect.

    I have WorldGuard 5.0, World Edit, Essentials 2.3.3, Permissions 3.1.5, Herochat 4.10.3, MCMMO 1.0.2, and Falsebook 0.86
     
  11. Offline

    inversation

    In-game, is says an internal error occurred. In the event log, I get this:

    Code:
    2011-06-19 11:51:47 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'demote' 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
        at net.codej.permissionsplus.PermissionsPlus.onCommand(PermissionsPlus.java:1115)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    
    2011-06-19 11:51:52 [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
        at net.codej.permissionsplus.PermissionsPlus.onCommand(PermissionsPlus.java:1031)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    I'm running as admin with * permissions, my world is called 'EOL', and the commands I'm trying are:

    /demote isabella03 EOL
    /promote isabella03 EOL

    I've tried many users at many ranks, and replacing 'EOL' with '*' to no avail.
    My groups config is attached in case there's something that looks obvious I'm overlooking.
    Thanks guys.
     

    Attached Files:

  12. Offline

    DeathQueen

    I did some in the server. After getting no where, I tried manually. Here is the groups.yml
     
  13. Offline

    Darcion

    yes

    internal errors

    Code:
    2011-06-20 16:44:48 [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
        at net.codej.permissionsplus.PermissionsPlus.onCommand(PermissionsPlus.java:1031)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    i used commands to write rank and limits, but nothing worked since P+ 3.0
     
  14. Offline

    Combat Wombat

    Code:
    13:21:04 [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
            at net.codej.permissionsplus.PermissionsPlus.onCommand(PermissionsPlus.java:1031)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    
    Get this error when one of my moderators tries to promote. Console promotions and promotions from my own Admin account are working fine
     
  15. Offline

    SondreHG

    Is there anyone here that can team view me, and make it work? because Im going to London tomorrow, and then noone can be prompted on my server :/
     
  16. Offline

    tiwey

    ok well i've been having some troubles lately..i just started my own server a few days ago, got permissions working, and had the plugins i wanted...everything was working fine.
    until....
    one of my friends suggested i try falsebook. so i installed and permissions fail to load. if i remove the jar and restart the server it works just fine but falsebook just won't work for me. does anybody have a solution? i really need it for the incerator feature and minecarts. falsebook still works for all players though. my log is below:

    it also fails with portalstick as well (not as important)

    i have the following plugins:
    commandbook
    falsebookblock
    falsebookcart
    falsebookcore
    falsebookextra
    falsebookIC
    gianttrees
    godpowers
    ichat
    myhome
    mywarp
    p2aliases
    permissions
    permissionsplus
    permissionsSql
    WorldEdit
    WorldGuard

    thanks for the help :D

    p.s. i realize i am probably posting in the wrong area, that it should be on the falsebook forum instead. However since permissions is failing, i thought it can't hurt.
     

    Attached Files:

  17. Offline

    Jeyge

    @tiwey
    Now if this were the Permissions thread, you would have hit the ball out of the park but instead this is PermissionsPlus. :( I'll still hopefully get it working again for you though. Remove PermissionsSql unless you are really using the SQL part of Permissions. The other thing to do to fix this is to change Permissions.jar to aPermissions.jar.
     
  18. Offline

    tiwey

    @Jeyge
    face -> palm

    wow i should pay more attention towhich thread i'm in lmao...and i'll try haha but why to apermissions.jar?
     
  19. Offline

    Jeyge

    I would usually suggest zPermissions.jar but in this case, PermissionsPlus isn't happy when it loads before Permissions so going with aPermissions.jar should cause it to load first. The reason it fixes things is that it causes Permissions to either load before or after the offending plugins that were compiled to only work with a specific version of Permissions. 2.7.4 in this case.
     
  20. Offline

    tiwey

    holy crap! @jeyge! you. are. beast.

    i deleted the sql and tried. no such luck. (wanted to try one at a time) then renamed and i have no errors...thx
     
  21. Offline

    e_zach

    have you tried not specifying the world? i do the commands while within the world i want to promote/demote users.
    also tried specifiying the world and it indeed breaks (errors)
    no world = works: /promote isabella03 :)
    @DigitalTyrant that seems like a major bug. :p
    @Everyone getting similar errors give it a go.

    EDIT: the world parameter only works if you specify the world your currently in. (for me)

    P+ does not like a player with a rank of 0. give that a go. :)

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

    GmK

    I simply can't get it to load, it errors out on startup (using Permissions 3.15b thingy)

    Code:
    2011-06-22 12:13:18 [SEVERE] Could not load 'plugins/PermissionsPlus.jar' in folder 'plugins':
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.Entry$EntryVisitor
    
    I tried loading permissions first (aPermissions.jar) and whatnot. The old PermissionsPlus (pre 2.x) and Permissions 2.7.4 worked splendid for us ;)

    Any idea?
     
  23. Offline

    e_zach

    u tried loading P+ last? i.e. zPermissionsPlus.jar?
     
  24. Offline

    GmK

    Yes, that too didnt work :/
     
  25. Offline

    e_zach

    how about:
     
  26. Offline

    kahlilnc

    The promotion is broke, when you keep promoting thru groups it saves all the groups you pass and keeps the groups under users.
     
  27. Offline

    TheAngrySock

    Hey, umm i'm new to using bukkit and its plugins so would someone be able to tell me if there is like a way you can set it so a group has access to all nodes except the admin ones or do I have to copy every single one from each plugin over to it.....
     
  28. Offline

    RustyDagger

    From my findings nothing works unless you are an Op You have a Rogue Check some where in the permissions some of the logic has to be causing this issue. I would get my error but as i host it it is not easy at all because I have to delete the server log (after i stop the live server) Because it is so dam huge then start it cause the error then stop it while i download the file from the server That's a lot of screwing around and messing up my online players.

    Do some decent testing you will find the error I have given you the files and as much info as i can and even explained what i think is wrong. Sorry but i can not help any more short of opening a port and hosing a local server to do some testing for you.
     
    Tomskied likes this.
  29. Offline

    kevinkrw

    I can help you, just send me your TeamViewer ID & Password in a PM or in a email to [email protected]
     
  30. Offline

    SirHedgehog

    It worked for me.
     
  31. Offline

    e_zach

    you can have a - * and then remove specific permissions - -'a.permission.node' or something like that, check out the permissions documentation on their thread.
    it works fine for me as a non-admin with the p2.promote and p2.demote, i am getting the stacking of groups issue though. so far that's the only thing stopping me from using it live. (as @kahlilnc posted).
     
    kahlilnc likes this.

Share This Page