Skip to content

Latest commit

 

History

History

simple_chatprocessor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Description | 內容

Process chat and allows other plugins to manipulate chat.

  • Video | 影片展示
    None

  • Image | 圖示
    None

  • How does it work?
    • Provides global forward for chat messages allowing other plugins to manipulate the display of chat messages such as
      • Change chat colors
      • Change player name
      • Change message
      • Change targets who can see the message
    • You don't have to install this plugin unless other plugins require this
  • Require | 必要安裝
    None

  • ConVar | 指令
    • cfg/sourcemod/simple_chatprocessor.cfg
       // If 1, Display Survivor *DEAD* in chatbox
       simple_chatprocessor_survivor_dead "1"
      
       // If 1, Display Infected *DEAD* in chatbox
       simple_chatprocessor_infected_dead "0"
  • Command | 命令

    None

  • Apply to | 適用於

     L4D1
     L4D2
    
  • Related Plugin | 相關插件
    1. sm_regexfilter: Filter dirty words via Regular Expressions
      • 禁詞表,任何人打字說出髒話或敏感詞彙,字詞會被屏蔽、玩家禁言並處死,網路並非法外之地
    2. l4d_mute_player_list: Player can personally mute someone chat text and mic voice.
      • 玩家可以在個人列表上封鎖其他人的語音與聊天文字
    3. simple-chatcolors: Changes the colors of players chat based on config file.
      • 根據管理員或玩家身分修改聊天窗口的對話顏色
  • Changelog | 版本日誌
    • v1.8h (2024-8-3)

      • Update API
      • Add API OnChatMessage2_Post()
      • Change plugin name
    • v1.7h (2024-7-26)

      • Update API
    • v1.6h (2023-12-10)

      • Add Cvars to turn on/off DEAD(Infected), DEAD(Survivor) message
    • v1.5h (2023-11-19)

      • Fixed Crash "Unable to execute a new message, there is already one in progress"
    • v1.4h (2023-10-31)

      • Add Dead Player status when chat
    • v1.3h (2023-7-5)

      • Fixed Crash
    • v1.2h (2023-6-16)

      • Fixed error "Exception reported: Unable to end message, no message is in progress"
    • v1.1h (2023-6-15)

      • L4D1/2 Only
      • Add chinese translation
    • v1.0h (2023-3-12)

      • Delete API OnChatMessage(int &author, ArrayList recipients, char[] name, char[] message)
      • Add API OnChatMessage2()
      • Fixed translation file error in l4d1/l4d2
    • v2.3.0

    • 2.0.2


中文說明

輔助插件,控制玩家在聊天窗口輸入的文字與顏色

  • 原理

    • 這插件只是一個輔助插件,能夠讓其他的插件攔截玩家在聊天窗口輸入的文字,譬如
      • 改變聊天玩家的名子
      • 改變訊息文字
      • 改變文字顏色
      • 改變接收到聊天的對象
    • 等其他插件需要的時候再安裝
  • 指令中文介紹 (點我展開)
    • cfg/sourcemod/simple_chatprocessor.cfg
       // 為1時,死亡的倖存者玩家說話時顯示*DEAD*
       simple_chatprocessor_survivor_dead "1"
      
       // 為1時,死亡的特感玩家說話時顯示*DEAD*
       simple_chatprocessor_infected_dead "0"