Big Programator

Create minecraft plugin like VexBot mod. With same stuff or more advanced

Kodari AI
KodariSep 27 at 7:50 pm 1
VexBotAdvanced
A Minecraft Spigot plugin that replicates and expands upon the VexBot mod functionality. It provides an advanced bot system with configurable NPC players that can be spawned, managed, and controlled via commands. Features include bot creation with custom names, skins, and equipment, pathfinding AI for autonomous movement, combat behaviors, chat interaction responses, and scheduled task execution. The plugin offers a comprehensive GUI menu for bot management, persistent bot storage across server restarts, permission-based command access, and extensive configuration options for bot behaviors, movement speeds, and interaction ranges. It also includes a system for assigning bots to follow players, guard locations, or patrol predefined waypoints, making it suitable for server testing, PvP practice arenas, or creating lively NPC environments.
  1. Build a Paper plugin with a persistent Vex companion and follow/teleport behavior.

  2. Add summon, dismiss, status, and help commands with tab completion.

  3. Make companions assist their owner in combat and configure permissions/metadata.

Created VexBot, a Paper plugin with persistent Vex companions that follow their owner, teleport back when far away, and join fights when their owner attacks or is attacked.

Commands: /vexbot summon [name], /vexbot dismiss, /vexbot status, and /vexbot help (/vb alias). These are actual in-game Vex mobs, not fake-player clients.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
7 351
src/main/java/com/kodari/vexbot/VexBotPlugin.java
package com.kodari.vexbot;

import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;

public final class VexBotPlugin extends JavaPlugin {
    private VexBotManager vexBotManager;

    @Override
    public void onEnable() {
        vexBotManager = new VexBotManager(this);
        vexBotManager.loadExistingBots();

        VexBotCommand command = new VexBotCommand(vexBotManager);
        PluginCommand vexBotCommand = getCommand("vexbot");
        if (vexBotCommand != null) {
            vexBotCommand.setExecutor(command);
            vexBotCommand.setTabCompleter(command);
        }

        getServer().getPluginManager().registerEvents(new VexBotListener(vexBotManager), this);
        getServer().getScheduler().runTaskTimer(this, vexBotManager::tick, 20L, 20L);
    }
}