Payers can view important statistics about their peers when hovering over their names, and enjoy a customized presentation in chat.
Welcome to my simple plugin. If I see that this little project has support, I will add updates, such as prefixes for worlds, different information for worlds, ranks, etc.
FEATURES:
Hover Info: Displays personalized information about the player when hovering over their name in chat. You can configure what information is shown through a configuration file (info.yml), allowing you to include details like name, health, level, and other relevant statistics.
Custom Name Format: Customize the name format displayed in chat, allowing player names to include prefixes from other plugins, such as LuckPerms. This provides greater personalization and control over how names appear in chat.
Suggested Commands: When clicking on a player's name in chat, a command (like /msg <name>) is automatically suggested to facilitate communication between players. The command text is configurable through info.yml, allowing you to adapt it to your server's needs.
Placeholder Compatibility: Seamlessly integrates with PlaceholderAPI, allowing the use of placeholders to display dynamic and real-time information about players.
Easy Configuration: The plugin is easy to install and configure. Simply load the plugin onto your server, edit the info.yml file to customize player information, and you're ready to go!
Code (Text):
# you can create/delete/modify your own prefixes
default:
# permission they will need to use this prefix, this one for example place it for everyone to use
permission: default.prefix
# Here you can block worlds in which you do not want this prefix, you can create others with the same permission to show
# different prefixes depending on the world.
blocked-worlds: "worldexample, world_the_end_example"
# This is the info when you hover the mouse over the player's name, remember to install the variables with placeholderapi.
hover-info:
enable: true
lines:
- "&2{name} Profile"
- "&a&l┃&7 ᴛᴏᴡɴ: &f%husktowns_town_name%"
- "&a&l┃&7 ᴛɪᴍᴇ: &f%statistic_hours_played%"
- ""
- "&3Balances"
- "&3&l┃&a ᴍᴏɴᴇʏ: &2%vault_eco_balance% %img_money%"
- "&3&l┃&b ɢᴇᴍs: &9%coinsengine_balance_gems%"
- "&3&l┃&d ᴇxᴘ: &5%player_total_exp%"
# Here you can edit the prefix of the players, and the chat format
display-name-format:
enable: true
format: '%luckperms_prefix% &f{name} &f&l〉'
# This will show and autowrite by the player in the chat when clicking
click-command:
enable: true
command: '/msg {name}'
-
my prefix looks something like "null PlayerName 〉" This happens because you do not have the permission set, remember that if you use luckperms add the permission written in "permission" for the rank you want to see.
It also usually happens because your info.yml is old, make sure to delete it and generate the new one or copy the new format.