Better Carpet Bots
一个 Carpet 模组 扩展,为你的 Minecraft 服务器添加了更完善的机器人管理命令。
要求
命令
/bot spawn [<name>]
在你的位置以生存模式生成一个机器人。如果未提供名称,将自动生成(Bot1、Bot2……)。名称必须为 1–16 个字符,且仅包含字母、数字和下划线。
不能使用该曾经加入过服务器的真实玩家的名字。
/bot <name> <action>
控制一个机器人(或你自己——使用你自己的名字也可以)。
| 动作 |
描述 |
attack |
持续攻击 |
attack continuous |
同上 |
attack interval <ticks> |
每 N 刻钟攻击一次 |
attack stop |
停止攻击 |
use |
持续右键/使用物品 |
use continuous |
同上 |
use interval <ticks> |
每 N 刻钟使用一次 |
use stop |
停止使用 |
jump / jump stop |
开始/停止跳跃 |
sneak / sneak stop |
开始/停止潜行 |
sprint / sprint stop |
开始/停止疾跑 |
stop |
停止所有动作 |
look <north|south|east|west|up|down> |
朝向基本方向注视 |
look <yaw> <pitch> |
朝向精确角度注视 |
drop |
丢弃当前快捷栏物品(单个) |
dropstack |
丢弃当前快捷栏物品(整组) |
swaphands |
交换主手和副手 |
inventory |
打开机器人背包(必须在 10 格范围内) |
kill |
从服务器移除该机器人 |
/bots <action>
需要游戏管理员权限(等级 2)。
| 动作 |
描述 |
list |
列出所有活跃的机器人 |
stop |
停止所有机器人 |
kill |
杀死所有机器人 |
permissionLevel <0–4> |
设置谁可以使用 /bot(0 = 所有人,4 = 仅限操作员) |
skin all <url> |
为所有机器人应用皮肤(重生后保留) |
skin <name> <url> |
为特定机器人应用皮肤 |
机器人背包
/bot <name> inventory 会打开一个显示机器人完整背包的 5 行界面:
- 第 0–3 行:主背包和快捷栏
- 第 4 行:护甲槽(仅接受对应类型的护甲)、副手以及锁定的填充槽
- 空的护甲/副手槽会显示彩色玻璃板标签
界面保持实时更新——机器人拾取的物品会立即显示。如果你移动超过 10 格远,界面会自动关闭。
真实玩家保护
当通过 Mojang 验证的玩家首次加入时,他们的名字会被永久锁定。此后 /bot spawn <thatName> 将被拒绝。对于该名字的任何现有离线 UUID 机器人数据,在清理之前会备份到 world/bot-backup/<name>.bak,确保不会丢失任何内容。
Better Carpet Bots
A Carpet mod extension that adds better bot management commands to your Minecraft server.
Requirements
Commands
/bot spawn [<name>]
Spawns a bot at your position in survival mode. If no name is given, one is auto-generated (Bot1, Bot2, …). Names must be 1–16 characters, letters/digits/underscores only.
Names that belong to real players who have ever joined the server cannot be used.
/bot <name> <action>
Controls a bot (or yourself - targeting your own name works too).
| Action |
Description |
attack |
Attack continuously |
attack continuous |
Same as above |
attack interval <ticks> |
Attack every N ticks |
attack stop |
Stop attacking |
use |
Right-click / use continuously |
use continuous |
Same as above |
use interval <ticks> |
Use every N ticks |
use stop |
Stop using |
jump / jump stop |
Start / stop jumping |
sneak / sneak stop |
Start / stop sneaking |
sprint / sprint stop |
Start / stop sprinting |
stop |
Stop all actions |
look <north|south|east|west|up|down> |
Look in a cardinal direction |
look <yaw> <pitch> |
Look at an exact angle |
drop |
Drop current hotbar item (single) |
dropstack |
Drop current hotbar item (full stack) |
swaphands |
Swap main hand and off hand |
inventory |
Open bot inventory (must be within 10 blocks) |
kill |
Remove the bot from the server |
/bots <action>
Requires game-master permission (level 2).
| Action |
Description |
list |
List all active bots |
stop |
Stop all bots |
kill |
Kill all bots |
permissionLevel <0–4> |
Set who can use /bot (0 = everyone, 4 = operators only) |
skin all <url> |
Apply a skin to every bot (persists across respawns) |
skin <name> <url> |
Apply a skin to one specific bot |
Bot Inventory
/bot <name> inventory opens a 5-row screen showing the bot's full inventory:
- Rows 0–3: main inventory and hotbar
- Row 4: armor slots (only accept the correct armor type), off-hand, and locked filler slots
- Empty armor/off-hand slots show colored glass pane labels
The screen stays live - items the bot picks up appear immediately. The screen closes automatically if you move more than 10 blocks away.
Real Player Protection
When a player authenticated via Mojang joins for the first time, their name is permanently locked. /bot spawn <thatName> will be rejected from that point on. Any existing offline-UUID bot data for that name is backed up to world/bot-backup/<name>.bak before being cleaned up, so nothing is lost.
评论 0
登录后参与评分
还没有评论,来抢沙发吧