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

    DigitalTyrant

    Are you running your own server or are you on Multiplay?
     
  3. Offline

    Synful0ne

    I was on multiplay but they suck.. so im running my own now through putty and filezilla , on a Dedicated Data center Server , 8gb Ram
     
  4. Offline

    DigitalTyrant

    so when you set the rank via the command it doesn't save in the yml?
     
  5. Offline

    Synful0ne

    dont think it does. I can try.. Redoing the Stuff ingame agian. and checking the yml to see if it changes at all from original , It updates the Permissions One right?
     
  6. Offline

    DigitalTyrant

    yea, when you run the commands all the changes are done to the Permissions yml
     
  7. Offline

    Synful0ne

    Okay , ill try that agian see if i can get it before it "Undo's" itself , but i would recommend ability to do it manual ontop of ingame , or atleaste tell us how to do manual if its allready possible :) to avoid this issue

    Code:
    groups:
        Guest:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
                rank: 1
            inheritance: null
            permissions:
            - lwc.blockinventory
    Thats what i got when doing ingame , lemme reload and see if it undo's it agian

    After Multiple Reloads i dont see any problems but this could be because i went into it "right" after and refreshed the stuff , seems to cause.. the issue only when Modifiying ingame without checking the permissions to verify. and save before restart. So again unsure. of the issue. but managed to fix it for myself.. at least for now till something else arises

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

    DigitalTyrant

    It's not that you can't edit the file manually, you can. I have posted the info previously. The key is:
    Code:
    groups:
      GroupName:
        info:
          rank: #
    setting that key in any of your groups will give them the rank that you replace the # with. Sorry you were having issues, I hope you don't experience any more.
     
  9. Offline

    Borito

  10. Offline

    DigitalTyrant

    hmm, don't see any errrors there... Are there any [P2] messages when you /reload or restart the server?
     
  11. Offline

    Borito

    no
     
  12. Offline

    Jeyge

    I don't think there is any way that Permissions would read that file. If you aren't seeing any errors in your console, it means that the Permissions plugin isn't actually reading it. The 2 major errors with it are the first permission after the permissions tag needs to be spaced over 1 more space and you have 1 inheritance that needs 1 more space. Once everything lines up and you get Permissions to read it, I'll bet PermissionsPlus will work for you.

    As for why Permissions might not be reading it, check your file name in the permissions directory. Make sure it is <world name>.yml unless you have file extensions turned off. If you do, then it will just be <world name>.
     
    Borito likes this.
  13. Offline

    Aljam

    These commands are too confusing as of this update, the old way the commands were lay out was way better.
     
  14. Offline

    Borito

    can you give me an example?
     
  15. Offline

    Jeyge

    This would be much better. I think you will need to add the permissions: tags to the users though. I've seen Permissions have a lot of problems if they aren't there even if they are just blank.
     
  16. Offline

    Borito

  17. Offline

    Jeyge

    Your new file is just as broken as your old file.
     
  18. Offline

    Borito

  19. Offline

    Jeyge

    That might work but the actual permissions are only spaced over 3 spaces. Yml is pretty picky about the spacing of files. It seems to accept 0 spaces for continuations, 2 spaces for all indents and I think the normal default is 4 spaces for all indents. A lot of the tools only accept 4 spaces for continuations though.
     
  20. Offline

    Borito

  21. Offline

    King Random

    Nevermind I fixed it. It all works perfectly now.
    Great plugin!
     
  22. Offline

    Zaros

    Can't have 'rank: 0' from what I see. '1' is the lowest valid choice apparently.
     
  23. Offline

    Jeyge

    I didn't catch this before but you are inheriting from Default which isn't a group that you have in your file. I loaded your file on my test server and everything works as far as permissions. What are the errors you are finding now?
     
  24. Offline

    DigitalTyrant

    It seems a few people agree with you. The commands are pretty simple and consistent once you get used to them. If you do prefer a simpler syntax altogether, you can try P2Aliases. It adds a command named /groupset which allows you to use a simpler syntax for the /user -setgroup command. I will be adding more commands to this soon.

    rank: 0 is the default 'no rank state' You can have groups ranked 1 through 100 and beyond and they will be ordered that way for promotion and demotion purposes. Groups with a negative number rank ignore are ignored in the promotion and demotion list.

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

    King Random

    It isn't all good anymore.
    Somehow, while trying to set some permissions using permissionsplus my entire permissions file got wiped.
    I have backups but it won't let me remove the old file so I can't do anything about it.
     
  26. Offline

    DigitalTyrant

    Thanks! I'm glad you've got it up and running. Let me know if you have any issues.

    uh oh. ok, so your world.yml in your permissions folder is blank?

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

    King Random

  28. Offline

    DigitalTyrant

    @Jeyge thanks for helping troubleshoot!

    Are your in-game permissions still working?

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

    King Random

    No, it says *An internal error has occured while attepting to perform this command*.

    All of my permissions stuff is gone.

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

    DigitalTyrant

    what does it say in the console?
     
  31. Offline

    King Random

    This might sound odd but I don't have a console.
    I am not hosting the sever myself.
     

Share This Page