Notice 1. Version support issues This plugin theoretically supports all versions.
If the icon does not load, the sound cannot be played, etc., please check whether the type of the item and sound in the configuration file exists in the current version.
Take the SOUND as an example. The sound that the villager said "OK" is "
VILLAGER_YES" in the lower version, but it becomes "
ENTITY_VILLAGER_YES" in the higher version.
2. Scoreboard exception problem The display of the prefix on the head and the sorting of the TabList both use the scoreboard API.
Please turn of the
functions.OnNamePrefix in the configuration if there is a conflict.
3. Item icon configuration problem Items are read through the ItemStack serialization method provided by Bukkit. For related configuration methods, please refer to
ItemStack Serialization.
Commands
Code (Text):
/UserPrefix or /prefix #Open prefix GUI
/UserPrefixAdmin # View Admin Command Help
/UserPrefixAdmin reload # Reload Config
/UserPrefixAdmin list # List all configured prefixes.
Placeholders (PlaceholderAPI) After installed the
PlaceholderAPI , you can type /papi info UserPrefix to see all the placeholders.
Code (Text):
# %UserPrefix_prefix%
- Get the content of the current prefix
# %UserPrefix_weight%
- Get the weight of the current prefix.
# %UserPrefix_identifier%
- Get the identifier of the current prefix.
# %UserPrefix_name%
- Get the name of the current prefix.
# %UserPrefix_amount%
- Get the amount of player's prefixes.
# %UserPrefix_has_<Identifier>%
- Determine whether the player has a certain prefix(true/false)
Configuration Files Plugin Configuration (config.yml) Will be generated on the first boot up.