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
| 命令 | 描述 | 分类 | 类型 | 默认 | 权限 | |
|---|---|---|---|---|---|---|
injure |
使玩家受伤 | 管理员 | 无 | 是 | ||
inventory.addownership |
为物品添加所有权 | inventory | 服务器 | 管理员 | ||
inventory.clearinventory |
清空目标玩家的物品栏。例如 inventory.clearInventory jim。可将容器名称作为参数:--belt --wear --backpack | inventory | 服务器 | 管理员 | ||
inventory.convertownership |
减少物品的所有权,以便添加新的所有权 | inventory | 服务器 | 管理员 | ||
inventory.copyto |
将玩家的物品栏复制给其面前的玩家 | inventory | 服务器 | 管理员 | ||
inventory.deleteloadout |
(自动生成)从服务器删除指定名称的管理员装备文件;需要管理员或开发者权限;装备名称作为第一个参数传入 | inventory | 服务器 | 管理员 | ||
inventory.deployloadout |
向目标玩家部署指定装备。例如 inventory.deployLoadout testloadout jim | inventory | 服务器 | 管理员 | ||
inventory.deployloadoutinrange |
向半径内的玩家部署装备,例如 inventory.deployLoadoutInRange testloadout 30 | inventory | 服务器 | 管理员 | ||
inventory.equipslot |
(自动生成)为调用管理员或指定目标玩家装备给定槽位索引的腰带/快捷栏物品;需要管理员或开发者权限 | inventory | 服务器 | 管理员 | ||
inventory.equipslottarget |
(自动生成)为管理员当前注视的玩家装备给定索引的腰带/快捷栏槽位;需要管理员或开发者权限 | inventory | 服务器 | 管理员 | ||
inventory.give |
{item} {amount} {condition} {skin} {container} {slot} | inventory | 服务器 | 管理员 | ||
inventory.giveall |
(自动生成)向服务器上当前所有已连接的玩家发放指定物品(按部分名称);在聊天中广播是谁执行了该命令 | inventory | 服务器 | 管理员 | ||
inventory.givearm |
{itemid} {amount} | inventory | 服务器 | 管理员 | ||
inventory.givebp |
(自动生成)给予调用玩家指定物品(按部分名称)的蓝图;除非接收者是开发者,否则会在聊天中广播这次赠送 | inventory | 服务器 | 管理员 | ||
inventory.giveequip |
{item} | inventory | 服务器 | 管理员 | ||
inventory.giveid |
{itemid} {amount} | inventory | 服务器 | 管理员 | ||
inventory.giveto |
{item} {player} {amount} {skin} | inventory | 服务器 | 管理员 | ||
inventory.listloadouts |
输出所有已保存的物品栏装备 | inventory | 服务器 | 管理员 | ||
inventory.loadoutui_requestloadoutlist |
(自动生成)从磁盘读取已保存的管理员装备列表,并以 JSON 数组形式发送到请求玩家的客户端,用于在装备界面中显示 | inventory | 服务器 | 管理员 | ||
inventory.pipetteid |
(自动生成)检查调用玩家的物品栏中是否有指定物品 ID 及给定皮肤 ID 的物品;用于在服务器端验证吸管/皮肤匹配 | inventory | 服务器 | 管理员 | ||
inventory.reduceownership |
减少物品的所有权,以便添加新的所有权 | inventory | 服务器 | 管理员 | ||
inventory.resetbp |
(自动生成)将指定玩家(按名称/Steam ID)的所有蓝图重置为默认解锁集合,移除所有已学会的配方 | inventory | 服务器 | 管理员 | ||
inventory.saveloadout |
保存调用玩家当前装备的配置。例如 inventory.saveLoadout loaduoutname | inventory | 服务器 | 管理员 | ||
inventory.set_item_image |
(自动生成)设置调用玩家当前手持物品的自定义图标图片 ID;该图片 ID 指向服务器端存储的、用于自定义物品图标的图片 | inventory | 服务器 | 管理员 | ||
inventory.setwornarmorslots |
让所穿戴的物品拥有所支持的最大护甲槽位 | inventory | 服务器 | 管理员 | ||
inventory.unlockall |
(自动生成)为指定玩家(按名称/Steam ID)解锁所有可制作的蓝图,使其立即获得所有配方 | inventory | 服务器 | 管理员 | ||
ioentity.debugqueue |
(自动生成)输出所有 IO 实体处理队列的当前状态,显示队列类型和待处理实体数量;仅限管理员 | ioentity | 服务器 | 管理员 | ||
kick Steam64ID/playerName <reason> |
将玩家踢出服务器,可附带原因,他们可以立即重新加入 | 管理员 | 无 | 是 | ||
killplayer Steam64ID/playerName |
杀死输入的玩家,使其回到重生界面(使用 steam64ID 更精确) | 管理员 | 无 | 是 | ||
metaldetectorsource.servercountsources |
metaldetectorsource | 服务器 | 管理员 | |||
moderatorid Steam64ID |
将玩家设为第二高的管理员权限级别(1) | 管理员 | 无 | 是 | ||
mute Steam64ID/playerName |
非管理员使用时在本地禁言该玩家,使你在聊天中看不到其消息;管理员使用时则对服务器全局禁言该玩家 | 通用 | 无 | 取决于本地或全局静音功能 | ||
navstress.bench |
运行完整的基准测试套件:参数 agentCount(默认 200) | navstress | 服务器 | 管理员 | ||
navstress.benchresults |
输出上一次基准测试的结果 | navstress | 服务器 | 管理员 | ||
navstress.build_env |
构建合成的压力测试场地:参数 centerX centerZ halfExtent(默认 -140 140 50) | navstress | 服务器 | 管理员 | ||
navstress.chase |
追逐滑动的虚拟目标:参数 targetSpeed setDestinationHz | navstress | 服务器 | 管理员 | ||
navstress.clear |
移除假人并删除场地 | navstress | 服务器 | 管理员 | ||
navstress.envreport |
输出上一次环境构建报告 | navstress | 服务器 | 管理员 | ||
navstress.idle |
停止下发目的地并重置路径 | navstress | 服务器 | 管理员 | ||
navstress.killforeign |
杀死所有带有 RustNavMeshAgent 且不是 navstress 假人的 NPC | navstress | 服务器 | 管理员 | ||
navstress.rebuildstorm |
在场地下进行异步瓦片重建:参数 rebuildsPerSecond(0 表示停止) | navstress | 服务器 | 管理员 | ||
navstress.refcompare |
重放场景并与录制内容比较:参数 name | navstress | 服务器 | 管理员 | ||
navstress.refrecord |
录制参考轨迹场景:参数 name | navstress | 服务器 | 管理员 | ||
navstress.refresults |
输出上一次 refpath 的结果 | navstress | 服务器 | 管理员 | ||
navstress.setmode |
在转向模式与普通模式之间切换所有假人,无需重新生成 | navstress | 服务器 | 管理员 | ||
navstress.spawn |
生成精简版狼:参数 count mode(steering|normal) canSwim canOpenDoors | navstress | 服务器 | 管理员 | ||
navstress.stats |
输出并重置刷新统计信息 | navstress | 服务器 | 管理员 | ||
navstress.wander |
永远随机目的地:参数 intervalSeconds unreachableFraction | navstress | 服务器 | 管理员 | ||
networkprofiler.serverprofile |
networkprofiler.serverprofile [分析时长(秒), min(0.1), max(1000), float] | networkprofiler | 服务器 | 管理员 | ||
nexus.broadcast_ping |
(自动生成)同时向集群中所有 Nexus 服务器发送 ping,并输出各自的往返时间 | nexus | 服务器 | 管理员 |
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.