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

    flames

    thanks, that fullfills the needs :)
     
  3. Offline

    DigitalTyrant

    2.0.3 available. Identified and fixed a few bugs as well as improved syntax checking and allowing for blank info variables to be set.

    Trying to stay a step ahead of you guys :)
     
  4. Offline

    cullyn

    i love your work, but my issue is not changing multiple worlds files at once, i only run on world.yml i want a way to set it as default as all my worlds copy from that one.

    maybe a setting or something default world: world.yml

    that way if i dont specify a world it defaults to world.yml
     
  5. Offline

    ogxclaw

    [PermissionsPlus] Attached to Permissions version: 2.7.1
    19:24:12 [INFO] [PermissionsPlus] Group Guest does not have a rank defined.
    19:24:12 [INFO] [PermissionsPlus] Group Op does not have a rank defined.
    19:24:12 [INFO] [PermissionsPlus] Group Op+ does not have a rank defined.
    19:24:12 [INFO] [PermissionsPlus] Group Mod does not have a rank defined.
    19:24:12 [INFO] [PermissionsPlus] Group Mod+ does not have a rank defined.
    19:24:12 [INFO] [PermissionsPlus] Group Admin does not have a rank defined.
    19:24:12 [INFO] [PermissionsPlus] Group Admin+ does not have a rank defined.
    19:24:12 [INFO] [PermissionsPlus] Group Co-Owner does not have a rank defined.
    19:24:12 [INFO] [PermissionsPlus] Group Owner does not have a rank defined.
    19:24:12 [INFO] [PermissionsPlus] Some groups do not have a rank defined, some commands are disabled.
    19:24:12 [INFO] [PermissionsPlus] version 2.0.3 has been enabled.

    what does this mean and can someone please help!!!
     
  6. Offline

    DigitalTyrant

    @ogxclaw
    some of the commands require that the ranks, or order or hierarchy be defined to determine order and permission. You can set a rank for each group using the following command:
    /group -setinfo g:GroupName i:rank s:1-100+
    Each group should have a different number for s: each time you run it. Higher the number, higher the rank.
     
  7. Offline

    ogxclaw

    Could you type the command for me to give an example for say the rank guest? It would really help me out. Also, what is the difference form the GroupName and the rank???
     
  8. Offline

    DigitalTyrant

    /group -setinfo g:Guest i:rank s:1

    The difference is that GroupName changes based on which group you wish to modify and rank is the variable your are setting within the info section for that group. i:rank will be consistent throughout each group:
    /group -setinfo g:Owner i:rank s:99

    etc etc, I only put 99 in there to leave room in between just in case you have new ranks that you might add sometime down the road. you could leave a few numbers between the ranks if you want as long as they are ascending in the order that they are supposed to, this plugin will promote accordingly
     
  9. Offline

    ogxclaw

    Every time i set one rank on my server prompt it comes with this:

    >group -setinfo g:Admin++ i:rank s:97
    20:49:15 [INFO] [PermissionsPlus] Group Builder does not have a rank defined.
    20:49:15 [INFO] [PermissionsPlus] Group AdvBuilder does not have a rank defined.
    20:49:15 [INFO] [PermissionsPlus] Group Op does not have a rank defined.
    20:49:15 [INFO] [PermissionsPlus] Group Op+ does not have a rank defined.
    20:49:15 [INFO] [PermissionsPlus] Group Mod does not have a rank defined.
    20:49:15 [INFO] [PermissionsPlus] Group Mod+ does not have a rank defined.
    20:49:15 [INFO] [PermissionsPlus] Group Admin+ does not have a rank defined.
    20:49:15 [INFO] [PermissionsPlus] Group Admin++ does not have a rank defined.
    20:49:15 [INFO] [PermissionsPlus] Some groups do not have a rank defined, some commands are disabled.
    20:49:15 [INFO] /permissions
    20:49:15 [INFO] Example: /permissions | Displays Permissions Info
    20:49:15 [INFO] Example: /permissions -reload all | Reloads the default world configuration
    20:49:15 [INFO] Example: /permissions -reload [world] | Reloads the [world] configuration file
     
  10. Offline

    DigitalTyrant

    @ogxclaw
    yea, it's just letting you know the groups that have yet to be set.
     
  11. Offline

    ogxclaw

    k thanks for the help =)
     
  12. Offline

    DigitalTyrant

    No problem, it's what I'm here for :-D
     
  13. Offline

    ogxclaw

    One last thing =p
    I get this command when trying to promote/demote someone:

    21:03:54 [INFO] [PermissionsPlus] Cannot find file: plugins/Permissions/Guest.yml

    Now im guessing this means i need to have a new .yml file for the rank itself but im not completely sure.
     
  14. Offline

    DigitalTyrant

    When usin the promote and demote commands you only have to specify the username, it will automatically set them to the next group depending on which command you use. You can specify a user and a world in a multi-world environment but it's not necessary if you have just one world
     
  15. Offline

    ogxclaw

    I think i may have messed up.... I tried to demote myself through my server prompt and i cannot demote myself under the rank co-owner. Do you know why thins might be happening?
     
  16. Offline

    DylanP

    W0w...you really just ruined this plugin for me with the whole /user -setgroup u:name s:group

    I liked the simple /group username group

    PLEASE put it back that way, or make a 'simple' version of the plugin that uses the old regular commands.


    Thank you!
     
  17. Offline

    DigitalTyrant

    Sorry, I'm sure you're not the only one that I have upset with the switch. I am going to stick with the new syntax because not only has it allowed for a lot better error-checking, the code is structured in a way that I can easily update it if there are any errors and add functionality a lot easier as well. The old code was getting quite garbled with all the fixes that I had to put in place to make sure that things ran smoothly. Version 1.6 still has the old style commands, you can still grab that from the change log above.
     
  18. Offline

    ThePilotGuy

    For some reason, when I try to give a user group a rank, It adds the rank to the current user group I'm in. Help would be appreciated, thank you.
     
  19. Offline

    DigitalTyrant

    What command are you running?
     
  20. Offline

    Criixx

    I don't like this plugin anymore :'(
     
  21. Offline

    TheShadow777

    hey can you make a command for put a player direct in a group but not when the group is the same or higher as the group from the command user

    example: /setgroup name group
     
  22. Offline

    emoknight

    same im only usin 1.5 of this plugin
     
  23. Offline

    ogxclaw

    I think i may have messed up.... I tried to demote myself through my server prompt and i cannot demote myself under the rank co-owner. Do you know why thins might be happening?
     
  24. Offline

    Neoinr

    I love the upgrades. Quick question, would you be able to make a /setprefix command? Would be very useful. Thanks =D
     
  25. I decided to give it another try and updated PermissionsPlus. However, once I updated it and attempted to run the command.
    /group -setinfo g:Guest i:rank s:1
    It gave me this error.
    "An internal error occured while attempting to perform this command"

    When I took a look into the console, I noticed this.
    Code:
    2011-05-06 17:09:05 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'group' in plugin PermissionsPlus v2.0.3
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NullPointerException
        at java.lang.String.replace(String.java:2219)
        at net.codej.permissionsplus.PermissionsPlus.sendMessage(PermissionsPlus.java:1104)
        at net.codej.permissionsplus.PermissionsPlus.onCommand(PermissionsPlus.java:463)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
     
  26. Offline

    DigitalTyrant

    There is a file messages.yml, you can delete it and the plugin will create a new one. if you have made changes, copy it somewhere and let the plugin create a new messages.yml then copy over your changes

    You can use the command /group -setinfo i:prefix g:Group s:&cBad&sMamma&sJamma or /user -setinfo i:prefix u:CoolDude s:&cBad&sMamma&sJamma

    &s will create a space in the name, If you don't have a space set after the prefix you could toss &s at the end to create one

    This functionality is working as designed to limit who can promote, demote and set ranks. Ops are not affected by this and the console can make these changes without being denied permission.

    Can you copy your permissions yml file to pastebin and I will take a look for you

    @Criixx @emoknight

    I'm sorry that you and other members of the bukkit community feel this way. I hope that the plugins that I develop do become useful to you guys but I understand that they are not a fit for everybody. The changes I made were to help me provide the community with a tool to better manage a pretty complex file and while I would like to make things as simple as possible the structure of the pre-2.0 builds was very limited and difficult to add functionality to. The new model allows the user to better define what they are trying to do and provides near-limitless modification of your permissions yml file.

    I have always focused the plugin on the needs of the community and I have continued to modify as necessary to meet those needs. I hope that you and all of the others that have lost love for this plugin can see this.

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

    ogxclaw

    This is my permissions:

    plugin:
    permissions:
    system: Guest
    copies: null
    groups:
    Guest:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    rank: 88
    inheritance: null
    permissions:
    - lwc.protect
    - iConomy.payment
    - whoareyou.list
    - whoareyou.player
    Builder:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    rank: 89
    inheritance:
    - Guest
    permissions:
    - general.here
    AdvBuilder:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    rank: 90
    inheritance:
    - Builder
    permissions:
    - teleport.here
    Op:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    rank: 91
    inheritance:
    - AdvBuilder
    permissions:
    - cuboidplugin.select
    - cuboidplugin.cuboid
    - cuboidplugin.replace
    Op+:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    rank: 92
    inheritance:
    - Op
    permissions:
    - general.give
    - p2.promote
    Mod:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    rank: 93
    inheritance:
    - Op+
    permissions:
    - bb.admin.watch
    - bb.admin.info
    - lwc.mod
    - magiccarpet.mc
    - magiccarpet.ml
    Mod+:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    rank: 94
    inheritance:
    - Mod
    permissions:
    - general.ban
    - p2.demote
    Admin:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    rank: 95
    inheritance:
    - Mod+
    permissions:
    - bb.admin.rollback
    Admin+:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    rank: 96
    inheritance:
    - Admin
    permissions:
    - FullChest.create
    - instabreak.toggle
    - instabreak.force
    Admin++:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    rank: 97
    inheritance:
    - Admin+
    permissions:
    - p2.group.add
    - p2.group.getperms
    - p2.group.setperm
    - p2.group.remperm
    - p2.group.setinfo
    - p2.group.getinherit
    - p2.group.setinherit
    - p2.group.reminherit
    - p2.user.getperms
    - p2.user.setperm
    - p2.user.remperm
    - p2.user.setinfo
    - p2.user.setgroup
    Co-Owner:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    rank: 98
    inheritance:
    - Admin++
    permissions:
    - '*'
    - lwc.admin
    Owner:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    rank: 99
    inheritance:
    - Co-Owner
    permissions:
    - '*'
    - instabreak.config
    - instabreak.breakbedrock
    users:
    ogxclaw:
    group: Owner
    info:
    prefix: '&0[&4M&6A&eS&aT&1E&5R&0]'
    suffix: ''
    permissions:
    - '*'
    Varun:
    group: Admin++
    info:
    prefix: ''
    suffix: ''
    permissions:
    - '*'
    cody:
    group: Mod+
    info:
    prefix: '&e[The Banana That Could Fly]&e'
    suffix: ''
    permissions:
    - general.give
    Air_neko:
    group: Owner
    permissions:
    - '*'
    matt:
    group: Mod+
    info:
    prefix: '&e[Yellow FTW]&e'
    suffix: ''
    permissions:
    - '*'
    epicsause:
    group: Admin
    info:
    prefix: ''
    suffix: ''
    permissions:
    - '*'
     
  28. Offline

    DigitalTyrant

    so from the console you run
    /demote ogxclaw
    and it takes you down to co-owner, then when you run
    /demote ogxclaw
    again it doesn't take you to admin++?
     
  29. Offline

    ogxclaw

    No it keeps me at co-owner and if i promote myself i still stay at co-owner.
     
  30. Offline

    DigitalTyrant

    @ogxclaw
    Have you tried a /reload from the console or restarting the server? - shouldn't be necessary but may help
     
  31. Offline

    ogxclaw

    I have finally got it working!!! I just have to do /reload in my console then keep demoting and it works!!! Thank you so much for all the help you have given to me =)
     

Share This Page