Rust Server Variables

give 物品列表 →

用于 F1 菜单或 RCON 的控制台命令。来源:社区维护的 Rust 自身生成的命令元数据导出——请将其视为有用的参考,而非详尽无遗的清单。

Server configuration variables (convars) for server owners: set them in server.cfg, from the F1 console as an admin, or over RCON. Each shows its default value.

按游戏默认值说明:部落积分设置 (clan.*) · 马匹设置 (ridablehorse.*) · 事件计时器

命令数:1,668
命令描述分类类型默认权限
frankensteinpet.decayminutes Frankenstein 宠物在不受控制且未睡在台上时多久会死亡 frankensteinpet 变量 180 管理员
fsmcomponent.framebudgetms 每帧在 AI 的 FSM 上花费多少毫秒 fsmcomponent 变量 0.5 管理员
fsmcomponent.maxrefreshintervalseconds fsmcomponent 变量 0.5 管理员
fsmcomponent.minrefreshintervalseconds fsmcomponent 变量 0 管理员
gamemodesoftcore.allow_tc_corpse_no_building gamemodesoftcore 变量 True 管理员
gamemodesoftcore.gather_rate (自动生成)Softcore 模式下从矿石、树木、原木、野生植物和动物获得资源的全局倍率;1.0 = 默认,2.0 = 双倍产量 gamemodesoftcore 变量 2 管理员
gamemodesoftcore.reclaim_building_auth (自动生成)启用后,即使玩家死在自己已授权的基地内,物品也会保留在找回背包中 gamemodesoftcore 变量 False 管理员
gamemodesoftcore.reclaim_fraction_belt (自动生成)在 Softcore 死亡找回背包中保留的快捷栏物品比例;默认 0.5(50%) gamemodesoftcore 变量 0.5 管理员
gamemodesoftcore.reclaim_fraction_main (自动生成)在 Softcore 死亡找回背包中保留的主物品栏物品比例;默认 0.5(50%) gamemodesoftcore 变量 0.5 管理员
gamemodesoftcore.reclaim_fraction_wear (自动生成)在 Softcore 死亡找回背包中保留的衣物/护甲物品比例;默认 1.0(100%) gamemodesoftcore 变量 1 管理员
gamemodesoftcore.reclaim_suicide (自动生成)启用后,即使玩家是自杀死亡(F1 自杀),物品也会保留在找回背包中 gamemodesoftcore 变量 False 管理员
gamephysics.defaultmaxresultsperquery 每条命令收集多少条结果 - 请勿设置得太低,否则可能漏掉结果 gamephysics 变量 48 管理员
global.allowadminui 控制是否向管理员显示游戏内管理界面 global 变量 True 管理员
global.disablebagdropping 禁用尸体超时消失后出现的背包 global 变量 False 管理员
global.legacymonumentnotifications 强制使用旧的地标事件通知行为(界面弹窗,无音效) global 变量 False 管理员
global.maxspraysperplayer 如果玩家喷涂数量超过此值,最早的喷漆将被销毁。0 表示禁用 global 变量 40 管理员
global.showbotsinplayerlist 在管理界面玩家列表中包含机器人(仅用于调试) global 变量 False 管理员
global.sprayduration 喷漆持续的基础时间(秒) global 变量 10800 管理员
global.sprayoutofauthmultiplier 当喷漆不在喷涂者的授权范围内时,应用于 SprayDuration 的倍率(不能超过 1f) global 变量 0.5 管理员
global.updatenetworkpositionwithdebugcamerawhilespectating (自动生成)为 true 时,观战期间服务器的网络位置会更新为与调试相机的世界位置一致;适用于从观战视角测试依赖位置的服务器逻辑 global 变量 False 管理员
growableentity.framebudgetms growableentity 变量 0.25 管理员
guntrap.gun_trap_budget_ms 每帧用于目标扫描的毫秒数 guntrap 变量 0.5 管理员
hackablelockedcrate.decayseconds 在没有任何黑入尝试的情况下,箱子多少秒后会被销毁 hackablelockedcrate 变量 7200 管理员
hackablelockedcrate.requiredhackseconds 箱子解锁需要多少秒 hackablelockedcrate 变量 900 管理员
halloweendungeon.lifetime 每个活动地牢在消失前应持续多久 halloweendungeon 变量 600 管理员
halloweendungeon.population 服务器上活跃的数量 halloweendungeon 变量 0 管理员
halloween.enabled (自动生成)在服务器上启用万圣节活动,激活万圣节主题的战利品刷新、NPC 变体和活动专属机制 halloween 变量 False 管理员
halloween.murdererpopulation 服务器上活跃的数量,每平方公里 halloween 变量 0 管理员
halloween.scarecrow_beancan_vs_player_dmg_modifier 豆罐头爆炸对玩家造成的伤害修正(默认:0.1)。 halloween 变量 0.1 管理员
halloween.scarecrow_body_dmg_modifier 稻草人身体受到伤害的修正系数。(默认:0.25) halloween 变量 0.25 管理员
halloween.scarecrow_chase_stopping_distance 追击目标时所设目的地的停止距离(默认:0.5) halloween 变量 0.5 管理员
halloween.scarecrowpopulation 服务器上活跃的数量,每平方公里 halloween 变量 0 管理员
halloween.scarecrows_throw_beancans 稻草人可以投掷豆罐头(默认:true)。 halloween 变量 True 管理员
halloween.scarecrow_throw_beancan_global_delay 服务器上稻草人每次投掷豆罐头之间的全局延迟(默认:8 秒)。 halloween 变量 8 管理员
handcuffs.maxconditionrepairlossonpush (自动生成)每次推搡尝试所造成的手铐耐久损失的最大比例;在 0.4 时,每次挣脱推搡手铐最多损失 40% 的耐久 handcuffs 变量 0.4 管理员
handcuffs.restrainedpushdamage (自动生成)被束缚(戴手铐)的玩家尝试推搡或挣脱时受到的伤害;默认 5 handcuffs 变量 5 管理员
hbhfsensor.debugdraw 启用后,广播 HBHFSensor 可见性检查的调试绘制(眼睛位置、前方、范围、每名玩家的视线射线)。 hbhfsensor 变量 False 管理员
heli.bulletaccuracy (自动生成)巡逻直升机机枪散布的锥角(度);数值越高,直升机越不准 heli 变量 2 管理员
heli.bulletdamagescale (自动生成)应用于巡逻直升机造成的所有子弹伤害的倍率;1.0 = 正常,2.0 = 双倍伤害 heli 变量 1 管理员
heli.guns (自动生成)巡逻直升机上启用的机枪挂点数量;设为 0 可禁用其机枪而不使其消失 heli 变量 1 管理员
heli.lifetimeminutes (自动生成)巡逻直升机自毁前在空中停留的分钟数;默认 30 分钟 heli 变量 30 管理员
horse.population 服务器上活跃的数量,每平方公里 horse 变量 0 管理员
hotairballoon.minimumaltitudeterrain hotairballoon 变量 25 管理员
hotairballoon.outsidedecayminutes HAB 在室外多久后会失去全部生命值 hotairballoon 变量 180 管理员
hotairballoon.population 服务器上活跃的数量 hotairballoon 变量 1 管理员
hotairballoon.serviceceiling hotairballoon 变量 175 管理员
inventory.disableattirelimitations 禁用所有服装限制,使 NPC 服装和无效的重叠部分也能被装备 inventory 变量 False 管理员
inventory.stackable_item_ownership (自动生成)启用后,对可堆叠物品也应用所有权追踪;因性能开销默认禁用;服务器可启用以进行完整的所有权审计 inventory 变量 False 管理员
ioentity.allow_on_boats 允许在玩家船只和拖船上部署和使用 IO 实体。 ioentity 变量 True 管理员
ioentity.backtracking (自动生成)每个周期允许回溯并重新处理已更改实体的 IO 更新次数;数值越高,信号传播越快 ioentity 变量 8 管理员

Server configuration variables (convars) for server owners: set them in server.cfg, from the F1 console as an admin, or over RCON. Each shows its default value. Search by name, description or category; every row has a copy button.

常见问题

Press F1 in game. Type a command and press Enter; press F1 again to close it.

A community-maintained export of Rust's own generated command metadata. Commands change with game updates, so treat it as a helpful reference rather than an exhaustive one.