Group Manager/Commands

From Essentials

Jump to: navigation, search

Group Manager provides two ways to perform user and group management. Either define the groups and users using the config file or modify the users and groups using console commands. All these commands can be used in the server console or in-game by someone with op. It is recommended to define the groups at least initially using the config files and perform user management with the commands.

You will also be able to permit other users to use these management commands, to give all permissions you can use the summary permission groupmanager.*.

Obviously, these commands will only work if you have Group Manager installed.

Contents

Rule of Thumb

Group Manager commands follow a fairly standard syntax for most:

man [u/g] [add/del/list/check] [p/i/v/sub]

man - group manager
[u/g] - user / group
[p/i/v/sub] - permission / inheritance / variable / subgroup

User

User Management

  • /manuadd: Move a player to desired group (adds them to the file if it doesn't exist).
    • /<command> <player> <group>
    • groupmanager.manuadd
  • /manudel: Remove any user specific configuration. Make him default group.
    • /<command> <player>
    • groupmanager.manudel
  • /manuaddsub: Add a group to a player's subgroup list.
    • /<command> <player> <group>
    • groupmanager.manuaddsub
  • /manudelsub: Remove a group from a player's subgroup list.
    • /<command> <player> <group>
    • groupmanager.manudelsub
  • /manpromote: Allows promoting a player up the inheritance tree. This command will only allow the user to move the player between groups they inherit.
    • /<command> <player> <group>
    • groupmanager.manpromote
  • /mandemote: Allows demoting a player down the inheritance tree. This command will only allow the user to move the player between groups they inherit.
    • /<command> <player> <group>
    • groupmanager.mandemote
  • /manwhois: Tell the group that this user belongs to.
    • /<command> <player>
    • groupmanager.manwhois

Overriding Permissions

  • /manuaddp: Add permission directly to the player.
    • /<command> <player> <permission>
    • groupmanager.manuaddp
  • /manudelp: Removes permission directly from the player.
    • /<command> <player> <permission>
    • groupmanager.manudelp
  • /manulistp: List all permissions from a player.
    • /<command> <player>
    • groupmanager.manulistp
  • /manucheckp: Verify if user has a permission, and where it comes from.
    • /<command> <player> <permission>
    • groupmanager.manucheckp

User Variables

  • /manuaddv: Add, or replaces, a variable to a user (like prefix or suffix).
    • /<command> <user> <variable> <value>
    • groupmanager.manuaddv
  • /manudelv: Remove a variable from a user.
    • /<command> <user> <variable>
    • groupmanager.manudelv
  • /manulistv: List variables a user has (like prefix or suffix).
    • /<command> <user>
    • groupmanager.manulistv
  • /manucheckv: Verify a value of a variable of user, and where it comes from.
    • /<command> <user> <variable>
    • groupmanager.manucheckv

Group

Group Managament

Note the availability here for effecting globalgroups with the g: prefix.

  • /mangadd: Add group to the system.
    • /<command> <group>
    • /<command> <g:group>
    • groupmanager.mangadd
  • /mangdel: Removes a group from the system (all its users become default).
    • /<command> <group>
    • /<command> <g:group>
    • groupmanager.mangdel
  • /mangaddi: Add a group to another group inheritance list.
    • /<command> <group1> <group2>
    • groupmanager.mangaddi
  • /mangdeli: Remove a group from another group inheritance list.
    • /<command> <group1> <group2>
    • groupmanager.mangdeli
  • /listgroups: List the groups available.
    • /<command>
    • groupmanager.listgroups

Permissions

Note the availability here for effecting globalgroups with the g: prefix.

  • /mangaddp: Add permission to a group.
    • /<command> <group> <permission>
    • /<command> <g:group> <permission>
    • groupmanager.mangaddp
  • /mangdelp: Removes permission from a group.
    • /<command> <group> <permission>
    • /<command> <g:group> <permission>
    • groupmanager.mangdelp
  • /manglistp: Lists all permissions from a group.
    • /<command> <group>
    • /<command> <g:group>
    • groupmanager.manglistp
  • /mangcheckp: Check if group has a permission, and where it comes from.
    • /<command> <group> <permission>
    • /<command> <g:group> <permission>
    • groupmanager.mangcheckp

Group Variables

  • /mangaddv: Add, or replaces, a variable to a group (like prefix or suffix).
    • /<command> <group> <variable> <value>
    • groupmanager.mangaddv
  • /mangdelv: Remove a variable from a group.
    • /<command> <group> <variable>
    • groupmanager.mangdelv
  • /manglistv: List variables a group has (like prefix or suffix).
    • /<command> <group>
    • groupmanager.manglistv
  • /mangcheckv: Verify a value of a variable of group, and where it comes from.
    • /<command> <group> <variable>
    • groupmanager.mangckeckv


Utility Commands

  • /mansave: Save all permissions on file.
    • /<command>
    • groupmanager.mansave
  • /manload: Reload current world and config.yml, or load given world.
    • /<command> [world]
    • groupmanager.manload
  • /mantogglevalidate: Toggle on/off the validating if player is online.
    • /<command>
    • groupmanager.mantogglevalidate
  • /mantogglesave: Toggle on/off the autosave.
    • /<command>
    • groupmanager.mantogglesave
  • /manworld: Prints the selected world name.
    • /<command>
    • groupmanager.manworld
  • /manselect: Select a world to work with next commands.
    • /<command> <world>
    • groupmanager.manselect
  • /manclear: Clear world selection. Next commands will work on your world.
    • /<command>
    • groupmanager.manclear
  • /mancheckw: Obtain the paths to each file a world is storing it's data in (users/groups).
    • /<command> <world>
    • groupmanager.mancheckw

Non-Command Permissions

  • groupmanager.op Overrides all inheritance and permissions when performing Group Manager commands
  • groupmanager.notify.self notifies when your rank changes.
  • groupmanager.notify.other notifies when someone's rank changes.
  • groupmanager.noofflineperms Denies all permissions if server is in offline mode.