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
命令描述分类类型默认权限
playerboat.sailpositioninfluence 0 - 1 playerboat 变量 0.1 管理员
playerboat.usedestructiblewreckstability playerboat 变量 True 管理员
playerboat.velocitymax playerboat 变量 15 管理员
player.dropbackpackondeath (自动生成)启用后,玩家死亡时会将背包作为战利品袋掉落;禁用则防止死亡时出现背包战利品 player 变量 True 管理员
player.dropbackpackondowned (自动生成)启用后,玩家倒地/受伤时会掉落背包;禁用则背包保留在身上直到死亡或恢复 player 变量 True 管理员
playerhelicopter.insidedecayminutes 玩家直升机在室内多久后会失去全部生命值 playerhelicopter 变量 2880 管理员
playerhelicopter.outsidedecayminutes 玩家直升机在室外多久后会失去全部生命值 playerhelicopter 变量 480 管理员
playerinventory.directionaldropenabled (自动生成)启用后,玩家可以通过看向期望的方向来定向丢弃物品;禁用则恢复为仅受重力影响的丢弃 playerinventory 变量 True 管理员
playerinventory.forcebirthday (自动生成)启用后,无论实际日期如何,都强制生日活动状态为 true;覆盖 IsBirthday() 的日历检查,用于测试 playerinventory 变量 False 管理员
player.keepteaondeath (自动生成)启用后,玩家死亡时身上生效的茶/增益效果会延续到下一条命,而不是丢失 player 变量 False 管理员
player.tickrate_cl player 变量 32 管理员
player.tickrate_sv player 变量 16 管理员
player.woundforever 爬行状态是否会过期 player 变量 False 管理员
polarbear.population 服务器上活跃的数量,每平方公里 polarbear 变量 1 管理员
pooltable.debug_pool pooltable 变量 False 管理员
pooltable.idle_reset_seconds (自动生成)任何人都可以重置超过这么多秒无人互动的台球游戏 pooltable 变量 180 管理员
pooltable.physics_update_rate pooltable 变量 64 管理员
pooltable.show_tooltips 显示台球游戏的提示通知 pooltable 变量 False 管理员
pooltable.watch_after_shot_seconds (自动生成)射击者保持坐姿观看自己射击后,被强制下来之前的秒数 pooltable 变量 2 管理员
powergrid.enabled powergrid 变量 True 管理员
powergrid.fusedecayhighpop 在线玩家数量达到或高于此值时,发电厂的重型保险丝按正常速率腐朽。参见 fuseDecayLowPop。 powergrid 变量 100 管理员
powergrid.fusedecaylowpop 在线玩家数量达到或低于此值时,发电厂的重型保险丝按正常速率的 fuseDecayLowPopScale 倍腐朽。腐朽速率倍数随人数增加线性上升,到 fuseDecayHighPop 时回到 1 倍。 powergrid 变量 10 管理员
powergrid.fusedecaylowpopscale 在线玩家数量达到或低于 fuseDecayLowPop 时,发电厂重型保险丝腐朽速率的倍数。为 1 时,玩家数量对腐朽没有影响。 powergrid 变量 0.25 管理员
powergrid.fusefulldecaycount 发电厂中状态最差的重型保险丝有多少个以全速率腐朽(在 fuseLifespanSeconds 后烧毁)。其他所有已插入的保险丝则缓慢腐朽。如果为 0,则没有保险丝会以全速率腐朽。 powergrid 变量 3 管理员
powergrid.fuselifespanseconds 插在发电厂中的重型保险丝以全速率腐朽时的持续时间(发电厂中最差的保险丝能撑多久)。如果 <= 0,则保险丝永远不会耗尽。 powergrid 变量 9600 管理员
powergrid.fuseslowdecayfractionmax 不属于最差 fuseFullDecayCount 个的重型保险丝所适用的全腐朽速率最大比例(0-1)。参见 fuseSlowDecayFractionMin。 powergrid 变量 0.12 管理员
powergrid.fuseslowdecayfractionmin 不属于最差 fuseFullDecayCount 个的重型保险丝所适用的全腐朽速率最小比例(0-1)。每个保险丝会在 fuseSlowDecayFractionMin 和 fuseSlowDecayFractionMax 之间随机抽取自己的比例,并在其生命周期内保持不变。 powergrid 变量 0.08 管理员
powergrid.greenrecyclerfullefficiencystage powergrid 变量 -1 管理员
powergrid.marketplacechargecapacity 无人机市场电力缓冲区的电量容量。市场从发电厂充电至此容量,并在发电厂停止供电时将其流失。 powergrid 变量 100 管理员
powergrid.marketplacechargeperfuse 无人机市场在发电厂插入至少 marketplaceMinimumFusesToCharge 个重型保险丝后,每插入一个重型保险丝每秒获得的电量。 powergrid 变量 0.01 管理员
powergrid.marketplacedrainrate 发电厂没有插入重型保险丝时,无人机市场每秒损失的电量。只要有一个保险丝就足以阻止流失。 powergrid 变量 0.05 管理员
powergrid.marketplaceminimumfusestocharge 无人机市场开始充电之前,需要在发电厂插入的重型保险丝数量。低于此数量时,它只保持现有电量而不会继续充电。 powergrid 变量 4 管理员
powergrid.marketplacerequiredchargefraction 无人机市场需要充入其容量的多少比例(0-1)才能接受订单。这同时决定了冷启动的市场需要多久才能上线,以及满电的市场在发电厂断电后还能运行多久。 powergrid 变量 0.5 管理员
powergrid.powerlinebasepoweroutput 发电厂中插入 1 个重型保险丝时电线杆的起始功率输出。 powergrid 变量 5 管理员
powergrid.powerlinemaxpoweroutput 发电厂中插满所有可能的重型保险丝时,电线杆的功率输出。 powergrid 变量 50 管理员
powergrid.simulatepowerplantfuses powergrid 变量 0 管理员
powergrid.stagechangeworkqueuebudget 每帧用于通知电网实体阶段变更的最大时间(毫秒)。 powergrid 变量 0.1 管理员
powergrid.stagechangeworkqueuedelaybetweenjobs 每个实体被通知电网阶段变更之间等待的时间(秒)。数值越高,所有实体收到阶段变更通知所需的时间越长。实体可通过 stageChangeWorkQueueGroupJobsDistance 跳过这一等待 powergrid 变量 0 管理员
powergrid.stagechangeworkqueuegroupjobsdistance 如果某电网实体与本帧第一个收到阶段变更更新的电网实体距离在此范围内,则该实体也会收到更新(跳过 stageChangeWorkQueueTimeBetweenJobs) powergrid 变量 20 管理员
profile.command_lagspike_threshold profile 变量 40 管理员
profile.exportintervals (自动生成)服务器分析器数据自动导出到磁盘的间隔(秒);数值越低,快照越频繁,但 I/O 开销越高 profile 变量 1800 管理员
profile.immediatemodeenabled (自动生成)启用后,服务器原生分析器以即时模式运行,捕获每一帧而不是采样;更准确但开销更高 profile 变量 True 管理员
profile.notifyonmainalloccount (自动生成)分析器通知的主线程每周期分配次数阈值;0 = 禁用;有助于隔离主线程的 GC 压力 profile 变量 0 管理员
profile.notifyonmainmemkb (自动生成)分析器通知的主线程内存使用阈值(KB);0 = 禁用 profile 变量 0 管理员
profile.notifyontotalalloccount (自动生成)原生持续分析器触发通知的分配次数阈值(每个分析器周期);适用于检测意外的分配峰值 profile 变量 16000 管理员
profile.notifyontotalmemkb (自动生成)托管内存总量超过该阈值(KB)时,原生分析器触发通知;有助于检测服务器长时间运行时的内存泄漏 profile 变量 12288 管理员
profile.notifyonworkeralloccount (自动生成)分析器通知的工作线程每周期分配次数阈值;0 = 禁用;有助于检测后台任务的 GC 压力 profile 变量 0 管理员
profile.notifyonworkermemkb (自动生成)分析器通知的工作线程内存使用阈值(KB);0 = 禁用 profile 变量 0 管理员
profile.profiling_entities 0 = 关闭,1 = 生成/杀死,2 = 按实体统计生成/杀死,3 = 每 '5 min' 计数一次 profile 变量 0 管理员
profile.profiling_entity_count_interval 统计整个服务器所有实体的频率 profile 变量 300 管理员

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.