插件开发

playermanagement:玩家/队伍调度

管理员换边、换人、平衡队伍的调度工具。

管理员调度工具:把玩家移到指定队伍(sm_swap)、两队互换(sm_swapteams)、拉观战等,处理比赛人员调整。

文件位置

项目路径
插件文件plugins/optional/playermanagement.smx
源码addons/sourcemod/scripting/optional/playermanagement.sp
当前版本7.1.3

命令一览

命令类型权限说明
sm_fixbots管理员ADMFLAG_BANsm_fixbots - Spawns survivor bots to match survivor_limit
sm_s玩家/控制台-Moves you to the spectator team
sm_spec玩家/控制台-Moves you to the spectator team
sm_spectate玩家/控制台-Moves you to the spectator team
sm_swap管理员ADMFLAG_KICKsm_swap <player1> [player2] ... [playerN] - swap all listed players to opposite teams
sm_swapteams管理员ADMFLAG_KICKsm_swapteams - swap the players between both teams
sm_swapto管理员ADMFLAG_KICKsm_swapto [force] <teamnum> <player1> [player2] ... [playerN] - swap all listed players to <teamnum> (1,2, or 3)

聊天中输入 !命令名(去掉 sm_ 前缀)等价于控制台命令。