Edit your server configuration

Find the config file

StoryForce ships storyforce_server.cfg in the StoryForce folder of your install.

The launcher reads it with +exec storyforce_server.cfg.

Change a value

Open the file in a text editor, find the setting and change the value inside its quotes:

set sf_chatprotection "1"

Quotes keep a value containing spaces together. Lines beginning // are comments and do not run.

set changes a value.

seta also marks it for the engine's saved settings file, storyforce_autogen.cfg.

Keep your intended server settings in storyforce_server.cfg, which you edit by hand.

Set the base-game options

The first block sets the server name, capacity and match rules. These are the shipped choices:

SettingWhat it controlsShipped
sv_hostnameThe name shown in server listsStoryForce, with its colour codes
sv_maxclientsPlayer slots16
sv_fpsServer frames per second40
g_gametypeGame type0, free for all
timelimitMatch time limit in minutes0, no limit
fraglimit, capturelimit, duel_fraglimitScore limits for the relevant game types0, no limit

The rest of that block covers combat, movement, votes and connection limits.

Secure a new server covers passwords and access.

Which page owns each block

Most blocks have their own guide:

Section in the fileWhere it is documented
Base gameThis page
Console & logsRead your server's logs
Accounts, registration & loginSecure a new server
Character XPTune how play works
Community characters, extras & myNPCTune how play works
World & roleplay tuningTune how play works
Admin permissions & director locksAdmin and director bit calculator
Clan branding & About pageBrand your server
Join welcomeBrand your server
Identity labelsName your ranks, factions and statuses
Database backups & Cloudflare D1 mirrorBack up your database
LLM NPCsRun LLM NPCs
Discord webhooksSend events to Discord
MapThis page

End the file with a map line

The last line of the shipped file is map mp/ctf3. It starts that map after applying the settings.

A dedicated server needs a map command in its config or launch arguments before players can join.

To change map once the server is up, use /changemap, which Prepare your map covers.

Apply a change while running

Type an individual setting at the server console to change it now:

set sf_chatprotection "1"

Type the cvar's name on its own to read its current value, default and any value waiting for a restart. Some settings, such as player slots, cannot change immediately:

Restart the server to apply a waiting value.

Save the same change in your config so it survives the next launch.

exec storyforce_server.cfg reads the whole file again. It also runs the final map line, so use it when you intend to load that map as well.

Save or load a scene from the server console

Use sf_scenesave <name>, sf_sceneload <name|filename.cfg> or sf_scenelist at the server console.

Saves belong to the storyforce account. A bare name loads that account's scene on the current map. Use the filename to load another account's scene.

The console can access private scenes. Load after a player joins if the scene needs NPCs. Loading with nobody connected skips them.

Save and load a scene explains what each scene stores.