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

    Trevor_

    @DigitalTyrant
    Once I set a user to a Group, they do not stay saved on server restart. Any help?
     
  3. Offline

    matjam

    Hey, thanks for the plugin, its working great.

    Firstly for those that are getting "unknown error occurred" messages, make sure that all of your users are in groups that actually exist. I renamed "default" to "newbies" and stuff started to break until I fixed all references to "default". Note that groups are CASE SENSITIVE. It is probably a good idea to just use lowercase.

    Secondly, the grammar for the /promote and /demote commands is a little ugly. For example, it currently says:

    <name>'s has been promoted to <rank> in <world>

    You need to remove the apostrophe+s after <name>, then it will make sense.

    It might be good to have it only say "in <world>" if it is not the "world" world, and color might make it a little nicer too.

    <name> has been promoted to <rank> [in <world>]

    Something like that.
     
  4. Offline

    Retribution831

    It seems on my server guest can promote anyone. In my permissions its:
    -guest
    -builder
    -advbuilder
    -superbuilder
    -operator
    -moderator
    -admin
    So, Is there a way to fix it?
     
  5. Offline

    DiseasedFox

    Love this plugin. Is there a way to change a users' permissions in all worlds at once? I have 3 worlds and it gets tedious after a while.
     
  6. Offline

    DigitalTyrant

    if you give a group the permission "permissions.group" they will no be able to promote or demote anyone at or above their current rank.

    I have not ran into this issue and not sure how to make this happen. What versions are your plugins? craftbukkit version?

    Thanks for the proofread! I work too quickly and missed that one haha. As for the groups, they are not case sensitive, nor the usernames. If it doesn't work, than it may be a bug.

    I have wanted to add color to my output but been busy working on a much larger project to devote too much time to improving this one beyond bug fixes and revision updates. I hope to be able to devote some time to this soon to revamp the code and hopefully take out any other mistakes I may have made.

    are you using the /promote command?

    currently there is no quick way to do this, but I will implement a way soon.

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

    DiseasedFox

    Ok, thank you :)
     
  8. Offline

    PatrickFreed

    Could you send this over to The Yeti? It's on his to do list, unless you'd rather develop it yourself :p
     
  9. Offline

    Retribution831

    Yep. Why, is it a bug?
     
  10. Offline

    DigitalTyrant

    have no other reports of this, but it is possible. think you could toss your permissions' world.yml up on pastebin so I can see how it's structured
     
  11. Offline

    Trevor_

    Running 617 at the moment. I also figured out what caused it. If groups are not in the correct order and Multiworld does not have the same thing as your default world then the groups will not save and they will continue to reset after each save. Little annoying, but found the fix by accident.
     
  12. Offline

    matjam

    If you publish the code on github, people like myself can take a crack at sorting out some of it and can push you patches. Thinks like the color output are low priority, but are fair game for a contributed patch imho.
     
  13. Offline

    Jiggster

    Well thx for answering, but the goal isn't reached yet :/
    With this my players are only able to Pro/Demote people with a lower Rank, which does not make any sense ^^
    How i said, i just want them to be able to promote (or demote however) theirselves to specified groups.
    I could make the MMO Classes to lower groups then the default groups, so the default players are only able to ,,demote'' to the wished group/class. But here is the problem, that they can't pro/demote theirselves, because of the restriction of not being able to Pro/Demote players at or above their rank...
    Hope there is a solution :)
     
  14. Offline

    TheDarkness73

    By multowrld support, do you mean people can be one permission in one world, but a different permission group in a different one?
     
  15. Offline

    DigitalTyrant

    Yep

    I think that you have a very special case. Most people do not want their moderators to have the ability to demote other moderators or promote themselves for that matter. You are wanting your members to promote or demote themselvesas a way to choose their class? Or am I still understanding incorrectly?

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

    Lookatmego

    org.bukkit.command.CommandException: Unhandled exception executing command 'promote' in plugin PermissionsPlus v1.4
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:254)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:596)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:559)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.NullPointerException
    at net.codej.permissionsplus.PermissionsPlus.checkUser(PermissionsPlus.java:447)
    at net.codej.permissionsplus.PermissionsPlus.onCommand(PermissionsPlus.java:343)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
    >


    cb 670 permissions is latest 1 any help?ty sir
     
  17. Offline

    DigitalTyrant

    What exactly are you typing for the command? Are you running from console or in-game?
     
  18. Offline

    Lookatmego

    from both i tried...i tried every command that says ehre ingame says internal error and in console says that
     
  19. Offline

    DigitalTyrant

    I have PermissionsPlus runnin on 670 without an issue using all commands. Unless you let me know exactly what you type, I cannot tell you what the issue is.

    The error is thrown because it cannot find the user specified. The syntax for promote is /promote <user>. In a multiworld environment you can use /promote <user> <world>. In either case the user is mandatory, world is optional and will assume your current world in absence or the default world if ran from console.
     
  20. Offline

    Steve Member

    Do you have a link to the source for this as the default Permissions plugin uses a quite combersome way of handling multi world permissions so we forked it and made it much easier to manage for our customers.

    We now have some guys looking to use permissions plus but we need to confirm it will actually work correctly with our changes, hence need to have a dig in the source.
     
  21. Offline

    Lookatmego

    that might be my problem i do /promote lookatmego world

    but my problem might be permissions did not create me a users.yml it just created a world.yml where i put the groups
     
  22. Offline

    DigitalTyrant

    The groups and users all go in the world.yml file .
    Code:
    plugin:
        permissions:
            system: default
    groups:
        Banned:
            default: false
            info:
                prefix: '&4Banned&f '
                build: false
            inheritance: null
            permissions: null
        Guest:
            default: true
            info:
                prefix: '&8GUEST&f '
                build: true
            inheritance: null
            permissions:
            - general.who
            - general.help
        Member:
            default: false
            info:
                build: true
            inheritance: null
            permissions:
            - general.spawn
            - general.who
            - general.help
            - general.afk
            - lwc.protect
            - myhome.home.*
            - iConomy.payment
            - iConomy.rank
            - iConomy.list
            - BetterShop.user.*
            - /region
    users:
        Person1:
            group: Administrator
            permissions: null
        Person2:
            group: Administrator
            permissions: null
        Person3:
            group: Member
            permissions: null
    
     
  23. Offline

    Lookatmego

    do i gotto add users my self everytime manually EVERYTIME?
     
  24. Offline

    DigitalTyrant

    no, new users will start out with the default rank. using the /promote command will automatically add them to the list and assign the next rank to them.
     
    kanute1 likes this.
  25. Offline

    Jandalf

    could u and an option so that people could only move players to one rank under them, so that a mod only can make VIPs and no admins?
     
    DylanP likes this.
  26. Offline

    Phaedrus

    Trying to add a new user and I got this error. Using Bukkit 670

    Code:
    14:32:41 [INFO] x0rtrunks used command "/group cupcakemann95 Survivor Survival"
    14:32:41 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'group' in plugin Permiss
    ionsPlus v1.4
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:254)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:596)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:559)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.NullPointerException
            at net.codej.permissionsplus.PermissionsPlus.checkUser(PermissionsPlus.java:447)
            at net.codej.permissionsplus.PermissionsPlus.onCommand(PermissionsPlus.java:108)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
     
  27. Offline

    Gratlofatic

    An internal error occured while attempting to perform this command.

    I am OP, and set to a group with all permissions.

    Any ideas?


    As do I..

    I think the plugin is broken at the moment. Let's just wait..

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

    Jiggster

    I think you understood right :) There are 6 groups (MMO-Classes) i want my players be able to promote to.
    They should only be able to use a specified command like ''/group [TheirOwnUsername] [OneOfThe6Classes]''.
    After they are promoted, they shouldn't be able to Pro/demote again. This wouldn't be a problem, cuz i could make the 6 MMO-Groups being unable to use the specified command from the begining ^^
    So, back to my question: Would something like this be possible to realize?
    Otherwise i will let Admins set the players classes ^^
     
  29. Offline

    Retribution831

    I solved it.

    Turns out it was just my stupidity. I was demoting myself to guest to test why, turns out it was me still being an OP. Like when you '/op' in a non-bucket server. Sorry about that, your plugin was fine all along.
     
  30. Offline

    Lookatmego

    17:55:45 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'promote' in plugin PermissionsPlus v1.4
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:254)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:596)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:559)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.NullPointerException
    at net.codej.permissionsplus.PermissionsPlus.checkUser(PermissionsPlus.java:447)
    at net.codej.permissionsplus.PermissionsPlus.onCommand(PermissionsPlus.java:343)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
    17:56:09 [INFO] chrislxp [/81.174.138.37:61814] logged in with entity id 93
    17:56:19 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'group' in plugin PermissionsPlus v1.4
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:254)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:596)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:559)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.NullPointerException
    at net.codej.permissionsplus.PermissionsPlus.checkUser(PermissionsPlus.java:447)
    at net.codej.permissionsplus.PermissionsPlus.onCommand(PermissionsPlus.java:108)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more




    ....again u can see i used /group and /promote with exact name caps sensetive and the group aswell and i get this im using latest permissions plugin
     
  31. Offline

    DigitalTyrant

    I apologize, I was out of town for the weekend. I will address these issues asap.
     

Share This Page