Skip to main content

Module: command_toolbox.nickname

Overview

Module

This module allows customization of the display name of a player.

Color Boxes

Note

◉ Using the nickname module with Styled Chat mod.

See: https://github.com/fuji-fabric/fuji/issues/489

Configurations

The following JSON content is provided for reference only. It must NOT be copied directly into the configuration directory, as it does not represent valid JSON syntax.

Config
  • File Name: config.json
  • File Content:
Click to see the default content...
config/fuji/modules/command_toolbox/nickname/config.json
{
/* The `format` used when `setting` the nickname. */
"nickname_format": "%.12s <grey>(%player:name%)"
}
Config
  • File Name: nickname.json
  • File Content:
Click to see the default content...
config/fuji/modules/command_toolbox/nickname/nickname.json
{
"format": {
"player2format": {
"Steve": "<rainbow>Steve"
}
}
}

Commands

Command
  • Command Syntax: /nickname reset

  • Document: Clear the display name.

  • Can be executed by console: false

  • Required Level Permission: 0

  • Required String Permission: null

Command
  • Command Syntax: /nickname reset others <PlayerCollection others>

  • Document: Clear the display name.

  • Can be executed by console: false

  • Required Level Permission: 4

  • Required String Permission: null

Command
  • Command Syntax: /nickname set <GreedyString format>

  • Document: Set the display name.

  • Can be executed by console: false

  • Required Level Permission: 0

  • Required String Permission: null

Command
  • Command Syntax: /nickname set others <PlayerCollection others> <GreedyString format>

  • Document: Set the display name.

  • Can be executed by console: false

  • Required Level Permission: 4

  • Required String Permission: null