Jump to content
主视角中国

Recommended Posts

Posted

老外论坛里的,在这里做个备份。

//===================================================

// Template Server Config

//===================================================

//=================

// IDENTIFICATION

//=================

seta si_name "Q4Max Server" // Your server name, as it appears in game browsers

seta g_motd "Message of the Day" // change this!

sets ".Administrator" "admin" //It's you!

sets ".Email" "admin@whatever.com" //change this!

sets ".URL" "http://somewebsite.com" //change this! Good idea to list all the maps needed on your server on the website too...

// Note, the more of these info sets you include, the more data is pulled on every server browse. Crop them if you dont want them.

//=================

// PASSWORDS

//=================

seta net_serverRemoteConsolePassword "" // rcon password. Powerful, only for server admins

seta ref_password "" // Referee password.

seta g_password "" // client password. Also requires si_usePass to be set.

seta si_usePass "0" // Set if clients require a password.

//=================

// VOTING

//=================

// There are alot of controls for voting. Some server admins may want to enable everything and let

// the users decide. Others may want to enforce a strict set of rules. Q4max aims to make these

// decisions easy for server admins to implement.

// First off, basic rules for voting.

seta si_allowVoting "1" // Blanket ban on voting. Not recommended.

seta vote_limit 3 // Number of votes a client can do. 0 is unlimited.

seta vote_percent "51" // Percentage of positives required. Recommend 51. Higher can seem like a good idea, but normally ends up with one trouble maker screwing it up for everyone else.

// Then some important vote decisions

seta vote_allow_referee "1" // If you don't want elected refs, set to 0. 1 makes life easier for Clanbase and similar internet competitions.

seta vote_allow_map "1" // Recommend always allow map voting, unless you enforce a map cycle.

// Then the rest of the vote decisions

seta vote_allow_weaponrespawn "1"

seta vote_allow_warmup "1"

seta vote_allow_timelimit "1"

seta vote_allow_teamdamage "1"

seta vote_allow_selfdamage "1"

seta vote_allow_scorelimit "1"

seta vote_allow_restart "1"

seta vote_allow_remove "1"

seta vote_allow_random "1"

seta vote_allow_poweruprespawn "1"

seta vote_allow_overtime "1"

seta vote_allow_nextmap "1"

seta vote_allow_mutespecs "1"

seta vote_allow_kick "1"

seta vote_allow_gametype "1"

seta vote_allow_footsteps "1"

seta vote_allow_falldamage "1"

seta vote_allow_dropweapons "1"

seta vote_allow_droppowerups "1"

seta vote_allow_autobalance "1"

seta vote_allow_armorsystem "1"

seta vote_allow_armordecay "1"

//=================

// GENERAL SETTINGS

//=================

seta sv_punkbuster "1" //server side punkbuster

seta si_pure "1" //server does not allow any modified paks

seta si_minPlayers "2" //min to start a game (when warmup enabled)

seta si_maxPlayers "12" //max players allowed in games

seta si_numPlayers "12" //max players allowed on server

seta si_spectators "1" //allow spectators or force all to play

seta g_spectatorChat "1" //let spectators talk to everyone during game

seta si_autobalance "0" // Autobalancing of teams - 0/1

seta si_feedScorebot "0" // Enable scores in server info

//=================

// MODE SETTINGS

//=================

// This is how Q4max handles different gametypes. si_gametype is no longer required.

seta si_mode "CA" // This is the default mode. DM for the tournament mode, FFA, TDM, CTF etc.

seta si_modes "" // This is the list of available modes, space separated. "" for all.

//========

// NETWORK

//========

seta net_serverAllowServerMod "1" //allow server-side mods

seta net_serverSnapshotDelay "30" //delay between snapshots in milliseconds

seta net_serverMaxClientRate "25600" //max rate to clients in bytes/sec

//========

// MASTERSERVERS

//========

seta sv_master1 "q4master.idsoftware.com"

seta sv_master2 "master3.idsoftware.com"

seta sv_master3 "master0.gamespy.com"

//=======

// LOGGING

//=======

seta g_log "0" //enables game logging, recommend 1

seta logFile "0" // 1=buffer log 2=flush after each print

seta logFileName "stats.log" // name of logfile

seta com_logMPStats "0" // writing of multiplayer stats to StatisticsLog.txt

//===========

// MAPCYCLING

//===========

// For FFA and CTF servers, you may want to build a map cycle.

// seta g_mapCycle ""

// si_mapCycle "mp/q4dm7;mp/q4dm3;mp/q4dm2;mp/q4dm5;mp/q4dm4;mp/q4dm1;mp/q4dm8"

//=================

// START THE SERVER

//=================

seta si_map "mp/q4dm7" // Default map.

spawnserver

heartbeat

//===================================================

// Q4Max Template V0.1

// swelt, with thanks to sLater.

//

//END OF FILE

  • 10 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

登录

Already have an account? Sign in here.

现在登录
×
×
  • 创建新的...