-
-
Notifications
You must be signed in to change notification settings - Fork 2
Mention all players with @all in message. #2
Copy link
Copy link
Closed
Labels
Hacktoberfestfeature requestNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededup-for-grabs
Metadata
Metadata
Assignees
Labels
Hacktoberfestfeature requestNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededup-for-grabs
Implementation mention all players in chat.
This is not a complicated function, it will allow you to mention all the players in the chat.
This function will work similarly to the mention of a player, but only the mention will be sent to all players.
For this function, it is advisable to check for permissions (
ess.chat.mention.all).Also! Don't forget add checking on global or common chat, if message sent in local chat with
@allmention, then not notify all players, just suppress it mention.