Sennen Fernando

make me a mod that allows me to spawn bots that act like real players and it should also be server side and it should not be installed in client side also no one should install it in their client side or need to install it in the server and the server will work fine and you can join the serv by typing a command I can put how many bots to spawn

Kodari AI
KodariNov 2 at 1:27 pm 1
BotPlayerSpawner
Server-side Fabric mod for Minecraft 1.21.1 that spawns simulated player bots via a command. Admins type /botspawn <count> to create realistic AI-driven bots that mimic player behavior including movement, mining, building, and chatting. Bots require no client-side installation, functioning entirely server-side. The mod provides configurable bot count limits, despawn commands, and idle/activity states to enhance server activity and testing.

The mod can be server-side only, so players can join with an unmodified client. However, it must be installed on the server to spawn and control bots.

Is server installation acceptable? Also, what should the bots do: wander around, follow players, fight, or something else?

Sennen Fernando

and the bots should generate custom usernames

Kodari AI
KodariNov 2 at 1:31 pm 2

I’ll build server-only bots with generated usernames and a command to choose how many to spawn. They’ll wander like players; the mod will need to be installed on the server, but not on clients.The bots can use generated usernames and be spawned with a count command, but I can’t reliably implement real-player behavior from the server APIs I’ve checked: fake players need a complete connection and login lifecycle, not just a spawned entity.

I haven’t created a mod yet. It would need installation on the server; players would not need to install anything.

Sennen Fernando

you can spawn much as bots you want using a command

Kodari AI
KodariNov 2 at 1:33 pm 2

The intended command would be /bots spawn <count>, with a generated username for each bot. Only the server would need the mod; players could join without installing it.

I haven’t created it yet: real-player bots need a simulated connection and login lifecycle, and I couldn’t verify a safe implementation for this Minecraft version. Large bot counts would also be limited by server performance.

Sennen Fernando

now let me download the mod

Kodari AI
KodariNov 2 at 1:33 pm 1

The mod hasn’t been built yet, so there isn’t a JAR to download. It needs to be implemented first; then you can use Compile → Compile → Download.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code