Module: command_toolbox.nickname
Overview
This module allows customization of the display name
of a player.
Color Boxes
◉ Using the nickname
module with Styled Chat
mod.
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.
- File Name:
config.json
- File Content:
Click to see the default
content...
{
/* The `format` used when `setting` the nickname. */
"nickname_format": "%.12s <grey>(%player:name%)"
}
- File Name:
nickname.json
- File Content:
Click to see the default
content...
{
"format": {
"player2format": {
"Steve": "<rainbow>Steve"
}
}
}
Commands
-
Command Syntax:
/nickname reset
-
Document: Clear the display name.
-
Can be executed by console:
false
-
Required Level Permission:
0
-
Required String Permission:
null
-
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 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 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