Jump to content

How to add bot to server?


Recommended Posts

Posted

I'm running a vanilla server right now and I want to make it where my friend and I can battle bots that are on the opposing team. I put the command "addbot kyle 5 s o" in the server.cfg file, but nothing happens. Can someone help me?

 

Also, whenever I try to add bots in the console while I'm playing in the server such as "addbot luke", it says that "bots can only be added by the server".

Posted

You have to use RCON when adding bots or using any server commands while ingame. So you'd need to know your rcon password, enter that in the console via /rconPassword. Then do /rcon addbot luke.

  • 8 months later...
  • 2 weeks later...
Posted

Rconpassword will be a setting in your server's configuration file. You'll need to set one and then you can use rcon from in-game. If you're home-hosting a server, you can also type the commands directly into the console box without the rcon prefix. 

  • 3 weeks later...
Posted

As far as server.cfg goes, make sure you set both bot_minplayers and sv_maxclients to the appropriate values. Then your addbot command should work correctly.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...