Add ChatFilter2, OverheadChat, EventGreeting and update several plugins

New plugins: ChatFilter2, OverheadChat, EventGreeting.

Updated: HostnameManager, Leader3 (chat and markers), NameFilter2 (plugin
and config), PlayerRankings_nohlstats (rank display modes), custom-chatcolors
(plugin and ccc.inc), Extend (sm_settimeleft).

Add shared includes the plugins build against: Break, ChatFilter2, Couch,
EventNotifier, TransmitManager, leader, ripext, unloze_playtime.
This commit is contained in:
2026-11-23 13:20:15 +00:00
parent 2dca39be8a
commit 3a52b1dfd1
25 changed files with 6209 additions and 175 deletions
+15 -1
View File
@@ -137,10 +137,24 @@ native int CCC_ResetTag(int client);
* @param client Recieving client index
* @param author Author client index
* @param message Message
* @return Plugin_Handled to block message, Plugin_Continue to allow message
* @return Plugin_Handled to block message, Plugin_Changed to send this client the
* copy rewritten by CCC_OnChatMessageRewrite (or the normal message if
* nothing rewrote it), Plugin_Continue to allow message
*/
forward Action CCC_OnChatMessage(int client, int author, const char[] message);
/**
* Called at most once per chat message, and only if a recipient's CCC_OnChatMessage returned Plugin_Changed.
* The message is the raw text, after /me and auto-replace but before coloring.
* DO NOT START A NEW USERMESSAGE (i.e. PrintToChat, PrintToChatAll) WITHIN THIS FORWARD
*
* @param author Author client index
* @param message Message buffer to rewrite in place
* @param maxlen Size of the message buffer
* @return Plugin_Changed if the message was rewritten, Plugin_Continue otherwise
*/
forward Action CCC_OnChatMessageRewrite(int author, char[] message, int maxlen);
/**
* Called when a client's colors and tag are about to be loaded from the config file
* At this point, the client has NO COLORS