Nathan Rashleigh 43883f3841 YUH
2026-02-09 18:15:01 +11:00

147 lines
7.0 KiB
INI

// ================================================================
// megastructure.surf - CSS Surf Server Configuration
// ================================================================
hostname "megastructure.surf"
// ================================================================
// SURF PHYSICS - Critical settings for proper surf mechanics
// ================================================================
sv_gravity 800 // Default gravity (standard for surf)
sv_accelerate 10 // Ground acceleration
sv_airaccelerate 800 // Air acceleration (high for surf)
sv_friction 4 // Surface friction
sv_maxvelocity 3500 // Max velocity (can be changed per-map with !setmaxvel)
// Stamina (disable for surf)
sv_staminamax 0 // No stamina limit
sv_staminajumpcost 0 // No stamina cost for jumping
sv_staminalandcost 0 // No stamina cost for landing
sv_staminarecoveryrate 0 // No stamina recovery needed
// Bunnyhopping
sv_enablebunnyhopping 1 // Enable bunnyhop
sv_autobunnyhopping 0 // Disable autobhop (hold space) - players must time jumps
sv_accelerate_use_weapon_speed 0 // Weapon weight doesn't affect acceleration
// Fall damage and movement
mp_falldamage 0 // No fall damage
sv_falldamage_to_velocity_scale 0 // Disable view punch/head knock from falls
sv_turbophysics 1 // Disable some physics effects (smoother movement)
phys_pushscale 1000 // Push force multiplier
// ================================================================
// GAME MODE SETTINGS
// ================================================================
mp_teamplay 0 // Not team-based
mp_friendlyfire 0 // No friendly fire
mp_autoteambalance 0 // Don't force team balance
mp_limitteams 0 // No team limits
mp_freezetime 0 // No freeze time at round start
mp_roundtime 60 // 60 minute rounds (effectively infinite)
mp_maxrounds 1 // One continuous round
mp_timelimit 0 // No time limit
mp_winlimit 0 // No win limit
// Respawn settings
mp_respawn_on_death_ct 1 // CT respawns instantly
mp_respawn_on_death_t 1 // T respawns instantly
mp_respawnwavetime_ct 0 // Instant respawn for CT
mp_respawnwavetime_t 0 // Instant respawn for T
// ================================================================
// SERVER SETTINGS
// ================================================================
sv_lan 0 // Internet server
sv_pure 0 // Allow custom files
sv_cheats 0 // No cheats
sv_pausable 0 // Can't pause
sv_alltalk 1 // Players can talk across teams (standard for surf)
sv_voiceenable 1 // Enable voice chat
sv_enableoldqueries 1 // Support legacy server queries
sv_contact "ntr@megastructure.games" // Admin contact
sv_region 5 // Region: Asia (0=US East, 1=US West, 2=South America, 3=Europe, 4=Asia, 5=Australia, 6=Middle East, 7=Africa)
// Player settings
sv_visiblemaxplayers -1 // Show actual max players (-1 = use maxplayers)
mp_idlemaxtime 0 // No idle kick (let Shavit handle this)
mp_idledealmethod 0 // Don't deal with idle players
sv_timeout 900 // 15 minute timeout
// HUD Settings (minimal HUD for clean surf experience)
sv_hudhint_sound 0 // Disable hint sounds
mp_radar_showall 0 // Hide radar
sv_showimpacts 0 // Hide bullet impacts
// ================================================================
// RCON SETTINGS
// ================================================================
rcon_password "changeme" // CHANGE THIS!
sv_rcon_banpenalty 1440 // Ban for 24 hours after failed attempts
sv_rcon_maxfailures 5 // Max failed rcon attempts
// ================================================================
// NETWORK & RATE SETTINGS
// ================================================================
// Server rates
fps_max 600 // Server FPS limit (0 = unlimited, but 600 is good)
sv_mincmdrate 66 // Min client command rate
sv_maxcmdrate 128 // Max client command rate
sv_minupdaterate 66 // Min client update rate
sv_maxupdaterate 128 // Max client update rate
sv_minrate 20000 // Min client data rate (20KB/s)
sv_maxrate 0 // Max client data rate (0 = unlimited)
// Network settings
net_maxfilesize 64 // Max download file size (MB)
sv_allowupload 1 // Allow uploads
sv_allowdownload 1 // Allow downloads
sv_downloadurl "" // FastDL URL (set this if you have FastDL)
// ================================================================
// BOT SETTINGS
// ================================================================
bot_quota 0 // No bots
bot_kick // Kick any existing bots
// ================================================================
// LOGGING
// ================================================================
log on // Enable logging
sv_logfile 1 // Log to file
sv_log_onefile 0 // Separate log files per map
sv_logbans 1 // Log bans
sv_logecho 0 // Don't echo logs to console (reduces spam)
sv_logflush 0 // Don't flush logs every line (better performance)
// ================================================================
// SOURCEMOD / METAMOD
// ================================================================
// These are loaded automatically via metamod/sourcemod
// No manual commands needed here
// ================================================================
// EXECUTE ADDITIONAL CONFIGS
// ================================================================
exec banned_user.cfg // Load banned users
exec banned_ip.cfg // Load banned IPs
writeid // Write user IDs
writeip // Write banned IPs
// ================================================================
// MESSAGES
// ================================================================
echo "=========================================="
echo "megastructure.surf loaded successfully"
echo "=========================================="