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

    blenderfreak1

    I am running 2.1
     
  3. Offline

    DigitalTyrant

    In 2.1 the tag has been changed to [P2], does it say in the console that version 2.1 is loaded?
     
  4. Offline

    blenderfreak1

    Yep it does, and it just doesn't do anything

    Oh I just figured out the problem: Somehow the permissions file got locked, and yeah... duh i feel like an idiot. Well I have no idea why it was locked, but sorry for wasting your time :)

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

    leetgamer

    Typo on OP:
    setdefault: Sets group to be default group​
    Requires: Group​
    Optional: World​
    Permission: p2.group.setdefault​
    Example: /group -add s:NewGroup
     
  6. Offline

    DigitalTyrant

    whoops, was really late lol

    All good, glad to know you got it working :-D

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

    Wahrheit

  8. Offline

    DigitalTyrant

  9. Offline

    Wahrheit

    Login with your email addy.
     
  10. Offline

    DigitalTyrant

    attempted that, then tried "recovering"
     
  11. Offline

    Windwaker

    I don't know what everyone is whining about. I figured this out in about 3 minuted. Switching from GroupManager was one of the best decisions I have ever made!

    Also.. I have always wondered why the ability to make prefixes have never just been built in... As well as the build variable.
     
  12. Offline

    DigitalTyrant

    Grats on the switch, i've never use group manager.

    Yea, permissions, anti-build and iChat used to allthree be separate plugins. Now anti-build and permissions are combined but iChat retains solo status.
     
  13. Offline

    Windwaker

    Ughh... it got soo annoying. The "users.yml" would check it on stopping so no matter what you did you where not able to add members without restarting the server.... or at least in my experience. Seems to unusual to be true to tell you the truth.
     
  14. Offline

    Sweet_Mafia

    Not to be rude, but the permissions and commands spoiler confused me. Lets say I want to move a user named "giga" from the quest group (which is default.) To a higher group called "builder"

    What command do I use, and what permissions do I need?
     
  15. Offline

    Donny

    I added a plugin mobbouny and permissionsplus commands stopped working. I upgraded permissionsplus and now i get this notice "[P2] Some groups do not have a rank defined, some commands are disabled."

    here is a pastebin on one worlds permissions (both my worlds are doing it). Although i edited some things and it changed nothing
    http://pastebin.com/jzLf8NPU
     
  16. Offline

    Wahrheit

    Is your MP main account verified? :S
     
  17. Offline

    DigitalTyrant

    the commands that you could use are /group -setgroup u:giga s:builder or use /promote giga until they reach the group builder. Unless you are an Op, you will need p2.user.setgroup or p2.promote. If you are not an Op, ranks need to be set in order for either command to work.

    I would try a /reload and see if it comes up with the same message. Can you pastebin your other yml?

    I verified it using the link in my email?

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

    Jonte1777

    I got this to work but then... I gave up because I had to add permissinons for all commands to the group "Players" that can build...
     
  19. Offline

    kronflux

    I can't get this to define ranks, this rank number idea is dumb. it's really not hard for us to type the -name- of the rank we want to promote someone to. do that.
    /promote username rankname
    instead of all this garbage about defining ranks.
    anytime I try to define ranks, it just keeps blurting out that none of the groups have ranks defined.
     
  20. Offline

    tomnicklin

    New error has come to light for me:

    Some of the members I promote, when I restart they end up going back to what they were, this happens to only a couple of people and i cannot figure it out
     
  21. Offline

    Javid

    This would be great if it honored ops.txt, being told I don't have permission to execute a command on a server I own is stupid.
     
  22. Offline

    kronflux

    this is an addition to the permissions plugin. if you own the server, logically you should be within a group under that plugin, which has access to all commands(ie: Admins, with permission to "*" which allows access to -all- commands)
    if, for some odd reason, you aren't a member of the admin group of your own server, I would suggest moving yourself to that group(if it doesn't exist, create it.)
    OR if you wish to stay in the group you're in which for some reason doesn't have access to this, add permission to "p2.*" to your group.
    ops.txt is absolutely unnecessary in this plugin.
     
  23. Offline

    Javid

    I just installed both of them and nobody's in any groups yet, nor can anybody create one because nobody has access to any commands. ops.txt is clear enough for most things; I only installed this because it claimed to let you set permissions by ingame command, which the regular permissions mod doesn't do, and I only have THAT because multiverse requires it. I just want the frigging multiverse plugin to work!
     
  24. Offline

    Blazednlovinit

    i'm having trouble with the promote and demote commands, it seemed to realise the hierarchy of ranks before and now it indicates that it doesnt know what to promote or demote TO. am i doing something wrong?
     
  25. Offline

    Sweet_Mafia

    I had this in my server log, is this bad?

     
  26. Offline

    kronflux

    Seems to be pretty common. this rank thing is really dumb.
     
  27. Offline

    DigitalTyrant

    Are you on a regular server or multiplay?

    This plugin does not restrict Ops in anyway. Try /deop and /op again?

    In version 2.0 I introduced ranks which allows you to define a ranking hierarchy. Once defined the promote and demote commands look to the group's rank and not their definition order to properly promote and demote.

    The no groups defined message is interesting, but you will see the other lines go away when you start declaring ranks.
    For example, guest is the lowest, so you could use:
    /group -setinfo i:rank g:guest s:1
    and founder is the highest so I would use:
    /group -setinfo i:rank g:founder s:99

    And then you can repeat the command for the other groups and fit them in the middle. I like to leave a little room in between the rank # of each group just in case I decide to add another group.

    The ranks have are important in 2.0+ for a couple different reasons. First the original reason, most people don't define their groups lowest rank at the top and highest at the bottom. Some admins add groups to the bottom later that fit somewhere in the middle. Instead of requiring them to re-arrange their yml to make sure it's in the right order, admins must now define a rank# for each group. The second is to compare ranks when promoting and demoting. My moderators have the ability to set groups and promote users, but I don't want them to be able to set other user's group, or their own, to something higher than it should be. So when these commands get ran, it compares the "destination" rank to the mods - or whoever called the command- rank to make sure that it will remain lower than their rank. This stops them from creating mods or admins. The final thing is it defines the promote and demote order but only follows positive ranks. So if you want to have a couple ranks that are inaccessible via promote and demote, you can set them to negative numbers and they can't be set via those commands.

    No sure if I'm understanding what was happening but if you need any help I can try to lend a hand. There shouldn't be any need to add a bunch of permissions just for that group to build.

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

    Sweet_Mafia

    I try to do that but it says "Group guest does not have a rank defined" when I try to set guest as 1. And then it says the same for the rest of my ranks.
     
  29. Offline

    DigitalTyrant

    Have you checked the yml, does it change that?
     
  30. Offline

    Allzthedevil

    Would I be able to set the rank straight from the yml?
    *Edit*
    Ahh never mind, figured it out, not sure how but I did.
     
  31. Offline

    DigitalTyrant

    haha, just for reference, yes.

    You can add - rank: # to the yml manually. for example:
    Code:
    groups:
      group1:
        info:
          rank: 9
    obviously there is more to the yml than that, but that is the tier that rank belongs on.
     

Share This Page