Back to Home

Dedicated server.cfg Generator

Generate production-ready configurations for MOHAA Reborn Patch v2.5, OpenMoHAA, Spearhead & Breakthrough.

Quick Preset TemplatesClick a template to auto-populate Reborn security, competitive rules, or bot setups

1 Server Identity & Engine Target

cvars: sv_hostname, sv_gamespy, port

MOHAA Reborn Patch v2.5 Security & Admin

Official anti-cheat suite, flood prevention, player limits, and voting system

Reborn Engine
1. Anti-Cheat Engine
2. Packet Flood & Connection Limiter
-1 to disable limit
0 to disable autokick
Foresight / Scapp IP
3. Chat, Taunts & Player Voting
4. Automatic Patch Updates
Default: 12 hours (sv_updatedelay)

2 Game Mode & Gameplay Rules

cvars: g_gametype, g_teamdamage, roundlimit

3 Weapon Bans & dmflags Bitmask

Calculates the standard engine dmflags integer bitmask

5 Map Rotation Cycle

Generates native sv_maplist rotation cycle

4 maps in cycle
1
obj/obj_team1(The Hunt)
2
obj/obj_team2(V2 Rocket Facility)
3
obj/obj_team3(Omaha Beach)
4
obj/obj_team4(The Bridge)
Quick Add Stock Maps (MOHAA):
server.cfg
// ================================================================
//  Medal of Honor: Allied Assault - Dedicated Server Configuration
//  Generated by Powell's Locker / MOH-DB (www.moh-db.com)
//  Date: 2026-08-19T10:48:40.616Z
//  Target Game: MOHAA | Target Engine: REBORN
// ================================================================

// ----------------------------------------------------------------
//  1. Server Identity, Master Server & Passwords
// ----------------------------------------------------------------
set sv_hostname "MOH-DB Dedicated Server #1"
set sv_maxclients 32
set net_port 12203
set sv_gamespy 1
set sv_pure 1
set rconpassword "change_me_rcon"
set g_password ""
set sv_message "Welcome to our Medal of Honor Dedicated Server! Visit www.moh-db.com"
sets "Admin" "Server Admin"
sets "Email" "admin@moh-db.com"

// ----------------------------------------------------------------
//  2. Game Mode & Match Rules
// ----------------------------------------------------------------
// 1: FFA, 2: TDM, 3: Round-Based, 4: Objective, 5: Tug-of-War, 6: Liberation
set g_gametype 4
timelimit 20
fraglimit 0
roundlimit 10

// Friendly Fire (0: Off, 1: On, 2: Reflective, 3: Both)
set g_teamdamage 1
set g_teamkillwarn 3
set g_teamkillkick 5
set g_teamswitchdelay 15
set g_allowjointime 30
set g_inactivespectate 60
set g_inactivekick 900
set g_healthdrop 1
set g_forceteamspectate 1
set g_playerStacking 0
set g_playeranim_legs_continous 1
set g_door_reopen_blocked 1
set sv_dmspeedmult 1.10
set sv_invulnerabletime 0
set sv_team_spawn_interval 0

// ----------------------------------------------------------------
//  3. Weapon Restrictions & dmflags Bitmask
// ----------------------------------------------------------------
// Active flags: Disable Bazooka (+67108864), Disable Shotgun (+134217728)
set dmflags 201326592

// ----------------------------------------------------------------
//  4. MOHAA Reborn Patch v2.5 Administration & Security (AA 1.11 Only)
//  Ref: https://www.mohreborn.com/features/server-admin/
// ----------------------------------------------------------------
// Core Reborn Engine Enable
set sv_reborn 1
set sv_reborn_patchstuff 1

// Anti-Cheat Suite
// Anti-Wallhack (0=off, 1-6=occlusion raytrace mode)
set sv_antiwh 1
set sv_antiwhskipping 400
// Anti-Shoot Through Wall Hack (Blocks bullets passing solid geometry)
set sv_antistwh 1
// Anti-NoRecoil (Server-side recoil simulation for no-recoil cheaters)
set sv_recoilemulation 0
// Stufftext Bypass Detection (Kicks hacked clients bypassing commands)
set sv_stufftextdetection 0

// Connection & Flood Protections
// Anti-Packet Flood (Protects against UDP flood / DoS attacks)
set sv_packetantiflood 1
// RCON / External Monitoring Whitelist IP (Foresight/Scapp/CI)
set sv_remotetoolip "127.0.0.1"
// Connections Limiter per IP (-1=off, 1-64 max connections per IP)
set sv_maxconnperip 3
// High-Ping Auto-Kick (0=disabled, 1-999 threshold in ms)
set sv_kickping 450

// Chat & Taunt Management
set sv_disablechat 0
set sv_disabletaunt 0
set g_badchatlimit 3

// Player Voting Mechanism
set g_allowvote 1
set g_votetimeout 30

// Automatic Background Updates
// Update check interval in hours
set sv_updatedelay 12
// Release Channel (0=Stable Channel, 1=Test Channel)
set sv_updatetest 0

// ----------------------------------------------------------------
//  5. Network & Connection Rates
// ----------------------------------------------------------------
set net_enabled 1
set sv_maxrate 25000
set sv_minrate 5000
set sv_maxPing 0
set sv_minPing 0
set sv_fps 20
set sv_floodprotect 0
set sv_allowDownload 0

// ----------------------------------------------------------------
//  6. Map Rotation Cycle
// ----------------------------------------------------------------
set sv_maplist "obj/obj_team1 obj/obj_team2 obj/obj_team3 obj/obj_team4"

// Start first map in rotation
map obj/obj_team1
How to launch your server

Place the downloaded server.cfg file into your game's main/ directory (or mainta/ for Spearhead, maintt/ for Breakthrough).

mohaa_server.exe +set dedicated 2 +exec server.cfg