The configuration file for Clockwork is located at
In the file
clockwork.cfg, you can find the configuration settings for MySQL and the Owner status.
If you're using a managed host (e.g. NFOServers, Crident, etc.), you most likely either already have or can get a MySQL database with your server. If you're running a server, you'll need to set it up yourself.
If you don't have a MySQL database, then leave all of the
mysql_ fields as they are. Clockwork will use a local database by default.
|Setting||Default value||What to put|
|mysql_characters_table||characters||This field doesn't need to be changed for the vast majority of cases.|
|mysql_players_table||players||This field doesn't need to be changed for the vast majority of cases.|
|mysql_username||example||The username for your MySQL server.|
|mysql_password||example||The password for your MySQL server.|
|mysql_database||example||The database name you're using for Clockwork.|
|mysql_host||example.com||The hostname (IP address or url) of the MySQL server.|
|owner_steamid||STEAM_0:0:0000000||The SteamID of the server owner (most likely you).|
Make sure you have a
;at the end of each setting, or things will break!
The serial file for schemas is located at
In the file
serial.cfg, you just need to paste your schema key. Once you first start your server, the file extension will change to
.cw and the key will be stored in an encrypted format.
If you need to change your serial, delete
serial.cw, make a new text file called
serial.cfg. Paste your serial there, save it, and on the next server start it will register as usual.
If you're using a managed host, you can most likely set whatever options you need in the control panel. For cases where this isn't possible, the following details where to put these settings.
The table below shows some settings you may need to change.
|Command line parameter||What to put|
|+host_workshop_collection||The collection ID for your addons.|
|+gamemode||The name of your schema folder, e.g.
|+map||The name of the map you're using, e.g.
|-authkey||A Steam API Key (required for Workshop collections).|
cfg/server.cfg file lets you edit other variables, such as the server name and a few other things. It can take many, many inputs. There is a helpful server.cfg generator available online.