[+] When sending an AFK player a message, you can now warn the sender that the target player is AFK
Example:
To Configure this, add this to
config.yml
Code (Text):
# -- Message options --
#When a player tries sending a message to a target player, if the target player is AFK, would you like warn the sender the target player is AFK?
#Configure the message sent to the player under 'target_player_is_afk' in messages.yml
target_player_afk_messages:
- "/message"
- "/m"
- "/msg"
- "/pm"
- "/w"
- "/whisper"
And this to
messages.yml
Code (Text):
#The message sent when a player sends a message to a player who is deemed AFK
# Possible plugin placeholders:
# %TARGET_PLAYER% - The player who has gone afk
target_player_is_afk: "%PREFIX%&7The player &a%TARGET_PLAYER%&7 is currently AFK, so may not see your message!"