Building a bot for a headless server

Find multiplayer games.
Tools/scripts to run a dedicated server.
Post Reply
noddybear
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Mar 28, 2022 2:09 pm
Contact:

Building a bot for a headless server

Post by noddybear »

Good afternoon,

I'm interested in building a bot that can run various actions when the users are logged off a headless server.

I have tried to create a new player using both the RCON interface and by modding it in lua - but it seems that the game.players table is read only.

Is there a known way to create non-human players in the headless server?

Thanks

Qon
Smart Inserter
Smart Inserter
Posts: 2118
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: Building a bot for a headless server

Post by Qon »

Why do you need a player? A mod can do pretty much anything through the mod code already. A "player" would not add any capability. The only use I can come up with on the spot is to attribute building actions to the bot, as in the "last user" info slot.

Post Reply

Return to “Multiplayer / Dedicated Server”