T

i want to be able to build a ai robot that can build or do anything i tell it to by typing what i want in chat

Kodari AI
KodariApr 10 at 1:52 am 13,154 (v2)

I’ll create an AI-powered builder bot plugin that responds to natural language chat commands.

AIBuilderBot
An intelligent robot system that responds to natural language chat commands to build structures and perform tasks in Minecraft. Players can summon personal builder bots and instruct them through chat to create walls, houses, pyramids, mine areas, collect items, and more. Features visual robot representation, real-time progress tracking, queue system for multiple tasks, and configurable permissions and build limits.

I’ll build a complete AI builder bot plugin that responds to natural language chat commands for building and performing tasks.

Perfect! I’ve created a complete AI builder bot plugin with natural language chat command processing.

Key Features:

  • Type /robot summon to spawn your builder robot

  • Give instructions in chat like “build me a wall 10 blocks long” or “make a 5x5 platform”

  • Robot executes tasks with visual progress (animated building)

  • Queue system for multiple commands

  • Supports: walls, platforms, houses, clearing areas

  • Parses material types (stone, wood, brick, glass, etc.)

  • Parses directions (north, south, east, west or based on player facing)

  • Configurable limits and permissions

  • Pause/resume/cancel controls

The robot appears as an armor stand that teleports to build locations and places blocks gradually for a realistic building animation effect.

T

go into detail how do i use it

Kodari AI
KodariApr 10 at 1:54 am 7,160 (v2)

I’ll read the plugin files to understand how it works and provide you with detailed usage instructions.

📖 AIBuilderBot - Detailed Usage Guide

Based on the code, here’s a comprehensive guide on how to use this plugin:


🎮 What is AIBuilderBot?

AIBuilderBot is a Minecraft plugin that gives you a personal builder robot (armor stand entity) that responds to natural language commands in chat. You can tell your robot to build walls, platforms, houses, or clear areas, and it will execute these tasks automatically.


⚙️ Installation

  1. Build the plugin: Run ./gradlew build (or gradlew.bat build on Windows)

  2. Copy JAR: Place AIBuilderBot-1.0.0.jar from build/libs/ into your server’s plugins/ folder

  3. Restart server: The plugin will generate a config.yml

  4. Configure (optional): Edit plugins/AIBuilderBot/config.yml

  5. Reload or restart again


🤖 Getting Started

Step 1: Summon Your Robot

Plain Text
/robot summon
  • An armor stand appears 2 blocks away from you

  • Named “Builder Robot” (configurable, glows aqua by default)

  • Only you can control your robot

  • Max 1 robot per player (configurable)

Step 2: Give Building Commands in Chat

Once your robot is summoned, just type in chat (no / prefix):

Plain Text
build me a wall 10 blocks long
make a platform 5 blocks wide
build a house 7x7
clear area 10 blocks radius

The robot will:

  1. ✅ Queue your task (max 5 tasks in queue)

  2. 🏗️ Start building immediately if idle

  3. 📢 Send you progress messages

  4. ✨ Play sounds when complete


📋 Complete Command Reference

/robot Commands

Command
Aliases
Description
/robot summon
/robot spawn
Summon your builder robot
/robot dismiss
/robot remove
Dismiss/remove your robot
/robot pause
-
Pause all building tasks
/robot resume
-
Resume paused tasks
/robot cancel
-
Cancel all queued + current tasks
/robot status
-
View robot status and queue

Aliases: You can also use /bot or /builder instead of /robot


💬 Chat Building Commands

When your robot is active, type these in normal chat (without /):

🧱 Build Wall

Plain Text
build me a wall 10 blocks long
make a wall 15 blocks high
construct wall length 20 height 5
  • Builds a straight wall from where robot is facing

  • Default: 10 blocks long, 3 blocks high

  • Max length: 100 blocks (configurable)

  • Can specify both length and height

🟦 Build Platform

Plain Text
make a platform 5 blocks wide
build platform 8x8
create a floor radius 10
  • Creates a flat square/rectangular platform

  • Default: 5x5 blocks

  • Max size: 50x50 (configurable)

  • Uses stone or configurable material

🏠 Build House

Plain Text
build a house 7x7
make me a house 10x10x5
construct house width 8 depth 8 height 4
  • Builds a simple house with walls, floor, and doorway

  • Default: 7x7x4 (width x depth x height)

  • Max size: 30x30 (configurable)

  • Auto-creates door opening on one side

  • Uses oak planks for walls, stone for floor

🗑️ Clear Area

Plain Text
clear area 10 blocks radius
remove blocks 5 radius
demolish area 15
  • Clears all blocks in a radius (except bedrock)

  • Default: 5 block radius

  • Max radius: 30 blocks (configurable)

  • Useful for clearing land before building


📊 Robot Status

Use /robot status to see:

Plain Text
-------------------
Robot Status

Status: Working
Current Task: Building 10x3 wall
Queue Size: 2
-------------------

Status Types:

  • Idle - Robot has no tasks, waiting for commands

  • Working - Currently executing a task

  • Paused - Tasks paused via /robot pause


⚙️ Configuration (config.yml)

YAML
prefix: '&8[&bAI Robot&8]&r'

robot:
  max-per-player: 1           # Robots per player
  max-queue-size: 5           # Max tasks in queue
  blocks-per-tick: 5          # Building speed (blocks/tick)
  max-build-distance: 100     # Max distance from player
  require-materials: true     # Need materials in inventory?
  visual:
    name: '&bBuilder Robot'
    glow: true
    glow-color: 'AQUA'

limits:
  max-wall-length: 100
  max-platform-size: 50
  max-house-size: 30
  max-clear-radius: 30

Key Settings:

  • blocks-per-tick: Higher = faster building (default: 5)

  • require-materials: Set to false for creative mode-style building

  • max-queue-size: Increase if you want longer task queues

  • Limits: Prevent massive lag-inducing builds


🎯 Practical Examples

Example 1: Build a Simple Base

Plain Text
/robot summon
build a platform 10 blocks wide
(wait for completion)
build a house 8x8

Example 2: Clear and Rebuild

Plain Text
/robot summon
clear area 15 blocks radius
(wait for completion)
build a platform 20 blocks wide
build me a wall 30 blocks long

Example 3: Multiple Tasks at Once

Plain Text
/robot summon
build a house 10x10
build a wall 15 blocks long
make a platform 5 blocks wide
clear area 8 radius
build another wall 10 blocks long
(all 5 tasks queue up and execute in order)

Example 4: Pause/Resume Work

Plain Text
/robot summon
build a house 15x15
/robot pause    (stops building mid-task)
(do something else)
/robot resume   (continues from where it stopped)

🔐 Permissions

YAML
aibuilderbot.use: true              # Use robots (default: everyone)
aibuilderbot.admin: op              # Admin commands + bypass limits

Set in your permissions plugin or permissions.yml:

YAML
groups:
  builder:
    permissions:
    - aibuilderbot.use
  admin:
    permissions:
    - aibuilderbot.admin

💡 Tips & Tricks

  1. Queue Multiple Tasks: Give 5 commands quickly, robot executes them in order

  2. Check Status Often: /robot status shows what’s happening

  3. Cancel Mistakes: Hit /robot cancel immediately if wrong command

  4. Pause for Adjustments: Use /robot pause to freeze mid-build

  5. Dismiss When Done: /robot dismiss cleans up the armor stand


⚠️ Limitations & Known Behavior

  • One robot per player (configurable)

  • Max 5 tasks in queue (configurable)

  • Requires line-of-sight area - Builds from robot’s starting position

  • No material cost by default - Set require-materials: true to need blocks

  • Direction based on placement - Walls build in facing direction

  • Admin permission bypasses limits - Ops can build beyond max sizes


🐛 Troubleshooting

Issue
Solution
“I don’t understand that command”
Use exact phrases: “build wall”, “make platform”, “clear area”, “build house”
Queue full
Wait for tasks to finish or use
/robot cancel
Robot doesn’t respond
Make sure it’s summoned with
/robot summon
Building is too slow
Increase
blocks-per-tick
in config.yml
Can’t summon robot
Check permission
aibuilderbot.use

🔄 Workflow Summary

Plain Text
1. /robot summon
   ↓
2. Type building command in chat (no /)
   ↓
3. Robot queues task → starts building
   ↓
4. Give more commands (up to 5 queued)
   ↓
5. Robot auto-processes queue
   ↓
6. /robot status to check progress
   ↓
7. /robot dismiss when done

That’s everything! The plugin is designed to be intuitive - just summon your robot and talk to it naturally in chat. Let me know if you need clarification on any specific feature! 🤖✨

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
16 1,169
src/main/java/com/aibuilderbot/AIBuilderBot.java
package com.aibuilderbot;

import com.aibuilderbot.commands.RobotCommand;
import com.aibuilderbot.listeners.ChatListener;
import com.aibuilderbot.managers.ConfigManager;
import com.aibuilderbot.managers.RobotManager;
import com.aibuilderbot.parsers.CommandParser;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public final class AIBuilderBot extends JavaPlugin {

    private ConfigManager configManager;
    private RobotManager robotManager;
    private CommandParser commandParser;

    @Override
    public void onEnable() {
        this.configManager = new ConfigManager(this);
        this.robotManager = new RobotManager(this);
        this.commandParser = new CommandParser(this);

        getCommand("robot").setExecutor(new RobotCommand(this));
        getServer().getPluginManager().registerEvents(new ChatListener(this), this);

        robotManager.startTaskProcessor();

        getLogger().info("AIBuilderBot has been enabled!");
    }

    @Override
    public void onDisable() {
        if (robotManager != null) {
            robotManager.dismissAllRobots();
        }
        getLogger().info("AIBuilderBot has been disabled!");
    }
}