Skip to content

Meta Commands

This page describes the usage of DKPerms meta-commands. Those commands are sub commands of user and group commands.

Important things to remember:

  • Required arguments are declared with <example>
  • Optional arguments are declared with [example]

Default keys for groups

  • description <string> The description of the group (Showed in /team).
  • default <boolean> If the group is default assigned to players.
  • team <boolean> Shows that the group belongs to the server team.
  • color <string> The color of the group. The color is displayed for example in /perms groups. You can find the color codes on this website: https://www.digminecraft.com/lists/color_list_pc.php (replace § to &)
  • chat <string> The chat format of the group.
  • prefix <string> The tablist prefix of the group. The prefix is shown in front of the player name. This cannot be longer than 16 characters.
  • suffix <string> The tablist suffix of the group. The suffix is displayed after the player name. This cannot be longer than 16 characters.
  • joinpower <integer> The joinpower can be used to control access to servers

Default keys for user

  • color <string> The color of the player. (Normally taken from the group)
  • chat <string> The chat format of the player (Normally taken from the group).
  • prefix <string> The tablist prefix of the user. The prefix is shown in front of the player name. This cannot be longer than 16 characters (Normally taken from the group)
  • suffix <string> The tablist suffix of the user. The suffix is displayed after the player name. This cannot be longer than 16 characters (Normally taken from the group)
  • joinpower <integer> The joinpower can be used to control access to servers

Index


set <key> <value> [duration] [scope]

Permission: dkperms.admin
Alias: s
Arguments:

  • <key> The meta key (default or custom)
  • <value> The value to set
  • [duration] The duration of how long the value is set to this object
  • [scope] On which scope the value is set

Sets a meta value (prefix, suffix etc.) to a user or group.


unset <key> [scope]

Permission: dkperms.admin
Alias: u
Arguments:

  • <key> The meta key to remove
  • [scope] On which scope the value should be removed

Removes a meta value from a user or group.


clear [scope]

Permission: dkperms.admin
Alias: c
Arguments:

  • [scope] On which scope the meta values should be cleared

Clears all meta values form a user or group


list [scope]

Permission: dkperms.admin
Alias: l
Arguments:

  • [scope] The scope to list

List all meta values of a user or group.


tree [scope]

Permission: dkperms.admin
Alias: t
Arguments:

  • [scope] The scope to start (if missing, the root scope is taken).

List the meta tree of a player or group.


show <key> [scope]

Permission: dkperms.admin
Alias: s, get, g
Arguments:

  • <key> The meta key to show
  • [scope] On which scope the meta value should be showed

Show the current configuration of a meta value.


check <key> [scope]

Permission: dkperms.admin
Alias: c, test
Arguments:

  • <key> The name of the meta key to check
  • [scope] The lowest scope to be checked (if missing, the current scope is taken)

Check which is the effected meta value (The check tests each level and gives feedback on the status).


Last update: 2021-04-10