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
命令描述分类类型默认权限
profile.profiling_fixed_invokes 0 = 关闭,1 = 每帧统计,2 = 按方法统计 profile 变量 0 管理员
profile.profiling_invokes 0 = 关闭,1 = 每帧统计,2 = 按方法统计 profile 变量 0 管理员
profile.profiling_lagspikes 记录导致卡顿峰值的传入 RPC 和控制台命令 profile 变量 False 管理员
profile.profiling_packets 记录每帧传入/传出数据包的类型 profile 变量 False 管理员
profile.profiling_ping Raknet 统计信息,0 = 关闭,2 = 按连接 profile 变量 0 管理员
profile.profiling_ping_interval 每秒刷新 raknet 统计信息的频率 profile 变量 1 管理员
profile.profiling_ping_per_frame profile 变量 30 管理员
profile.profiling_rcon 0 = 关闭,1 = 每帧计数,2 = 连接尝试,3 = 消息 profile 变量 0 管理员
profile.profiling_rcon_message_length 限制记录的 RCON 消息长度,防止分析器被大消息淹没 profile 变量 512 管理员
profile.profiling_work_queue 记录每帧 ObjectWorkQueues 的执行时间 profile 变量 False 管理员
profile.quiet 控制 perfsnapshot 命令是否发出聊天消息 profile 变量 False 管理员
profile.rcon_lagspike_threshold profile 变量 40 管理员
profile.rpc_lagspike_threshold profile 变量 40 管理员
profile.runtime_profiling 0 = 关闭,1 = 基础,2 = 全部。这会重置所有分析相关的 convar,但之后仍可修改 profile 变量 0 管理员
profile.runtime_profiling_interval profile 变量 60 管理员
profile.runtime_profiling_persist 启用以允许运行时分析在重启后保持 profile 变量 False 管理员
profile.runtime_profiling_pool_flush_interval 刷新池统计信息的频率(秒) profile 变量 300 管理员
profile.runtime_profiling_pooling 0 = 关闭,1 = 每 5 分钟刷新一次 profile 变量 0 管理员
profile.runtime_profiling_uploader_pooling 分析数据批量上传器是否应使用池 profile 变量 False 管理员
radiation.materialtoradsratio (自动生成)将辐射材质值转换为有效辐射伤害速率的倍率;数值越低,全局辐射强度越低 radiation 变量 0.0044 管理员
radiation.water_inventory_damage (自动生成)启用后,身处辐射区域的玩家,其物品栏中的物品会随时间被受辐射污染的水损坏 radiation 变量 True 管理员
radiation.water_loot_damage (自动生成)启用后,受辐射污染的水在受到足够辐射时会随时间损坏战利品容器 radiation 变量 True 管理员
rcon.banduration 对超过最大密码失败次数的 IP 封禁多久(秒)(默认:300 秒) rcon 变量 300 管理员
rcon.connectioncooldown 在允许同一地址再次建立 RCON 连接之前等待多久(秒)(默认:1 秒) rcon 变量 1 管理员
rcon.enablesubscriptions 为 true 时,允许 RCON 连接订阅服务器事件。这可能会影响性能,仅在需要时才使用。 rcon 变量 False 管理员
rcon.ip 监听 RCON 连接的 IP 地址 rcon 变量 管理员
rcon.logfailedattempts 记录失败的尝试和来自被封禁 IP 地址的尝试(默认:true) rcon 变量 True 管理员
rcon.maxconnections 允许连接到 RCON 服务器的总数。-1 表示禁用该行为。更改后需要重启服务器 rcon 变量 500 管理员
rcon.maxconnectionsperip 单个 IP 允许连接到 RCON 服务器的总数。-1 表示禁用该行为。更改后需要重启服务器 rcon 变量 5 管理员
rcon.maxpasswordfailures 密码失败多少次后封禁 RCON 客户端的 IP(默认:5) rcon 变量 5 管理员
rcon.permanentbanfailedips 永久封禁触发过多失败尝试的 IP(默认:false) rcon 变量 False 管理员
rcon.port 监听 RCON 连接的端口 rcon 变量 28016 管理员
rcon.print 为 true 时,RCON 命令会在控制台中输出 rcon 变量 False 管理员
rcon.web 设为 true 时使用 WebSocket RCON。设为 false 时使用旧版 Source 引擎 RCON。Source 引擎 RCON 已被弃用 rcon 变量 True 管理员
reclaimmanager.reclaim_expire_minutes (自动生成)未领取的 Softcore 死亡找回背包过期并销毁其内容物的时间(分钟) reclaimmanager 变量 120 管理员
relationshipmanager.contacts relationshipmanager 变量 True 管理员
relationshipmanager.forgetafterminutes (自动生成)未再见过的玩家的关系/联系人数据被遗忘并移除的时间(分钟) relationshipmanager 变量 960 管理员
relationshipmanager.maxplayerrelationships (自动生成)每名玩家可存储的最大关系条目(联系人)数量;达到上限时较旧的条目会被清除 relationshipmanager 变量 128 管理员
relationshipmanager.maxteamsize (自动生成)单个队伍允许的最大玩家数;0 = 队伍被禁用;运行时更改会更新所有活动队伍 relationshipmanager 变量 8 管理员
relationshipmanager.mugshotupdateinterval (自动生成)已知玩家的头像(联系人肖像)刷新尝试之间的间隔(秒) relationshipmanager 变量 300 管理员
relationshipmanager.seendistance (自动生成)两名玩家之间要记录「见过」关系事件所需的距离(米) relationshipmanager 变量 10 管理员
relay.cfg_autoreconnect 启用后,WebSocket 连接断开时 Rust Relay 会自动尝试重连 relay 变量 True 管理员
relay.cfg_encryptpackets 设置发送到 Rust Relay 服务器的数据包是否加密,更改此项将停止 Rust Relay 功能(使用 relay.restart 重启) relay 变量 False 管理员
relay.cfg_fakeplayer 启用后,Rust Relay 会生成一个虚假的隐形玩家,并只中继发送给该玩家的数据包;更改此项将停止 Rust Relay 功能(使用 relay.restart 重启) relay 变量 False 管理员
relay.cfg_filtermode 设置 RPC 消息的过滤模式(0 = 忽略,1 = 全部允许,2 = 允许白名单) relay 变量 0 管理员
relay.cfg_maxreconnects 在重连窗口内允许的最大重连尝试次数,超过后中继将永久关闭 relay 变量 5 管理员
relay.cfg_reconnectdelay 重连尝试之间的延迟(秒) relay 变量 5 管理员
relay.cfg_reconnectwindow 用于追踪重连尝试的滚动窗口(分钟) relay 变量 30 管理员
relay.cfg_sendconsoledata 启用后,控制台数据将发送到中继服务器 relay 变量 True 管理员
relay.cfg_sendvoicedata 启用后,语音数据将发送到中继服务器 relay 变量 False 管理员

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.