This repository has been archived by the owner on Mar 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Function Prefix and Suffix
Phoenix Nemo edited this page Sep 10, 2016
·
1 revision
Enables player to add prefix and suffix to themselves at a customized money and exp cost.
This function depends on Vault, and can be used with GroupManager or PermissionEX.
/nu prefix [prefix]
Set your prefix.
/nu suffix [suffix]
Set your suffix.
/nu resetprefix
Reset your prefix to default.
/nu resetsuffix
Reset your suffix to default.
/nu format
Check available formatting codes and their effect.
-
nu.prefix
- set/reset your prefix, defaults to all -
nu.suffix
- set/reset your suffix, defaults to all -
nu.format
- use/nu format
command, defaults to all
custom_fixes_prefix_format: '&r{prefix}&r '
custom_fixes_prefix_moneyCost: 100
custom_fixes_prefix_expCost: 100
custom_fixes_prefix_maxlength: 10
custom_fixes_prefix_disabledFormattingCodes:
- k
custom_fixes_prefix_blockedWords:
- bad word
- [admin]
custom_fixes_suffix_format: '&r {suffix}&r'
custom_fixes_suffix_moneyCost: 100
custom_fixes_suffix_expCost: 100
custom_fixes_suffix_maxlength: 10
custom_fixes_suffix_disabledFormattingCodes: []
custom_fixes_suffix_blockedWords: []
-
format
allows you to format prefix/suffixes added to player, such as add a space and reset code between -fixes and username. -
moneyCost
is the economy price for every successful execute of prefix/suffix setting. -
expCost
is the exp price for every successful execute of prefix/suffix setting. -
maxlength
decides how long prefix/suffixes can be. -
disabledFormattingCodes
to block formatting codes be used in prefix/suffixes. You can addk
to the list to block usage of&k
. -
blockedWords
to block any bad words or words you don't want your player to use, this ignores all formatting code.
See commands.