Description
Smart AI Players 2.4.0 — Warfare, Armies & Military Strategy
Build armies. Command generals. Conquer territories. Shape the future of your civilizations!
Smart AI Players 2.4.0 introduces a major expansion of the existing civilization system with advanced warfare, military strategy, army management, sieges, generals, military logistics, and international military cooperation.
This update continues the existing Smart AI Players project. It does not replace the previous civilization, economy, diplomacy, or international relations systems. Instead, it connects them through a deeper military simulation.
Alongside the new military features, 2.4.0 also introduces important quality-of-life improvements based on player feedback, giving you more control over bot behavior, chat, building, and assignments.
What's New in 2.4.0?
1. Advanced Army System
Civilizations can now organize and manage structured military forces.
- Unique army IDs.
- Army commanders and unit composition.
- Army positions, objectives, and history.
- Automatic army formation.
- Military reserves.
- Mercenary recruitment.
- Army merging and splitting.
- Organized military operations.
Armies are connected to the existing civilization and economy systems. Their actions, equipment, and supplies matter.
2. Nine Military Unit Types
Added 9 types of military units, each with its own role and requirements.
Military units have:
- Training and experience.
- Equipment made from real Minecraft items.
- Morale.
- Maintenance costs.
- Supplies and equipment requirements.
Weapons and armor are obtained from civilization stockpiles rather than appearing from nowhere.
3. Generals & Military Command
Generals now play an important role in military decisions.
- Military ranks.
- Loyalty and reputation.
- Six general personalities.
- Memory of previous battles.
- Independent tactical decisions.
Generals can decide when to attack, wait, fortify positions, or retreat based on the situation, their personality, available forces, and battle history.
4. Advanced Warfare
Wars are now more than simple hostile relationships between civilizations.
Added:
- War declarations and justifications.
- War objectives.
- Military coalitions.
- War scores.
- War exhaustion.
- Truces and ceasefires.
- Surrender negotiations.
- Peace treaties with conditions.
Peace agreements can include cities, reparations, and prisoners.
5. Sieges & City Assaults
Civilizations can conduct organized sieges against enemy settlements.
Siege mechanics include:
- Siege camps.
- Military engineers.
- Battering rams.
- Siege towers.
- Barricades.
- Watchtowers and defensive structures using actual Minecraft blocks.
- Trade blockades.
- Assaults and surrender.
- City capture.
- Economic consequences of prolonged sieges.
Sieges affect both military forces and the economy of the involved civilizations.
6. Military Buildings
Added specialized military structures:
- Barracks.
- Military camps.
- Arsenals.
- Watchtowers.
- Fortresses.
- Border forts.
- Military warehouses.
- Training grounds.
- Garrisons.
- Command centers.
These buildings support recruitment, training, defense, equipment storage, and military operations.
7. Military Economy & Logistics
Armies require real resources and economic support.
Added:
- Military budgets.
- Unit maintenance costs.
- Weapon and armor production.
- Equipment purchases.
- Equipment repairs.
- Military taxes.
- Food supplies.
- Arrows and ammunition supplies.
- Resource distribution from civilization warehouses.
Military power now depends on the ability of a civilization to maintain its forces and supply its campaigns.
8. Tactics & Intelligence
Military commanders can consider battlefield conditions and intelligence when making decisions.
Added tactical possibilities:
- Military formations.
- Ambushes.
- High-ground advantages.
- Bridge control.
- Flanking maneuvers.
- Reconnaissance.
- Intelligence reliability levels.
- Disinformation.
- Counterintelligence.
Military decisions should take available information and its reliability into account.
9. Allied Military Cooperation
International relations now connect directly with military operations.
Allied civilizations can:
- Form joint military corps.
- Participate in coordinated operations.
- Defend allied cities.
- Provide military resources.
- Offer military assistance.
- Refuse requests for help.
- Withdraw from operations.
Refusing or withdrawing from assistance can affect trust and diplomatic relationships.
10. Civil Wars & Postwar Recovery
Added additional systems for internal and postwar conflicts:
- Rebellions.
- Civil wars.
- Prisoners of war.
- Postwar reconstruction.
- Military statistics.
- Military power rankings.
Wars can have lasting consequences for cities, economies, armies, and political stability.
Player Feedback Improvements
Version 2.4.0 also addresses several common problems reported by players.
Improved Chat Control
New command:
"!ai chat off|quiet|normal|full"
Available modes:
- "off" — disables bot chat.
- "quiet" — reduces unnecessary messages.
- "normal" — default balanced communication.
- "full" — allows more frequent bot conversations.
In normal mode, hunger and resource complaints remain visible, and direct replies to the player are preserved.
Work Mode
New command:
"!ai mode work"
Work mode disables duels, leisure activities, and adventures so bots can focus on assigned tasks.
Duels are disabled by default. They can be enabled with:
"!ai duels on"
Group Task Assignment
Assign tasks to all bots:
"!ai task all wood"
Available task types:
- "wood"
- "stone"
- "coal"
- "iron"
- "farm"
- "hunt"
- "build"
You can also specify a location and working area size using the optional "here" and radius arguments.
Clear assignments:
"!ai task all clear"
Stop, Recall & Resume
New commands:
- "!ai stop all" — stop all bots.
- "!ai recall all" — recall all bots.
- "!ai resume" — resume their activities.
Control buttons are also available in the Management menu.
Protected Zones
Create protected areas:
"!ai zone add <name> <radius>"
Manage them with:
- "list"
- "remove"
Bots cannot place or break blocks inside protected zones, and they cannot build houses there.
Auto-Join Control
New commands:
- "!ai autojoin off" — prevents bots from automatically joining or returning.
- "!ai wake" — wakes bots up.
More Spacious Homes
Bots now check their homes after furnishing them.
They verify:
- Entrance accessibility.
- Available interior space.
- Access to the bed.
- Access to the chest.
If a home is too cramped, the bot builds a more spacious replacement and moves into it.
How to Use the Military System
Open the Military System (2.4) menu or use:
"!ai military help"
Main command categories include:
- "!ai military"
- "!ai army"
- "!ai war"
- "!ai generals"
- "!ai siege"
Operators can manage any civilization using the supported "@name" target syntax.
Civilizations can independently recruit armies, appoint commanders, construct military buildings, conduct wars, negotiate peace, and recover after conflicts.
To disable the new military system:
"!ai military off"
This switches back to the previous 2.0 warfare logic.
Compatibility & Upgrade
- Version 2.4.0 continues Smart AI Players 2.3.0.
- Existing kingdoms, cities, economies, diplomacy, and international relations are preserved.
- Previous commands and menus from versions 2.0–2.3 remain available.
- New 2.4.0 data uses a separate storage namespace.
- World migration is designed to be idempotent, preventing repeated migrations from duplicating data.
Installation Requirements
- Minecraft Bedrock Edition.
- Enable the Beta APIs experiment in world settings.
- Activate the Smart AI Players Behavior Pack.
- Activate the required Smart AI Players Resource Pack.
- Use the addon build compatible with your Minecraft version.
Testing
Automated logic tests are included, but they do not replace extended testing
inside Minecraft. Check the current test report for the exact features and environments that have and have not been verified.
Build your armies. Trust your generals. Defend your cities. Lead your civilization through war and peace!
Smart AI Players 2.4.0 — the world is no longer shaped by diplomacy alone.





