Absurd Minds

More than 100 years without a motto.
It is currently 28 Nov 2024 08:18

All times are UTC-04:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 16 May 2010 14:21 
Offline
User avatar

Joined: 25 Mar 2010 19:07
Posts: 8392
If you have installed a Counter Strike or Condition Zero server, it has installed it with a number of default settings. But maybe you don't want to just use the basic settings. This thread will show you some important files you can edit to make your server more individual and more to your liking.


Top
   
PostPosted: 16 May 2010 14:26 
Offline
User avatar

Joined: 25 Mar 2010 19:07
Posts: 8392
motd.txt

This is the MOTD that people will see when they first join the server, before they choose what team they go on. You can edit this however you want, to make a nice fancy MOTD if you desire. You can add things like your server's name, your server's rules, a list of admin, or whatever. It uses HTML, so if you know HTML you can also configure the text styles and colours.

Fixing the MOTD scrolling problem

I noticed on my server, after I had added a bunch of lines to the MOTD, that the MOTD needed to scroll. It was too much text to fit on the screen at once, so the MOTD had a scroll bar. For some reason, though, dragging the scoll bar did not work. The scroll bar went down, but the text did not move up. It made it impossible to read the rest of the MOTD.

To fix this problem, delete the following line at the top of the MOTD:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
I have no idea what that line does or why it breaks the scrolling, but removing that line fixes the problem.


Top
   
PostPosted: 16 May 2010 14:31 
Offline
User avatar

Joined: 25 Mar 2010 19:07
Posts: 8392
mapcycle.txt

These are all the maps that the server cycles through. If you download a custom map, you need to add it to the mapcycle.txt in order for it to show up in the map rotation. This is also the order the maps cycle in. Switch the maps around to change up the order that they come up in.

I found it extremely helpful to just keep them in alphabetical order. It made it a lot easier to remove maps if I ever needed to, and since I was using an AMX map vote plugin, it didn't get boring - it wasn't all the cs maps first, and then all the de maps.

If you're not using AMX, try mixing up the maps into an order that seems like it would be fun. Maybe put lesser-played maps in between dust2 and aztec, to keep the gaming interesting. Or, delete all but the four or five most popular maps, to have a server with only those most popular and well-played maps.


Top
   
PostPosted: 16 May 2010 15:54 
Offline
User avatar

Joined: 25 Mar 2010 19:07
Posts: 8392
server.cfg

This file is what contains all of your basic server settings. The server.cfg file gets executed every time the server starts, so if you make a change within this file you'll have to restart your server (or use the rcon command "exec server.cfg") in order for those changes to take effect.

This is what one of my server.cfg files looks like. (Again, everything in green is just my comment about what's happening)

// Use this file to configure your DEDICATED server. Anything with a // in front of it is a comment - it doesn't get executed at all.
// This config file is executed on server start.

sys_ticrate 1000 This is the server's FPS. So my server renders 1000 frames per second
//fps_max 500 fps_max is NOT a valid HLDS server.cfg cvar. fps_max is a CLIENT setting. To control your server's fps, use sys_ticrate. If you use fps_max, you will NOT change your fps.
(fps_max does control your fps in a source server though... just FYI.)


sv_aim 0 Enables/disables the auto aim function. 0-off, 1-on
pausable 0 Sets whether or not you can pause the server
sv_proxies 0 The number of HLTV proxies that can connect to the server.
rcon_password ***** Set your rcon password here
sv_region 0 Your server's region. Check here for a list of regions.
log off Sets whether or not your server logs. Useful for catching people breaking rules, but it can make a lot of log files, so be sure to delete them frequently.
hostname "[AM] Pub|*RECRUITING*|1000fps|FastDL" Sets the name of your server.

sv_downloadurl "http://****" If you have a fast download server, specify the URL here

sv_allowupload 1 Allow players to upload to the server, ie allow them to use custom sprays.
sv_allowdownload 1 Whether or not players can download content from your server (sounds, maps, skins, etc). You should pretty much always have this set to 1.
decalfrequency 15 The frequency in seconds with which a player can spray.

sv_maxrate 15000 The largest number of bytes/second a player can request from a server. 0 is unlimited
sv_minrate 2000 The minimum number of bytes/second a player can request.
sv_maxupdaterate 30 Maximum number of updates/second that the server will send a player.

I have explained how to optimize rates in this post

sv_voiceenable 1 Sets whether or not players can talk.
sv_voicecodec voice_speex The voice codec used. This codec is automatically installed (you don't have to do it yourself) but this cvar isn't automatically in the server.cfg. If everybody's voices sound robotic, it's probably because you forgot to add this cvar.
sv_voicequality 3 Choose from 1-5. 1 is worst, if you REALLY need to preserve bandwidth. 5 is best, and a good choice to use on a hosted scrim server or something where bandwidth is no issue but voice quality is. 3 is a good middle ground.
sv_alltalk 0 Set whether or not players can hear people who are on the other team.

mp_timelimit 0 This is the amount of time in minutes that the server will stay on one map. 0 is no limit.
mp_maxrounds 21 The maximum number of rounds that a server will stay on one map.
mp_winlimit 0 The maximum number of wins one team can have before the map will change
Use any combination of these three cvars to control how frequently the server changes map.

mp_roundtime 2.5 The amount of time in minutes for each round
mp_chattime 5 The amount of time in seconds that you can talk at the end of a map before the map change actually occurs.

mp_c4timer 35 How long the C4 beeps before explosion.

mp_autoteambalance 1 Set whether or not the server auto-team-balances if the teams are uneven.
mp_limitteams 1 The number of players one team is allowed to have over the other. 0-no limit. 1-one player. 2-two players.
mp_allowspectators 1 Allow people to be in Spectator.
mp_autokick 1 Whether or not it kicks people who are in spectate.


mp_freezetime 5 The amount of time in seconds you have at the beginning of the round where you can't move.
mp_buytime .5 The amount of time in seconds that you're allowed to buy at the beginning of the round.
mp_startmoney 800 The amount of money you start with.

mp_flashlight 1 Set whether or not players can use their flashlight.
mp_footsteps 1 Set whether or not footsteps make noise.
mp_forcechasecam 0 Set how a dead player can spectate living players. 0-no restrictions. 1-view your teammates in locked chase cam. 2-view your teammates in first person view.

mp_friendlyfire 1 Sets friendly fire
mp_hostagepenalty 0 The number of hostages a player can kill before they get kicked.
mp_tkpunish 0 Sets whether a player gets slayed on next spawn for team kill.

sv_cheats 0 Sets the server to VAC secure.
sv_consistency 0 Allows players to use custom models. 0-no consistency check performed. 1-Allows custom models that aren't huge. 2-Will drop any player who doesn't have the same models.
sv_lan 0 Sets whether the server runs on a LAN or over the internet
sv_password Sets a password on the server. Leave blank for a public server.

humans_join_team any Allow humans to join any team.
bot_join_team any Allow bots to join any team.
bot_join_team_ct, for example, would restrict bots to joining just the CT team.

bot_quota 0 The number of bots on the server.
bot_auto_vacate 0 Sets whether or not a bot leaves to make room for a human player.
bot_difficulty 0 The bot skill level. 0-easy. 1-medium. 2-hard. 3-expert.
bot_join_after_player 0 If set to 1, the bots won't join until a human joins. If 0, bots will play on the server without humans.

These are the weapons settings for the bots.
bot_allow_grenades 0
bot_allow_shield 0
bot_allow_snipers 1
bot_allow_machine_guns 1
bot_allow_rifles 1
bot_allow_shotguns 1
bot_allow_sub_machine_guns 1
bot_allow_pistols 1

bot_prefix [AbsurdBot] This prefix will be on the bot's name.
bot_chatter off Set whether the bots talk over the radio.
bot_defer_to_human 1 Set whether or not bots can rescue hostages or defuse the bomb if humans are still alive.
bot_stop 0 With bot_stop 1, the bots won't move or shoot.


// load ban files To add bans, use these files.
exec listip.cfg addip 0.0 1.2.3.4 - that's a permanent ban to IP address 1.2.3.4
exec banned.cfg banid 120.0 STEAM_0:0:00000 - Bans the steam ID 0:0:00000 for 120 minutes.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC-04:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited