Added customization to placeholder parsing error (1.4.6)
- Added a few more options in the config to allow customization to how placeholders will be displayed if it cannot be parsed successfully
Config Changes: Added-
Code (YAML):
Settings: #Settings for if the plugin is unable to fetch a placeholder PlayerNotFound: #Hover message settings Hover: #Add a hover message Enable: true
#Text for the hover message #Supports multiple lines Text: -
"&cUnable to parse placeholder.." #Click action settings Click: #Add a click action Enable: false
#The action to do when clicked #List of actions: #OPEN_URL #OPEN_FILE #RUN_COMMAND #SUGGEST_COMMAND #CHANGE_PAGE #COPY_TO_CLIPBOARD Action: SUGGEST_COMMAND
#The value for the action above #for example '/say yellow is her fav color' for the action RUN_COMMAND Value: "" #Replace keyword settings Replace: #Whether the keyword should be replaced with another text Enable: true
#The text to replace the keyword #Use {Placeholer} for the name of the placeholder that was unable to be parsed ReplaceText: '&c
{Placeholer
}&r'