[Off-Top] Some server console commands

J4cob

New member
Hello there folks! Again posting an OffTop here because there's no OffTop channel anywhere.

I was a amateur CS:GO tournament maker and I liked to setup servers, tweak server commands etc.: and I found out some commands that might help you set up some small server for tournament / lan matches or fun friend matches in general.

For starters, some commands still MIGHT NOT WORK due to Deadlock just not having complete server files, but some of them work. Make sure if you don't have console, type in the launch paremeter of the game -console and then launch it by pressing F7 in the menu of the game. Then type the following:

map 1v1_test

You will load the map from the private bot match and you'll see something different this time. Instead of immeditely changing the game, you'll have an option to spectate or to choose a hero. Choose a hero.

You'll be alone on the server, but don't worry - you can exec other commands as well. To exec a sample command that spawns Easy bots in the game type in the console:

citadel_botmatch_practice_6v6_easy

It will proceed to spawn bots on your server. These bots however will go down to one path (in my example, they all just gone to the Yellow zone and were only fighting there) maybe try the following if that happens:

citadel_botmatch_practice_6v6_guided

Guided should fix it, but I don't frankly know I didn't test that one out yet.

In order to enable Source TV type the following:

tv_enable 1
tv_transmitall 1
tv_relayvoice 1
tv_snapshotrate 20 (tickrate for GOTV)
tv_delay 30 (Source TV delay)
tv_dispatchmode 0
tv_enable_delta_frames 1


Or additionally exec the following command: exec citadel_server

And then if you want to record a demo from the server type:

tv_record (name) or:
tv_citadel_auto_record 1 (or name - didn't check that one out yet) (i think you should write this in the menu first, so when you join the server - demo will record automatically)

To play a demo I believe you need to write playdemo (demo name) or play

There is one more important command called IP. I don't know how that works however, but I believe it would work the same as in CS:GO so if you will type:

ip 33.33.333.33 (sample ip, not real) it would set it as a server IP. Try maybe setting up some server on tools like Radmin VPN and check whenever players can connect to your server while they are on your Radmin network. I don't know what port does the server set, but you can try 27015 just like in CS:GO so if you want to connect to the server and test it, type:

connect 33.33.333.33:27015 (sample ip, not real)

Command that does not work, but would be useful for tournament games or fun games is

mp_restartgame 1

I don't know if it needs a RCON access or something, maybe. If you have your ports forwarded maybe try setting up the rcon password and rcon address by typing:

rcon_address (ip, or ip+port)
rcon_password (password)


Then connect to the server and try launching the restartgame command through RCON:

rcon mp_restartgame 1

There's also a command for spectators: spec_replay_enable 1 which might enable replays for spectators (?) idk what that one does

I hope this helps you, and maybe you'll also figure out how to enable a test server. I would be down to test. I wish the server infrastructure would be complete so I would play around with the commands like in CS:GO. I hope they add the following in the future: mp_teamflag (for setting up team flags in the score sheet), mp_teamname (to set up the team name in the score sheet) and other useful things for tournament makers! Or server makers in general.

If you know better, please let me know your own findings and I'm down to trying things out.
 
I forgot to add, to check some server things connections etc in console just type:

status

It doesn't show the IP or port info tho but maybe because the game is still not released yet.
 
bro I want to make a custom game with friends ,do you know how? tks

I believe you need to invite the friends to hte party just go into the Private Match With Bots and that's all. I don't know if you can remove bots, maybe try:

bot_quota 0

Or something
 
How can Deadlock set up a community server like CSGO? I used the command: project8 -dedicated +ip 0.0.0.0 -port 27015 -insecure -allow_no_lobby_connect -game citadel +map street_test, but the community server started this way is not valid. How can I set up a community server for specific modes, like 6v6 or 1v1? If someone could let me know, I would really appreciate it. Thank you!
 
Back
Top