YOU WILL NEED TO CHANGE/ADD STUFF TO CONFIG (CHECK THE BOTTOM)
New Features:
You can have hoverable chat messages (Shows info about the player when you hover over their message)
You can have multiple lines when setting the description of a player (Use '/n' to create a new line)
Minor Changes:
Changed the message when there is a new version
Bug Fixes:
Some info of the player will update when a player opens the GUI
Code Changes (Not important really):
Added more packages/classes for organization
Created a Target Manager class
Optimized saving player data so it only does it when the server shuts down
CONFIG FILE:
Add the "prefix" part to the description and notes section
Code (Text):
Custom_GUI:
Description: # // You can set a description of a player
slot: 12
displayname: "&1&lDescription"
item: WOOL:3
prefix: "&7" # // The text that will show before each line (Also used for coloring text)
lore:
- "{PERSONAL_DESCRIPTION}" # // Used '/n' in game when setting the description to create a new line
Notes:
slot: 14
displayname: "&6&lNotes"
item: PAPER
prefix: "&6* " # // The text that will show before each note (Also used for coloring text)
lore:
- "&7-------------------"
- "{NOTES}"
- "&7-------------------"
Add this section to the config file
Code (Text):
# // When players chat you can click on their message and see info about them
Chat:
enabled: true # // This might cause some issues with other plugins
need-permission: true # // The custom message will only work for people with the permission: playerinfo.custom-message if true
format: # // This will be what everyone sees when a player chats (It is the same idea as essentials chat format)
admin: '{DISPLAYNAME}&f: {MESSAGE}' # // The format if the player has the permission: playerinfo.custom-message.admin
default: '{DISPLAYNAME}&7: {MESSAGE}' # // The format if the player has the permission: playerinfo.custom-message.default
# // More formats ca=n be added as well
DEFAULT: '{DISPLAYNAME}&6: {MESSAGE}' # // The format if the player cannot use any of the other formats
Hover_Text: # // The text that will show when you hover over a player's messsage (You can use any of the custom placeholders at the top of the config)
- "&6First Joined&e: {FIRST_LOGIN}"
- "&6Online for&7: {ONLINE_TIME}"