vibe
This commit is contained in:
+128
-55
@@ -1,66 +1,139 @@
|
||||
// ================================================================
|
||||
// megastructure.surf - CSS Surf Server Configuration
|
||||
// ================================================================
|
||||
|
||||
hostname "megastructure.surf"
|
||||
|
||||
// surf specific
|
||||
sv_accelerate 10
|
||||
sv_airaccelerate 800
|
||||
mp_falldamage 0
|
||||
sv_enablebunnyhopping 1
|
||||
sv_autobunnyhopping 1
|
||||
sv_staminamax 0
|
||||
sv_staminajumpcost 0
|
||||
sv_staminalandcost 0
|
||||
sv_staminarecoveryrate 0
|
||||
sv_accelerate_use_weapon_speed 0
|
||||
// ================================================================
|
||||
// SURF PHYSICS - Critical settings for proper surf mechanics
|
||||
// ================================================================
|
||||
|
||||
// server stuff
|
||||
sv_visiblemaxplayers 24
|
||||
mp_maxrounds 1
|
||||
host_framerate 0
|
||||
setpause 0
|
||||
sv_pure 0
|
||||
sv_pausable 0
|
||||
sv_lan 0
|
||||
sv_stats 1
|
||||
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)
|
||||
|
||||
// Execute Banned Users //
|
||||
exec banned_user.cfg
|
||||
exec banned_ip.cfg
|
||||
writeid
|
||||
writeip
|
||||
// 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
|
||||
|
||||
// Contact & Region //
|
||||
sv_contact ntr@megastructure.games
|
||||
sv_region 5
|
||||
// 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
|
||||
|
||||
// Rcon Settings //
|
||||
rcon_password changeme
|
||||
sv_rcon_banpenalty 1440
|
||||
sv_rcon_maxfailures 5
|
||||
// Fall damage and movement
|
||||
mp_falldamage 0 // No fall damage
|
||||
phys_pushscale 1000 // Push force multiplier
|
||||
|
||||
// Log Settings //
|
||||
log on
|
||||
sv_log_onefile 0
|
||||
sv_logfile 1
|
||||
sv_logbans 1
|
||||
sv_logecho 1
|
||||
// ================================================================
|
||||
// GAME MODE SETTINGS
|
||||
// ================================================================
|
||||
|
||||
// Rate Settings //
|
||||
fps_max 600
|
||||
sv_minrate 0
|
||||
sv_maxrate 20000
|
||||
sv_minupdaterate 66
|
||||
sv_maxupdaterate 66
|
||||
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
|
||||
|
||||
// Download Settings //
|
||||
sv_allowupload 1
|
||||
sv_allowdownload 1
|
||||
net_maxfilesize 500
|
||||
// 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
|
||||
|
||||
sv_cheats 0
|
||||
sv_timeout 900
|
||||
mp_idlemaxtime 60
|
||||
mp_idledealmethod 2
|
||||
// ================================================================
|
||||
// SERVER SETTINGS
|
||||
// ================================================================
|
||||
|
||||
// Communications //
|
||||
sv_voiceenable 1
|
||||
sv_alltalk 0
|
||||
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
|
||||
|
||||
// ================================================================
|
||||
// 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 "=========================================="
|
||||
|
||||
Reference in New Issue
Block a user