跳到主要内容

配置参考

适用读者:服主、整合包维护者和需要调整 HUD/比赛规则的玩家。配置由 BOConfig 注册为 Forge CLIENT 与 COMMON 两类。

客户端配置​

分组/键类型默认值范围作用
kill message.hudEnabledbooleantrue—显示击杀消息
kill message.hudPositionint21..4消息位置
kill message.messageShowTimeint51..60单条显示时间
kill message.maxShowCountint51..10同时显示数
kill icon.killIconEnabledbooleantrue—显示击杀图标
spectator.spectatorBombHudEnabledbooleantrue—旁观 C4 引信 HUD
spectator.spectatorRosterEnabledbooleantrue—旁观者名单

通用配置​

分组/键类型默认值范围/枚举作用
step sound.teammateMuffledStepVolumedouble0.050..10队友遮挡脚步音量
step sound.teammateStepVolumedouble0.150..10队友脚步音量
step sound.enemyMuffledStepVolumedouble0.40..10敌方遮挡脚步音量
step sound.enemyStepVolumedouble1.20..10敌方脚步音量
c4.Fuse Timeint8001..3200 tickC4 引信时长
ping.pingTtlSecondsint63..30 秒Ping 存活时间
ping.pingMaxDistancedouble25616..1024 格Ping 最大距离
inGameRules.keepInventorybooleantrue—死亡保留物品
inGameRules.immediateRespawnbooleantrue—立即重生
inGameRules.daylightCyclebooleanfalse—日夜循环
inGameRules.weatherCyclebooleanfalse—天气循环
inGameRules.mobSpawningbooleanfalse—自然生物生成
inGameRules.naturalRegenerationbooleanfalse—自然回血
inGameRules.hardDifficultybooleantrue—困难难度
web server.webServerEnabledbooleanfalse—Web 服务开关
web server.webServerPortint80801..65535Web 端口
overtime.overtimeModeenumVOTEVOTE/AUTO/DISABLED加时策略
overtime.overtimeStartMoneyint100000..100000加时起始资金
overtime.overtimeVoteThresholddouble0.60..1加时投票门槛
overtime.overtimeVoteSecondsint205..120 秒投票时长
overtime.overtimeMaxSegmentsint00..10最大加时段,0 无限
vote.voteTimeoutPolicyenumFAILFAIL/PASS_IF_MAJORITY超时策略
vote.voteAbstentionPolicyenumCOUNT_AS_NOCOUNT_AS_NO/IGNORE弃权计票
vote.unpauseVoteThresholddouble1.00.5..1取消暂停门槛

地图自身的 winnerRound、roundTimeLimit、startEconomy、c4InstantKillRadius 等不是全局 Forge 键,而是地图设置;使用地图设置界面或 /fpsm map ... settings 修改。

独立的地图转场配置​

半场转场不由 BOConfig 注册,而是按世界保存在 serverconfig/blockoffensive-halftime-intro.json。其中每个 cs:<地图 ID> 可以分别保存 T/CT 的区域、yaw、pitch、durationTicks、startEnabled 和 switchEnabled。优先使用 /fpsm blockoffensive halftime ... 命令写入;完整流程和 JSON 示例见配置半场转场动画。

修改后重启对应端,进入测试地图验证 Ping、C4、旁观 HUD、投票和回合结束流程。