Rust Admin Commands
give 物品列表 →用于 F1 菜单或 RCON 的控制台命令。来源:社区维护的 Rust 自身生成的命令元数据导出——请将其视为有用的参考,而非详尽无遗的清单。
Commands that need admin rights on the server: moderation, teleporting, spawning items, spectating and running the server. Use them from the F1 console as an admin, or over RCON.
命令数:653
| 命令 | 描述 | 分类 | 类型 | 默认 | 权限 | |
|---|---|---|---|---|---|---|
debug.applypuzzleresettime |
(自动生成)将调试重置时间(秒)应用于场景中所有 PuzzleReset 对象,缩短其计时器以便快速测试 | debug | 服务器 | 管理员 | ||
debug.bench_io |
生成大量 IO 实体以使服务器卡顿 | debug | 服务器 | 管理员 | ||
debug.breakheld |
损坏当前手持物品 | debug | 服务器 | 管理员 | ||
debug.breakheld_almost |
让当前手持物品几乎损坏 | debug | 服务器 | 管理员 | ||
debug.breakitem |
损坏你物品栏中名称与传入字符串匹配的所有物品 | debug | 服务器 | 管理员 | ||
debug.breakshield |
损坏当前手持的盾牌 | debug | 服务器 | 管理员 | ||
debugcamera |
进入自由相机模式 | 管理员 | 无 | 是 | ||
debugcamera_unfreeze |
冻结 debugcamera 的相机位置,使你可以从固定视角移动你的玩家 | 管理员 | 无 | 是 | ||
debug.clearplayermodifiers |
(自动生成)移除调用玩家身上所有生效的修饰效果(增益/减益);适用于测试期间重置修饰状态 | debug | 服务器 | 管理员 | ||
debug.cleartutorialforplayer |
如果玩家因任何原因卡在教程中,此命令会清除岛屿并重置玩家(同时会杀死玩家) | debug | 服务器 | 管理员 | ||
debug.completemission |
(自动生成)完成调用玩家当前任务中所有未完成的目标,触发任务完成流程 | debug | 服务器 | 管理员 | ||
debug.completemissionstage |
debug | 服务器 | 管理员 | |||
debug.completetutorial |
(自动生成)通过触发岛屿完成回调,立即完成调用玩家的教程;绕过正常进度 | debug | 服务器 | 管理员 | ||
debug.console_print_color |
(自动生成)使用指定的 ConsoleColor 索引向服务器控制台输出消息;适用于测试彩色控制台输出 | debug | 服务器 | 管理员 | ||
debug.console_spam |
(自动生成)记录可配置数量、指定长度的测试消息;用于对控制台/日志性能进行压力测试并测量输出速度 | debug | 服务器 | 管理员 | ||
debug.conveyorstrictmodereport |
(自动生成)输出每个处于严格模式的工业传送带的世界坐标;有助于定位阻塞物品流动的传送带 | debug | 服务器 | 管理员 | ||
debug.deleteentitiesbyshortname |
<shortname>(可选:<radius>)- 删除具有给定预制体短名称的实体 | debug | 服务器 | 管理员 | ||
debug.deleteentitybyid |
按 ID 删除实体。支持多个参数 | debug | 服务器 | 管理员 | ||
debug.drink |
(自动生成)以可配置的速率为调用玩家增加指定数量的水分;适用于快速测试口渴相关机制 | debug | 服务器 | 管理员 | ||
debug.dropworlditems |
(自动生成)在调用玩家正前方将指定数量的给定物品短名称作为世界实体丢出;适用于测试物品物理 | debug | 服务器 | 管理员 | ||
debug.eat |
(自动生成)以可配置的速率为调用玩家增加指定数量的卡路里;适用于快速测试饥饿相关机制 | debug | 服务器 | 管理员 | ||
debug.emptytankermodule |
emptyTankerModule - 清空你正注视的模块化汽车的油罐模块内容 | debug | 服务器 | 管理员 | ||
debug.enable_player_movement |
(自动生成)向目标玩家发送客户端 RPC,启用或禁用其移动控制;仅限管理员;适用于测试冻结/锁定机制 | debug | 服务器 | 管理员 | ||
debug.fillmounts |
fillmounts <radius> - 在半径内的每个乘坐点生成玩家并让其乘坐 | debug | 服务器 | 管理员 | ||
debug.filltankermodule |
fillTankerModule <item> - 用给定液体(如 water、water.salt、crude.oil)填充你正注视的模块化汽车的油罐模块 | debug | 服务器 | 管理员 | ||
debug.findgap |
查找间隙有多大。<maxDistance> <stepsize> <maxSize> <layer> | debug | 服务器 | 管理员 | ||
debug.flushgroup |
让你退出再重新进入当前网络组,从而删除并重新下载你 PVS 中的所有实体 | debug | 服务器 | 管理员 | ||
debug.foodspoilingdeducttimehours |
从服务器上所有可腐败食物中扣除给定小时数 | debug | 服务器 | 管理员 | ||
debug.foodspoilinginventoryhours |
将给定小时数应用于玩家物品栏中的所有食物 | debug | 服务器 | 管理员 | ||
debug.foodspoilingspoilall |
使服务器上所有食物腐败 | debug | 服务器 | 管理员 | ||
debug.forcechickensspawnegg |
(自动生成)强制调用玩家给定半径内的所有鸡立即下蛋;适用于测试鸡蛋掉落和收集逻辑 | debug | 服务器 | 管理员 | ||
debug.heal |
要在玩家倒地时禁用救起,请将 --no-recover 作为第一个参数传入。 | debug | 服务器 | 管理员 | ||
debug.hurt |
(自动生成)对调用玩家造成指定量的子弹伤害;可选指定骨骼名称以测试各骨骼的受击反应 | debug | 服务器 | 管理员 | ||
debug.invis |
让管理员隐身 | debug | 服务器 | 管理员 | ||
debug.printgrouplayer |
(自动生成)输出调用玩家所在位置的网络可见性层(地表、隧道、水下等);有助于调试基于层的网络组分配 | debug | 服务器 | 管理员 | ||
debug.printgroups |
(自动生成)将所有服务器实体的网络组 ID 和预制体名称记录到控制台;适用于调试网络可见性和组分配 | debug | 服务器 | 管理员 | ||
debug.printmonumentblocker |
输出离你最近的地标屏障的生命值和腐朽状态。可选参数:搜索范围(米,默认 100) | debug | 服务器 | 管理员 | ||
debug.print_topologies |
输出你所在位置的地形拓扑 | debug | 服务器 | 管理员 | ||
debug.puzzlereset |
重置所有谜题。可选提供一个数字,仅重置该半径内的谜题。 | debug | 服务器 | 管理员 | ||
debug.puzzleresetinfo |
(自动生成)输出调用玩家当前所在 PuzzleReset 的详细调试信息,包括计时器状态和依赖状态 | debug | 服务器 | 管理员 | ||
debug.refillvitals |
补满目标玩家的生命体征。例如 debug.refillsvital jim - 留空则以自己为目标,可一次指定多名玩家。如果玩家受伤倒地会将其救起。要禁用此行为,请将 --no-recover 作为第一个参数传入。 | debug | 服务器 | 管理员 | ||
debug.refillvitalsall |
补满服务器上所有活跃玩家的生命体征。如果玩家受伤倒地会将其救起。要禁用此行为,请将 --no-recover 作为第一个参数传入。 | debug | 服务器 | 管理员 | ||
debug.removeoverlappingstaticspawnpoints |
(自动生成)扫描所有静态重生区域,杀死中心与另一个区域相距在 1 米以内的区域,消除重复的出生点 | debug | 服务器 | 管理员 | ||
debug.repair_inventory |
修理物品栏中的所有物品 | debug | 服务器 | 管理员 | ||
debug.resetsleepingbagtimers |
(自动生成)重置调用玩家所有睡袋的重生冷却计时器,可立即重新使用其全部睡袋 | debug | 服务器 | 管理员 | ||
debug.respawnvinetreesinradius |
(自动生成)在调用玩家给定半径内从树桩重生藤蔓树;报告重生数量以及被玩家阻挡的数量 | debug | 服务器 | 管理员 | ||
debug.setdamage |
(自动生成)对调用玩家或指定目标造成足够的子弹伤害,使其生命值降至指定值 | debug | 服务器 | 管理员 | ||
debug.setfood |
(自动生成)将调用玩家或指定目标玩家的卡路里值直接设为指定值 | debug | 服务器 | 管理员 | ||
debug.sethealth |
(自动生成)将调用玩家或指定目标玩家的生命值设为指定值;适用于测试低血量或死亡场景 | debug | 服务器 | 管理员 | ||
debug.setmaxhealth |
(自动生成)覆盖调用玩家或指定目标的最大生命值;传入 0 可重置为默认值 | debug | 服务器 | 管理员 |
Commands that need admin rights on the server: moderation, teleporting, spawning items, spectating and running the server. Use them from the F1 console as an admin, or over RCON. 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.