Code (YAML):
# {sender}: The command sender's name.
# {player}: The other player's name.
# {<list_ID>}: The player list identified by <list_ID>. The list ID can be derived from its file name or from a configuration section keyword.
# For example, if a list configuration is in a file named 'staff.yml', its ID is 'staff'.
# If a list configuration is in a file named 'donors.txt', its ID is 'donors'.
# {<list_ID>_amount}: The size of the player list identified by <list_ID>.
# The permission needed to view this format
Permission
: 'playerlist.formats'
# If the command sender doesn't have the above permission when executing the open command, this error message is displayed.
Error
: '&4Top secret'
OpenCommand:
Name
: list
Aliases
:
[playerlist, plist
]
# Args: [These, arguments, must, be, included, by, the, player, to, execute, this, command]
WrongArgs
: '&4The arguments do not match.'
# If true, this command's executor and tab completer ignore case when comparing arguments.
IgnoreCase
: true
# If true, any new color code will be translated after all placeholders are set.
TranslateFormattedColors
: false
Format:
- '&8• &7Staff &8(&4{staff_amount}&8)&7
:
&c{staff}'
- '&8• &7Donors &8(&1{donors_amount}&8)&7
:
&b{donors}'
- '&8• &7Online
:
&a{online_amount}'