Rust Player Commands
give 物品列表 →用于 F1 菜单或 RCON 的控制台命令。来源:社区维护的 Rust 自身生成的命令元数据导出——请将其视为有用的参考,而非详尽无遗的清单。
Console commands any player can type into the F1 console on any server, no admin rights needed.
命令数:490
| 命令 | 描述 | 分类 | 类型 | 默认 | 权限 | |
|---|---|---|---|---|---|---|
entity.find_group |
(自动生成)以格式化表格列出属于给定网络组 ID 的所有联网实体;客户端上仅限管理员 | entity | 客户端 | |||
entity.find_id |
(自动生成)以格式化表格列出具有给定网络实体 ID 的联网实体;客户端上仅限管理员 | entity | 客户端 | |||
entity.find_parent |
(自动生成)以格式化表格列出以给定网络实体 ID 为父级的所有联网实体;客户端上仅限管理员 | entity | 客户端 | |||
entity.find_radius |
(自动生成)以格式化表格列出调用玩家给定半径(米)内的所有联网实体;客户端上仅限管理员 | entity | 客户端 | |||
entity.find_self |
(自动生成)以格式化表格列出调用玩家拥有的所有联网实体(按网络 ID 匹配);客户端上仅限管理员 | entity | 客户端 | |||
entity.find_status |
(自动生成)以格式化表格列出状态字符串包含给定过滤文本的所有联网实体;客户端上仅限管理员 | entity | 客户端 | |||
entity.spawn |
(自动生成)按预制体名称在给定的世界位置和方向生成一个服务器实体;返回生成的实体网络 ID | entity | 客户端 | |||
entity.spawnat |
spawnat <entityName> <worldPos> [worldRotationAngles] | entity | 客户端 | |||
entity.spawnhere |
spawnhere <entityName> [distance] [worldRotationAngles] | entity | 客户端 | |||
entity.spawnitem |
(自动生成)按物品短名称在给定的世界位置于服务器端生成一个掉落物品实体 | entity | 客户端 | |||
entity.spawnview |
在相机的位置和朝向生成实体 - spawnview <entityName> [distance] [worldRotationAngles] | entity | 客户端 | |||
entity.uploadsign |
设置牌子显示给定的 PNG 图片 | entity | 客户端 | |||
find |
返回与输入词匹配的命令的信息 | General | 无 | |||
fps |
返回当前每秒帧数。可在客户端和服务器上使用 | General | 无 | |||
fps.startlogging |
这会将你的 FPS 记录到文件中,调用 stoplogging 可停止记录 | fps | 客户端 | |||
fps.stoplogging |
(自动生成)停止用 fps.StartLogging 启动的 FPS 记录会话,并将收集到的帧数据写入磁盘 | fps | 客户端 | |||
gamemode.setteam |
gamemode | 服务器 | ||||
gametip.hidegametip |
(自动生成)隐藏 HUD 上的游戏提示元素,淡出时间为 1 秒;可从服务器调用 | gametip | 客户端 | |||
gametip.listgametips |
(自动生成)返回所有已注册游戏提示定义的数组,供在控制台中查看 | gametip | 客户端 | |||
gametip.showgametip |
(自动生成)使用游戏提示画布在 HUD 上显示一条游戏提示消息,淡入时间为 1 秒;可从服务器调用 | gametip | 客户端 | |||
gametip.showtoast |
在玩家屏幕上显示游戏提示 <style> <text> | gametip | 客户端 | |||
gametip.showtoast_translated |
在玩家屏幕上显示已翻译的游戏提示 <style> <key> <english> <overlay> <args> | gametip | 客户端 | |||
gc.alloc |
(自动生成)分配给定大小(默认 1 MB)的字节数组作为 GC 压力测试;适用于分析内存分配吞吐量 | gc | 客户端 | |||
gc.collect |
(自动生成)立即触发一次完整的托管垃圾回收;适用于大量分配后进行内存分析 | gc | 客户端 | |||
gc.unload |
(自动生成)调用 Resources.UnloadUnusedAssets() 卸载不再被任何对象引用的资源,释放内存和显存 | gc | 客户端 | |||
geolocation.geo_status |
输出当前 GeoLocation 状态 | geolocation | 客户端 | |||
geolocation.phrases_count |
输出已加载的国家短语数量 | geolocation | 客户端 | |||
geolocation.search |
模拟国家搜索查询并记录匹配结果 | geolocation | 客户端 | |||
geolocation.status |
输出当前 GeoLocation 状态 | geolocation | 客户端 | |||
geolocation.window_state |
输出 UI_CountrySelection 窗口状态 | geolocation | 客户端 | |||
gesture gestureName |
让你的玩家做出一个手势(wave/victory/shrug/thumbsup/chicken/hurry/whoa) | General | 无 | |||
global.addcctvcode |
向电脑站添加一个 CCTV 代码,运行命令时请注视该电脑站 | global | 客户端 | |||
global.adminui_receivecommands |
(自动生成)客户端处理程序,接收服务器发来的可编辑服务器 convar 列表并传给管理界面;由服务器调用客户端,不应手动调用 | global | 客户端 | |||
global.adminui_receiveplayerlist |
(自动生成)客户端处理程序,接收服务器发来的 JSON 玩家列表并传给管理界面;由服务器调用客户端,不应手动调用 | global | 客户端 | |||
global.adminui_receiveserverinfo |
(自动生成)客户端处理程序,接收服务器发来的序列化服务器信息并传给管理界面;由服务器调用客户端,不应手动调用 | global | 客户端 | |||
global.adminui_receiveugclist |
(自动生成)客户端处理程序,接收服务器发来的序列化 UGC 实体列表并传给管理界面;由服务器调用客户端,不应手动调用 | global | 客户端 | |||
global.clearcctvcodes |
清除电脑站上的所有 CCTV 代码,运行命令时请注视该电脑站 | global | 客户端 | |||
global.colliders |
(自动生成)输出场景中已启用与已禁用的 Collider 组件数量 | global | 客户端 | |||
global.copy_changeset |
将当前客户端和服务器的变更集信息复制到剪贴板 | global | 客户端 | |||
global.dump |
将诊断快照转储到 /diagnostics/ 中的文件夹。警告:这会使服务器卡住,并可能导致其崩溃。 | global | 客户端 | |||
global.dumpanimators |
将动画器的诊断快照转储到 diagnostics 子文件夹 | global | 客户端 | |||
global.dumpentities |
将实体的诊断快照转储到 diagnostics 子文件夹 | global | 客户端 | |||
global.dumplodgroups |
将 LOD 组的诊断快照转储到 diagnostics 子文件夹 | global | 客户端 | |||
global.dumpnetwork |
将网络信息的诊断快照转储到 diagnostics 子文件夹 | global | 客户端 | |||
global.dumpobjects |
将对象的诊断快照转储到 diagnostics 子文件夹 | global | 客户端 | |||
global.dumpphysics |
将物理的诊断快照转储到 diagnostics 子文件夹 | global | 客户端 | |||
global.dumppreprocess |
将预处理的预制体列表转储到 diagnostics 子文件夹 | global | 客户端 | |||
global.dumprootobjects |
将根对象(所有场景中的所有游戏对象)的诊断快照转储到 /diagnostics/ 子文件夹。警告:这会使服务器卡住,并可能导致其崩溃。 | global | 客户端 | |||
global.dumpsysteminformation |
将系统信息的诊断快照转储到 diagnostics 子文件夹 | global | 客户端 | |||
global.dumpwarmup |
将预热信息的诊断快照转储到 diagnostics 子文件夹 | global | 客户端 |
Console commands any player can type into the F1 console on any server, no admin rights needed. 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.