Carpet Soldiers
Spawn armies of AI-controlled Carpet fake players, split into team A and team B. Each team treats the other as the enemy. Everything runs on the server, so players don't need to install anything. Op-only commands (/soldier).
Features
- Soldiers and commanders with random gear and enchant levels
- Fight with sword, bow or shield, sprint-jump at enemies, and eat golden apples when hurt
- Pathfinding that pillars up with cobblestone, bridges across gaps, and swims
- Goat horn leader: a player blows a horn and their team follows them
- Classes
- Macers: wind charge launch, then a mace smash on the way down
- Cobwebbers: predict where you land and web the spot, then crit you while you're stuck
- Archers: crossbows with multishot and firework rockets
- Carters: rail, TNT minecart, and a flame-bow shot; they pearl out of cobwebs
- Potters: drink speed and strength potions before charging in
- Custom enchant rules with per-class chances on any slot
- Almost everything is configurable (
/soldier config,/soldier set <key> <value>)
Requirements
- Fabric, Fabric API and Carpet on the server (Minecraft 1.21.11)
Commands
/soldier spawn <a|b> <count> [commanders]/soldier classes <team> <count> <commanders> <macers> <cobwebbers> <archers> <carters>/soldier kill | kill_a | kill_b | status | config | help | on | off | reset_config/soldier set <key> <value>and/soldier enchant <class> <slot> <enchantment> <level> <chance>/soldier run <function>runs any other function from the bundled datapack
The bundled datapack is inside the jar, so you don't install a datapack separately. Respawn existing bots after updating.
Side notes
- Use
tag <entity> add <a|b>to set the opposite team if they aren't bots

