Tool · Multi-Game

Game Server Config Generator

Build a valid Minecraft server.properties, CS2 server.cfg, or TF2 server.cfg in under a minute. Every officially documented option, inline documentation, RCON password generator, and shareable permalinks. 100% free, no signup, runs entirely in your browser.

// Configuration

Pick the game you are generating a config for. Form fields and output format update automatically.

Load a battle-tested gamemode config, then tweak to taste. Your existing values will be overwritten.

Shown in the server browser. Keep it under 64 characters.
Keep this secret. Only expose RCON over a VPN or loopback.
Set a password for private matches. Empty = public.
CS2 supports 64 and 128 tick. TF2 is fixed at 66.

// Generated Config

Save as: server.cfg

// Where to Put This File

Minecraft Java Edition

Save as server.properties in the server root folder (same directory as server.jar). Restart the server — properties reload on startup only. Existing worlds keep their original seed; only new worlds use the seed field.

Counter-Strike 2

Save as server.cfg in game/csgo/cfg/ inside your CS2 server install. Launch with +exec server.cfg or call it per-map from maps/mapname.cfg.

Team Fortress 2

Save as server.cfg in tf/cfg/. Loaded automatically when the server starts and after every map change. No launch flag required.

Security tip

RCON passwords are sent in plaintext during authentication. Always firewall your RCON port (25575 Minecraft, 27015 Source) to your own IP only, or tunnel it through SSH / WireGuard. See our port reference for the exact ufw commands.

// What Is This File, Anyway?

Minecraft server.properties

server.properties is the main configuration file for a Minecraft Java Edition dedicated server. It lives in the server's root folder next to server.jar and controls the port, gamemode, difficulty, world generation, view distance, simulation distance, RCON, whitelist, and roughly 55 other settings. It's plain text, one key=value pair per line, loaded when the server starts. This generator includes every property documented at minecraft.wiki/w/Server.properties with inline documentation and valid ranges for each.

Source engine server.cfg

server.cfg is the main configuration file for Source engine dedicated servers (Counter-Strike 2, Team Fortress 2, Garry's Mod, and older Source titles). It contains console variables (cvars) and commands such as hostname, rcon_password, mp_maxrounds, and sv_cheats 0. The Source engine executes it automatically on server start and after every map change — no launch flag required.

Why use a generator instead of writing it by hand?

Three reasons: (1) every option is validated — no more typos in cvar names or invalid values; (2) inline docs explain what each setting actually does so you stop copy-pasting configs you don't understand; (3) the share link lets you send a complete, reproducible config to anyone in seconds. Perfect for community staff, Discord support, or collaborating with other server admins.

// Frequently Asked Questions

What is a Minecraft server.properties file?

server.properties is the main configuration file for a Minecraft Java Edition dedicated server. It lives in the server root folder and controls the port, gamemode, difficulty, world generation, view distance, RCON, whitelist, and roughly 60 other settings. It's a plain text file with one key=value pair per line, loaded when the server starts.

What is a server.cfg file in CS2 and TF2?

server.cfg is the main configuration file for Source engine dedicated servers like Counter-Strike 2 and Team Fortress 2. It contains console variables (cvars) such as hostname, rcon_password, mp_maxrounds, and sv_cheats. CS2 loads it from game/csgo/cfg/server.cfg and TF2 from tf/cfg/server.cfg, automatically every map change.

How do I use the generated file on my server?

Minecraft: download server.properties and place it in the server root folder (same folder as server.jar), then restart. CS2: place server.cfg in game/csgo/cfg/, launch with +exec server.cfg or call it per map. TF2: place server.cfg in tf/cfg/, it loads automatically on server start and after every map change.

Is this tool free and does it work offline?

Yes, 100% free, no signup, no ads, no data collection. Everything runs in your browser with plain JavaScript. Once the page loads, the generator works offline. Your config never leaves your machine unless you click Share link, which encodes it into a URL you can paste elsewhere.

Does the tool support every official Minecraft server.properties setting?

Yes. Every property documented at minecraft.wiki/w/Server.properties is included, organized into logical categories (identity, network, world, gameplay, players, permissions, RCON, resource pack) with inline descriptions, valid ranges, and sensible defaults. Modern 1.21 additions like region-file-compression, hide-online-players, max-chained-neighbor-updates, and initial-enabled-packs are all there.

What is RCON and do I need to enable it?

RCON (Remote Console) lets you run server commands over a TCP connection without being in-game. It is essential if you use web panels, Discord bots, automated restart scripts, or any remote management tool. The generator creates a cryptographically secure 24-character RCON password using the browser crypto.getRandomValues API. Always firewall your RCON port to trusted IPs only — the password is sent in plaintext during authentication.

Can I share my config with someone else?

Yes. Click Share link and the tool encodes your entire config (game selection plus every customized option) into a permalink URL. Anyone who opens the link gets the exact same form state pre-filled and can generate, tweak, or download the same config. Perfect for Discord, Reddit, or collaborating with staff on server setups. No server-side storage — the state lives entirely in the URL.

// More Tools & Guides