服务器管理

在游戏中时,可以在正在运行的服务器上执行许多命令。使用这些命令,您可以控制服务器的运行方式。

有些命令可供所有玩家,甚至普通玩家使用-这些命令称为 公共命令。所有其他命令都要求服务器管理员为玩家分配特定的访问级别。

为了输入命令,您必须打开控制台。 在英文键盘上,你可以通过双击键盘上的 “~” 键来访问控制台。 如果这对你无效,一个简单的解决办法是按你的键盘上的 'J',然后按退格键删除当前命令 “ChatToAll”。 您可以在控制台中通过按键盘 ↑上 重复旧的命令。使用键盘 ↑上 ↓下键 还可以滚动,按 ↵回车 执行命令。

权限列表

权限

描述

changemap

更换/预设地图

pause

暂停游戏

cheat

使用作弊命令

private

设置服务器密码

balance

忽略服务器阵营平衡

chat

管理员聊天/服务器公告

kick

踢出玩家

ban

封禁玩家

config

更改服务器配置

cameraman

摄影机 - 旁观者视角

immunity

无法被 踢出/封禁

manageserver

关闭服务器

reserve

预留位

debug

调试

teamchange

忽略更换阵营时间限制

featuretest

特性试验 如:AdminCreateVehicle

forceteamchange

允许执行强制更换阵营命令

canseeadminchat

查看 管理员聊天/友军击杀/管理员加入 消息

管理员命令

远程管理

权限

命令

描述

支持

kick

AdminKick <玩家昵称/SteamID> <踢出原因>

使用 玩家昵称/SteamID 将玩家踢出服务器 示例:Adminkick 玩家 故意TK

支持

kick

AdminKickById <玩家ID> <踢出原因>

使用 服务器分配的玩家ID 将玩家踢出服务器

支持

ban

AdminBan <玩家昵称/SteamID> <封禁时长> <封禁原因>

使用 玩家昵称/SteamID 封禁玩家 封禁时长:1d=1天、1M=1个月、24M=永久 示例:AdminBan 玩家 1M 攻击自家基地

支持

banA

AdminBanById <玩家ID> <封禁时长> <封禁原因>

使用 服务器分配的玩家ID 封禁玩家 封禁时长:1d=1天、1M=1个月、24M=永久 示例:AdminBanById 73 7d 使用BUG

支持

chat

AdminBroadcast <消息内容>

给服务器所有玩家发送公告消息

不支持

chat

ChatToAdmin <消息内容>

给服务器所有管理员发送消息

支持

pause

AdminEndMatch

结束本场游戏

不支持

pause

AdminPauseMatch

暂停战备时间

不支持

pause

AdminUnpauseMatch

继续战备时间

支持

changemap

AdminChangeMap <地图名>

立即更换地图

支持

changemap

AdminSetNextMap <地图名>

预设下一场游戏的地图

支持

config

AdminSetMaxNumPlayers <玩家数>

设置服务器最大玩家数量

支持

private

AdninSetServerPassword <密码>

设置服务器的密码,使用 “” 删除密码

支持

cheat

AdminSlomo <速度>

设置服务器时钟速度,正常速度为 1。 0.1 是正常速度的 10%,3.0 是正常速度的 3 倍。

支持

forceteamchange

AdminForceTeamChange <玩家昵称/SteamID>

使用 玩家昵称/SteamID 更改玩家阵营

支持

forceteamchange

AdminForceTeamChangeById <玩家ID>

使用 服务器分配的玩家ID 更换玩家阵营

不支持

cheat

AdminAlwaysValidPlacement <0>|<1>

关闭服务器部署规则

不支持

cheat

AdminDisableVehicleClaiming <0>|<1>

关闭服务器车辆刷新

不支持

cheat

AdminAllKitsAvailable <0>|<1>

关闭服务器选择兵种限制

不支持

debug

AdminNetTestStart

开始网络测试并将其显示到客户端日志

不支持

debug

AdminNetTestStop

停止网络测试并将其打印到客户端日志

支持

kick

AdminListDisconnectedPlayers

列出最近断开连接的玩家ID以及相关的玩家昵称与SteamID

不支持

featuretest

TraceViewToggle

对屏幕中心的任何对象进行跟踪,并显示该对象相关信息

不支持

featuretest

AdminCreateVehicle <车辆地址>

允许您在无许可证的服务器或本地服务器生成车辆 (有关更多信息,请参见“车辆生成命令”)

支持

kick

AdminDemoteCommander <玩家昵称>

使用 玩家昵称/SteamID 撤销指挥官(CMD)权限

支持

kick

AdminDemoteCommanderById <玩家ID>

使用 服务器分配的玩家ID 撤销指挥官(CMD)权限

支持

kick

AdminDisbandSquad <阵营ID=[1|2]> <小队ID>

解散指定队伍

支持

kick

AdminRemovePlayerFromSquad <玩家昵称>

使用 玩家昵称/SteamID 从小队中踢出玩家,但不踢出服务器

支持

kick

AdminRemovePlayerFromSquadById <玩家ID>

使用 玩家ID 从小队中踢出玩家

支持

kick

AdminWarn <玩家昵称/SteamID> <警告消息内容>

使用 玩家昵称/SteamID 警告玩家 (向玩家发送警告消息)

支持

kick

AdminWarnById <玩家ID> <警告消息内容>

使用 服务器分配的玩家ID 警告玩家 (向玩家发送警告消息)

不支持

debug

AdminForceNetUpdateOnClientSaturation <0>|<1>

If true, when a connection becomes saturated, all remaining actors that couldn’t complete replication will have ForceNetUpdate called on them

不支持

debug

AdminProfileServer <SecondsToProfileFor> <0>|<1>

Starts profiling on the server for a fixed length of time, after which the profiling data is saved to disk.

不支持

changemap

AdminSetRaasSeed <Seed>

Set the seed for raas maps that are traveled to after this match ends.

公共命令

命令

描述

ChangeTeams

更换阵营

ChangeTeamsWithId <阵营ID>

更换指定阵营 <1|2>

ChatToAll <消息内容>

全局聊天

ChatToTeam <消息内容>

阵营聊天

ChatToSquad <消息内容>

小队聊天

CreateRallyPoint

放置小队包

DisconnectToMenu

退出服务器

GiveUp

受伤后放弃救援

HighResShot <分辨率/倍数>

屏幕快照

JoinSquadWithName <队名>

使用 小队队名 加入小队

JoinSquadWithId <小队ID>

使用 小队ID 加入小队

LeaveSquad

离开小队

ListCommands <0>|<1>

显示出游戏中的所有命令

ListPermittedCommands <0>|<1>

显示出当前服务器所有允许的命令

ListPlayers

列出当前服务器所有玩家信息 玩家ID、SteamID、昵称、阵营ID、小队ID

ListSquads

列出当前服务器内所有小队信息

r.setres <分辨率>

更改屏幕分辨率, 例如:"r.setres 1920×1080"

Respawn

自杀重生

SetHudWidgetsEnabled

关闭/开启 UI显示 (0关/1开)

ShowCommandInfo <命令>

显示出命令的详细信息

ShowNextMap

询问服务器当前地图与下一张地图

SLInviteMember <昵称>

邀请成员加入您的小队,名字可以是部分的

stat FPS

显示 FPS

stat Unit

Draws game, draw, and gpu times on screen.

stat UnitGraph

Draws game, draw, and gpu times with an on-screen time graph.

TraceViewToggle

从屏幕中心到任何对象运行跟踪,并显示有关该对象的信息

旁观者视角

旁观者视角(通常也称为"旁观者摄像机"或"管理员[OP]视角"),是一种半自由移动的摄像机。

对于服务器管理员/比赛主持人,或者在录制战术小队视频时完全控制相机,这个功能非常有用。

您必须拥有 "cameraman" 权限才能使用旁观者视角,但在训练场所有玩家都可以使用旁观者视角。

载具生成命令

Minsk Motorbike [摩托车]

载具

命令

Minsk Motorbike Red

AdminCreateVehicle /Game/Vehicles/Minsk_motorbike/BP_Minsk.BP_minsk_C

Minsk Motorbike Black

AdminCreateVehicle /Game/Vehicles/Minsk_motorbike/BP_Minsk_black.BP_Minsk_black_C

Minsk Motorbike Blue

AdminCreateVehicle /Game/Vehicles/Minsk_motorbike/BP_Minsk_blue.BP_Minsk_blue_C

Minsk Motorbike Green

AdminCreateVehicle /Game/Vehicles/Minsk_motorbike/BP_Minsk_green.BP_Minsk_green_C

Technical

载具

命令

Technical Transport Insurgents

AdminCreateVehicle /Game/Vehicles/Technical/BP_Technical_Transport_INS.BP_Technical_Transport_INS_C

Technical DShK Insurgents

AdminCreateVehicle /Game/Vehicles/Technical/BP_Technical_Dshk_INS.BP_Technical_Dshk_INS_C

Technical DShK Shielded Insurgents

AdminCreateVehicle /Game/Vehicles/Technical/BP_Technical_Dshk_Shielded_INS.BP_Technical_Dshk_Shielded_INS_C

Technical DShK Shielded Armoured Insurgents

AdminCreateVehicle /Game/Vehicles/Technical/BP_Technical_Dshk_INS_Armoured.BP_Technical_Dshk_INS_Armoured_C

Technical Logi Insurgents

AdminCreateVehicle /Game/Vehicles/Technical/BP_Technical_Logi_INS.BP_Technical_Logi_INS_C

Technical SPG9 Insurgents

AdminCreateVehicle /Game/Vehicles/Technical/BP_Technical_SPG9_INS.BP_Technical_SPG9_INS_C

Technical SPG9 Armoured Insurgents

AdminCreateVehicle /Game/Vehicles/Technical/BP_Technical_SPG9_INS_Armoured.BP_Technical_SPG9_INS_Armoured_C

Technical UB32 Insurgents

AdminCreateVehicle /Game/Vehicles/Technical/BP_Technical_UB32_INS.BP_Technical_UB32_INS_C

Technical Transport Militia

AdminCreateVehicle /Game/Vehicles/Technical/BP_Technical_Transport_MIL.BP_Technical_Transport_MIL_C

Technical DShK Militia

AdminCreateVehicle /Game/Vehicles/Technical/BP_Technical_Dshk_MIL.BP_Technical_Dshk_MIL_C

Technical DShK Shielded Militia

AdminCreateVehicle /Game/Vehicles/Technical/BP_Technical_Dshk_Shielded_MIL.BP_Technical_Dshk_Shielded_MIL_C

Technical Logi Militia

AdminCreateVehicle /Game/Vehicles/Technical/BP_Technical_Logi_MIL.BP_Technical_Logi_MIL_C

Technical SPG9 Militia

AdminCreateVehicle /Game/Vehicles/Technical/BP_Technical_SPG9_MIL.BP_Technical_SPG9_MIL_C

Technical UB32 Militia

AdminCreateVehicle /Game/Vehicles/Technical/BP_Technical_UB32_MIL.BP_Technical_UB32_MIL_C

最后更新于

这有帮助吗?