Guest User

server.cfg

a guest
Mar 16th, 2025
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.14 KB | None | 0 0
  1. sv_downloadurl "https://fastdl.serveme.tf/"
  2. sv_allowdownload 1
  3. sv_allowupload 0
  4. net_maxfilesize 64
  5.  
  6. // Server optimization
  7. //lzma_persistent_buffer 1 // Allocates more memory upfront for a one time buffer for compression
  8. sm_cvar mp_ik 0 // Disable IK on models, which increases performance and may improve hitreg
  9. sv_motd_unload_on_dismissal 1 // Unload MOTD on clients after dismissal
  10. anim_3wayblend 0 // Disable three way animation blending on some entities
  11. ai_expression_optimization 1 // Enable optimizations to facial expressions based on visibility
  12. ai_expression_frametime .015 // Enforce perfect frametime, or else optimizations fallback to full optimization without checking visibility
  13. //host_timer_spin_ms 0.5 // Use CPU busy-loop for improved timer precision on Windows
  14. //sm_cvar sv_pushaway_clientside 0 // No phys obj pushaway
  15.  
  16. // Server optimizations 100
  17. sv_turbophysics 1 // Disable interactive physics
  18. host_timer_spin_ms .999 // Let the scheduler handle the timer unless we need more precision
  19. tf_resolve_stuck_players 0 // Disable movement stuck resolve
  20. mp_holiday_nogifts 1 // No gifts
  21. tf_spells_enabled 0 // No spells
  22. tf_classlimit 10 // Prevent stacking exploits for edicts
  23. tf_tournament_classlimit_demoman 10 // ^ (for MvM)
  24. tf_tournament_classlimit_engineer 10 // ^// Server optimizations
  25. host_timer_spin_ms .999 // Let the scheduler handle the timer unless we need more precision
  26. tf_resolve_stuck_players 0 // Disable movement stuck resolve
  27. mp_holiday_nogifts 1 // No gifts
  28. tf_spells_enabled 0 // No spells
  29. tf_classlimit 10 // Prevent stacking exploits for edicts
  30. tf_tournament_classlimit_demoman 10 // ^ (for MvM)
  31. tf_tournament_classlimit_engineer 10 // ^
  32.  
  33.  
  34. // Hitreg optimization
  35. // ~~Demanding~~ settings. Make sure your players have good ping and a good connection.
  36. //sv_clockcorrection_msecs 30 // Set all clients closer to a central server truth (2 tick intervals)
  37. //sv_mincmdrate 66 // Enforce syncing as much as possible to the server
  38. //sv_minupdaterate 66 // ^
  39. //sv_client_cmdrate_difference 0 // ^
  40. sv_client_max_interp_ratio 2 // Restrict players from using an interp higher than needed
  41. sv_minrate 81048 // The minimum acceptable rate is the default TF2 rate 0,08 Mb/s 81Kb/s
  42. sv_maxrate 1500000 // 1,5 Megabyte maxrate
  43. //sv_client_predict 1 // Enforce client side prediction
  44. //sm_cvar sv_maxusrcmdprocessticks_holdaim 1 // Holds client aim angles to server for 1 tick
  45.  
  46. //sv_master_share_game_socket 0 // Use another socket for queries (port 26900), instead of redirecting through game server. Not recommended.
  47. // Demanding on server upload speed. Use TF2 defaults (comment) instead if needed.
  48. //net_maxcleartime .029 // Rate limiting should never delay more than our correction
  49. //net_splitpacket_maxrate 83160 // Split packets are sensitive to faster rates
  50. //net_compresspackets_minsize 180 // Compress more packets (may be CPU intensive)
  51. net_compresspackets 0
  52. sv_parallel_sendsnapshot 1 // Send to each player in parallel
  53.  
  54.  
  55. // NETWORK 100
  56. // Per player scaling
  57. //sv_client_cmdrate_difference 0 // Freedom to adjust settings
  58. sv_mincmdrate 5 // cmdrate still increases server load
  59. sv_maxcmdrate 60 // ^
  60. sv_minupdaterate 5 // Reduce snapshot packing
  61. sv_maxupdaterate 60 // ^
  62. net_queued_packet_thread 581304 // Force all packets to be threaded
  63.  
  64. //net_splitrate 200000 // Force threaded packets as soon as possible
  65.  
  66. //sv_master_share_game_socket 0 // Keep 100 player saturated game response separate from master server
  67. // Quality optimizations100
  68.  
  69. tf_tournament_hide_domination_icons 1 // Prevent players from spotting icons instead of players
  70.  
  71. mp_show_voice_icons 0 // ^
  72.  
  73. // Lag rules 100
  74. //sv_clockcorrection_msecs 130 // Keep tick base in line with updates
  75. //sv_maxusrcmdprocessticks 29 // Let the cmds lag a bit more due to delays
  76. //sv_playerperfhistorycount 0 // Clear out data
  77. // Drop packets
  78. net_maxpacketdrop 1
  79.  
  80. // Client optimizations
  81. sv_motd_unload_on_dismissal 1 // Unload MOTD on clients after dismissal
  82. //breakable_multiplayer 0 // Disable gibs
  83. //func_break_max_pieces 0 // ^
  84. //prop_active_gib_limit 0 // ^
  85. //props_break_max_pieces_perframe 0 // ^
  86. //g_ragdoll_important_maxcount 0 // ^
  87. //g_ragdoll_maxcount 0 // ^
  88. tf_spawn_glows_duration 0 // Disable spawn glows
  89. tf_spec_xray 0 // Disable spec glows
  90. tf_avoidteammates_pushaway 0 // Don't resolve pushaway for so many players
  91. anim_3wayblend 0 // Disable 3-way blend
  92.  
  93. // Disable clientside exploits / misc abuse
  94. sv_allow_voice_from_file 0 // Disable playing voice from a custom file
  95. tf_tournament_hide_domination_icons 1 // Prevent players from spotting icons instead of players
  96. mp_show_voice_icons 0 // ^
  97. sv_restrict_aspect_ratio_fov 0 // Allow ultrawide
  98. mp_forcecamera 1 // Force first person
  99. sv_no_name_changes 1 // No name changes
  100. sv_namechange_cooldown_seconds 300 // Limit name change abuse
  101. sv_allowupload 0 // No uploads to limit attack vectors
  102. sv_allow_voice_from_file 0 // Disable playing voice from a custom file
  103. // Security
  104. sv_allowupload 0 // No uploads to limit attack vectors
  105.  
  106. // Logging
  107. con_timestamp 1
  108. sv_log_onefile 0
  109. log on
  110. sv_logfile 1
  111. sv_logecho 1
  112. sv_logbans 1
  113. sv_stats 1
  114. logstf_apikey "[API KEY HERE]"
  115.  
  116. //exec info
  117. //exec social
  118. //exec balance
Advertisement
Add Comment
Please, Sign In to add comment