basecomm:禁言禁麦
sm_gag / sm_mute / sm_silence 底层命令,SourceComms 在其上扩展。
SourceMod 官方通讯控制:文字禁言(gag)、语音禁麦(mute)、双禁(silence)。Anne 服由 sbpp_comms 在其上做入库和时长管理,网页封禁页可查记录。全部需要 ADMFLAG_CHAT。
文件位置
| 项目 | 路径 |
|---|---|
| 插件文件 | plugins/basecomm.smx |
| 源码 | addons/sourcemod/scripting/sourcemod/basecomm.sp |
命令一览
| 命令 | 类型 | 权限 | 说明 |
|---|---|---|---|
sm_gag | 管理员 | ADMFLAG_CHAT | sm_gag <player> - Removes a player's ability to use chat. |
sm_mute | 管理员 | ADMFLAG_CHAT | sm_mute <player> - Removes a player's ability to use voice. |
sm_silence | 管理员 | ADMFLAG_CHAT | sm_silence <player> - Removes a player's ability to use voice or chat. |
sm_ungag | 管理员 | ADMFLAG_CHAT | sm_ungag <player> - Restores a player's ability to use chat. |
sm_unmute | 管理员 | ADMFLAG_CHAT | sm_unmute <player> - Restores a player's ability to use voice. |
sm_unsilence | 管理员 | ADMFLAG_CHAT | sm_unsilence <player> - Restores a player's ability to use voice and chat. |
聊天中输入 !命令名(去掉 sm_ 前缀)等价于控制台命令。