Permissions Classses - Self Grouping - Simple Permissions Add-on

Discussion in 'Archived: Plugin Requests' started by Gnomeo76, Aug 24, 2012.

  1. Offline

    Gnomeo76

    While going through my 22 permissions groups I thought administration would be way easier if players could choose their own set of permissions. For example, I have a bPermissions group for every combination of Mage, Warrior, Rogue - Member, Mod - and Sky League, Forgotten, or Ascended. Really the easiest way for me to hack 22 groups down to 10 would be to remove the groups for each class, and give the member rank a permission to let the player choose their set of permissions. For example, Bob is a Sky League Member, and wants to be a mage, so he types '/MyGroup(or whatever the plugin is called) choose mage'. Then he gets access to all of the permissions saved in the 'mage' grouping in a seperate file.

    Commands and Permissions- & is replaced by the name of the plugin
    /& help
    Shows a list of these commands
    &.help

    /& desc (group)
    Shows a short, admin designated description of the group specified.
    &.choose.(group)

    /& choose (group)
    Gives the user access to the chosen group's set of permissions
    &.choose.(group)

    /& default
    Removes the player's access to the group they have chosen
    &.default

    Example of Configs
    In the Permissions plugin's config (Not this plugins)
    Code:
    SkyLeagueMember
      - mcmmo.*          #An example of a permission all members would have
      - iConomy.member    #^
      - MyGroup.help
      - Mygroup.choose.mage
      - Mygroup.choose.warrior
      - Mygroup.choose.rogue
    In this plugin's config
    Code:
    #General settings#
    helpcolor: example    #other options in the plugin config
    notavailible: example
     
    GROUPS
      name: mage
      permissions
        - magicspells.cast.fireball  #Anyone who chose the mage group gets these permissions
        - magicspells.cast.blink
        - magicspells.cast.conjure
        - magicspells.cast.teleport
     
      name: warrior
      permissions:
        - magicspells.cast.whirlwind  #permissions people that chose warrior get
        - magicspells.cast.stun
     
      name: rogue
      permissions:
        - magicspells.cast.multishot
        - magicspells.cast.pickpocket
        - magicspells.cast.lockpick
    Thus, anyone who is a SkyleagueMember, and chose the 'mage' group would have access to these permissions. The only funny business I can think of is that after choosing a group, access to the '&.choose.(group)' permissions would have to be removed, even though they have access to the group which contains them.
    Code:
      - mcmmo.*
      - iConomy.member
      - MyGroup.help
      - magicspells.cast.fireball
      - magicspells.cast.blink
      - magicspells.cast.conjure
      - magicspells.cast.teleport
    When I need it
    No rush, but sooner is better

    Extro
    Thanks for reading and I hope you choose to help me, I would be very grateful for your contribution to my server, and anyone else who uses permissions.
    Not as a reward, but as a token of my appreciation, anyone who helps make this will receive the 'Scribe' Rank and Title on my server (Equivalent to Moderator, just with a fancier name), and my gratitude. Thanks!
     
  2. Offline

    Omnitv

    :/ have you tried bPermissions, PermissionsEX, Permissions Bukkit, Privleges. There are a few others out there.
     
  3. Offline

    Gnomeo76

    I havent seen privleges, but I use bPermissions and have looked over PermisisonsBukkit and PEX.
     
  4. Offline

    np98765

    Not really sure what you're after with this... Why can't you just keep groups and get a command ranking plugin?
     
  5. Offline

    Gnomeo76

    The two things I want out of this are
    1. Better organized permissions files and Less duplicates in them
    2. The option for players to choose their group without an admin, because they might not come on when an admin is on.
     
  6. Offline

    np98765

    1. Inheritance
    2. Permissions (literally. Give them the node to be able to rank themselves to certain ranks)
     
  7. Offline

    Gnomeo76

    Im using bPermissions, do you know how to add a permission to choose your rank? I can add tracks, but that allows people to do it to others, and to do it past their allowed rank.
     
  8. Offline

    Omnitv

    You could read its documentation.
    http://forums.bukkit.org/threads/the-ultimate-guide-to-permissions.80291/#post-1161143
    http://forums.bukkit.org/threads/st...oob-level-99-tutorial-for-bpermissions.55315/
    http://forums.bukkit.org/threads/bpermissionsgui-a-gui-editor-for-bpermissions.56446/
     
  9. Offline

    Gnomeo76

    Yeah im sure if there was a permission for it, it would be listed under 'permissions'. Also the documentation is thr basic workings of the plugin.
     
  10. Offline

    codename_B

    You could use something like RankMarket
    dev.bukkit.org/server-mods/rankmarket/
     

Share This Page