Initial PropHunt server setup

- Complete bare metal installer with SteamCMD, MetaMod, SourceMod, ULX
- Docker installer with one-liner support
- Server configuration files (server.cfg, autoexec.cfg, mount.cfg)
- Update script for easy maintenance
- Backup script for server data
- Workshop collection documentation
- SourceMod admin configuration template
This commit is contained in:
Vish
2026-01-19 06:41:02 +00:00
parent 889fbaaf4c
commit ce7fc9f39c
17 changed files with 1839 additions and 2 deletions

156
cfg/server.cfg Normal file
View File

@@ -0,0 +1,156 @@
// ============================================
// Garry's Mod PropHunt Server Configuration
// Repository: https://git.vish.gg/Vish/gmod-prophunt-server
// ============================================
// ===================
// Server Identity
// ===================
hostname "PropHunt Server"
sv_password ""
rcon_password "changeme"
// Loading screen URL (optional)
// sv_loadingurl "https://your-loading-screen.com"
// ===================
// Network Settings
// ===================
sv_maxrate 0
sv_minrate 0
sv_maxupdaterate 66
sv_minupdaterate 33
net_maxfilesize 64
// Region (0=US East, 1=US West, 2=South America, 3=Europe, 4=Asia, 5=Australia, 6=Middle East, 7=Africa)
sv_region 0
// ===================
// Server Settings
// ===================
sv_allowcslua 0
sv_allowdownload 1
sv_allowupload 0
sv_timeout 120
sv_kickerrornum 0
// Disable cheats
sv_cheats 0
// ===================
// Gamemode Settings
// ===================
sv_defaultgamemode "prop_hunt"
sv_gamemode "prop_hunt"
// ===================
// Workshop Collection
// ===================
// Set your workshop collection ID here
// Example: host_workshop_collection "123456789"
// host_workshop_collection ""
// ===================
// Map Settings
// ===================
sv_map_min_players 0
sv_hibernate_think 1
// Map download settings
sv_downloadurl ""
sv_allowdownload 1
// ===================
// Bandwidth & Performance
// ===================
sv_maxcmdrate 66
sv_mincmdrate 33
fps_max 0
// Tick rate (set in start command, but good to have)
// Note: GMod typically runs at 66 tick
// ===================
// Logging
// ===================
log on
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_log_onefile 0
// ===================
// PropHunt Settings
// ===================
// These are typical PropHunt cvars - may vary by PropHunt version
// Round settings
ph_round_time 300
ph_swap_teams_every_round 1
// Blindlock time for hunters (seconds)
ph_hunter_blindlock_time 30
// Speed settings
ph_hunter_speed 240
ph_prop_speed 250
// Taunt settings
ph_prop_taunt_delay 5
// Hunter settings
ph_hunter_fire_penalty 5
ph_hunter_kill_bonus 30
// Props settings
ph_prop_disguise 1
// ===================
// Voice Settings
// ===================
sv_voiceenable 1
sv_alltalk 0
// ===================
// Anti-Cheat Settings
// ===================
// Block workshop downloading exploits
sv_workshop_bypass 0
// ===================
// Misc Settings
// ===================
// Gravity
sv_gravity 600
// Physics settings
gmod_physiterations 4
// Prop protection
sbox_godmode 0
sbox_plpldamage 1
// Limits (for sandbox, but good to have set)
sbox_maxprops 0
sbox_maxragdolls 0
sbox_maxnpcs 0
sbox_maxballoons 0
sbox_maxeffects 0
sbox_maxdynamite 0
sbox_maxlamps 0
sbox_maxthrusters 0
sbox_maxwheels 0
sbox_maxhoverballs 0
sbox_maxvehicles 0
sbox_maxbuttons 0
sbox_maxemitters 0
// ===================
// Execute Additional Configs
// ===================
exec banned_user.cfg
exec banned_ip.cfg
echo "============================================"
echo "PropHunt Server Configuration Loaded!"
echo "============================================"