Discussion in 'Plugin Requests' started by veyronity, Mar 12, 2024.

  1. Offline


    A Simple Plugin that allows staff to change their groups

    (using luckperms)
    - user is in group.staff and group.mod
    [ - group.mod has all the staff permissions necessary for moderating ]
    [ - group.staff has the permission needed to toggle on/off staffmode ]

    - user issues /staffmode off
    - user is removed from group.mod BUT stays in group.staff

    - user issues /staffmode on
    - user is re added to group.mod using his permission from group.staff, while staying in it ofcourse

    if someone would like to make it pls lmk
    Last edited by a moderator: Mar 12, 2024
  2. Offline


    Hey what version of Minecraft do you want this plugin to be on, also do you think you can elaborate on how the plugin is meant to work, from what I understand it seems that you want a plugin that when a player types /staffmode on, it adds them to a mod group, and then when they type /staffmode off it sends them back to whatever group they were before?
  3. Offline


    According to Vault's README, LuckPerms is supported. Vault should handle any version-dependent code, so you can probably just go ahead by hooking into the Vault API. Furthermore, I don't believe the Bukkit API has changed enough to make the rest of the requested plugin version-dependent.
  4. Offline


    I'll take a look into that thanks for the heads up, still though I need answers about how the plugin should specifically function.
    KarimAKL likes this.
  5. Offline


    Just use a "command alias plugin" and bind the "luckperms change group commands" to /staffmode on|off
  6. Offline


    Originally, the moderator has both permissions group.mod and group.staff
    After he issues the command, group.mod is removed from him, so hes now a normal player
    if he uses /staffmode on again he is re-added to group.mod

    now on my server there is group.mod and group.helper, so if its impossible to differentiate them if both only have group.staff (after /staffmode off) then we can do a 3rd group named group.modtoggle and group.helpertoggle, which basically is like group.staff but differentiates between mod and helper

    the command is /lp user {playername} permission unset group.mod/group.helper
    so problem #1 is {playername} variable, problem #2 differntiating between mod and helper. it needs a plugin

    for simplicity purposes a 2-command solution can be made.
    /helpertoggle on|off -> requires group.helpertoggle permission -> adds/removes group.helper
    /modtoggle on|off -> requires group.modtoggle permission -> adds/removes group.mod

    Edit 17 march:
    ok so I basically did that last part and its somewhat working, altho too many commands and groups - /at /dt /mt /ht for admin dev mod helper and then 4 groups for toggling permissions respectively - still need a plugin
    Last edited: Mar 17, 2024

Share This Page