CyriusG Posted April 1, 2010 Share Posted April 1, 2010 (edited) I have decided to make a little tutorial on how you set up your own Source server.First download hldsupdate tool from here and install it.Next go to the folder were you installed it and make a shortcut of HldsUpdateTool.exe and open it properties.Now put this at the end of the target line.-command update -game "Counter-Strike Source" -dir C:\srcdsSo it will look like this.C:\server\HldsUpdateTool.exe -command update -game "Counter-Strike Source" -dir C:\srcdsNote -dir C:\srcds is where the the files will be downloaded to, if you want to put it into another folder instead just change it to whatever folder you want.Now start it through the shortcut and then you just have to wait for it to be done.Note that you also can download the files for Team Fortress 2, Half Life 2 Deatmatch or Day of Defeat Source with the same command. You just have to change the "Counter-Strike Source" part to whatever games you would like to get.Counter Strike Source - Counter-Strike SourceTeam Fortress 2 - tfDay of Defeat Source - dodsHalf Life 2 Deathmatch - hl2mpWhen that is done you have to start the server. I recommend using the bat script that i have attached you just have to modify the way you want with which map you want it to start with and how many max players, this script will restart the server if it have crashed.Now you have to configure the server.Create a text file and open it.Paste this into it:// Server Detailshostname "<Name of the server>"//mp_roundtime 5 //How long the rounds aremp_freezetime 0 //How much players have to wait before they can move at a new roundmp_timelimit 30 //How long each map ismp_dynamicpricing 0mp_buytime 0.5 //How much time players have to buy weapons 0.5 = 30secsv_accelerate 5sv_airaccelerate 10sv_stopspeed 50sv_consistency 0sv_pure 1 //This makes shure that players cant any custom textures for cheatingmp_flashlight 1 //If flashlights should be allowedmp_winlimit 0 //How many times a team can win before the server changes map 0 = infinitysv_turbophysics 0mp_friendlyfire 0 //If friendlyfire should be on or offmp_hostagepenalty 2sv_allowupload 1sv_allowdownload 1sv_alltalk 1 //If each teams can talk with each other through voice chat// Location Europesv_region 3 //Which region the server belongs to 3 = europe// Passwordsrcon_password "<your password> //Which password you use for remote console or rconsv_rcon_banpenalty 60sv_rcon_maxfailures 5 sv_rcon_minfailures 2sv_rcon_minfailuretime 30sv_pausable 0// Banned.cfgexec banned.cfgexec banned_user.cfgexec banned_ip.cfgwriteidwriteip// Server side rates settings// Do not change as these are setup for a perfect gaming experiencesv_maxrate 20000sv_maxupdaterate 66fps_max 300// Logging onLog onexec autoexec.cfgI know these aren´t the best settings but i use similar settings on my own server and it works fineJust change the rcon password to what you want and also change the name of the server.Now save it as server.cfg and dont forget to change the type of the file to all otherwise it will just be a text file which the server cant use.Now copy this into the cfg folder on your server.Installing server modsAfter you have installed your server you usually want to install a admin mod like sourcemod.I will explain how to install sourcemod and meta mod source.First download metamod source from here and extract it into the cstrike folder on your server. Now you just have to make your VDF file. Goto here to create your file. Now download it and put it in the cstrike/addons folder on your server. And your done with metamod.But i also recommend you to install fps boost since i presume you are running windows which dont allow the server to run more than 64 fps which will do so the server seems laggy. So download the attached file (fpsboost) and extract it into the cstrike folder on your server. Now you just have to add this:addons/fpsboost/bin/fpsboost_mminto your metaplugins.ini file which is located at addons/metamod at the end of it so fps boost loads.Now we will install sourcemod.First download it from here and extract it into the cstrike folder.Now you just have to configure it.First add yourself as admin.Goto addons/sourcemod/configs and open admins_simple.iniNow to add yourself you have to get your steam idand you can do this by going to any server and type status in console and copy your steam id and close the game, a steam id can look like this: STEAM_0:0:15251560Now go back to the admins_simple.ini file and type at the end "<your steam id>" so it looks like this "STEAM_0:0:15251560" now make a space and type "99:z" 99 stands for the immunity of the user and z is which flag the user have. The user here have immunity of 99 and have also root access, you can see all the flags available hereWhen you are done it should look like this. //// READ THIS CAREFULLY! SEE BOTTOM FOR EXAMPLES//// For each admin, you need three settings:// "identity" "permissions" "password"//// For the Identity, you can use a SteamID or Name. To use an IP address, prepend a ! character.// For the Permissions, you can use a flag string and an optional password.//// PERMISSIONS:// Flag definitions are in "admin_levels.cfg"// You can combine flags into a string like this:// "abcdefgh"//// If you want to specify a group instead of a flag, use an @ symbol. Example:// "@Full Admins"//// You can also specify immunity values. Two examples:// "83:abcdefgh" //Immunity is 83, flags are abcdefgh// "6:@Full Admins" //Immunity is 6, group is "Full Admins"//// Immunity values can be any number. An admin cannot target an admin with // a higher access value (see sm_immunity_mode to tweak the rules). Default // immunity value is 0 (no immunity).//// PASSWORDS:// Passwords are generally not needed unless you have name-based authentication.// In this case, admins must type this in their console://// setinfo "KEY" "PASSWORD"//// Where KEY is the "PassInfoVar" setting in your core.cfg file, and "PASSWORD"// is their password. With name based authentication, this must be done before// changing names or connecting. Otherwise, SourceMod will automatically detect// the password being set.// ////////////////////////////////// Examples: (do not put // in front of real lines, as // means 'comment')//// "STEAM_0:1:16" "bce" //generic, kick, unban for this steam ID, no immunity// "!127.0.0.1" "99:z" //all permissions for this ip, immunity value is 99// "BAILOPAN" "abc" "Gab3n" //name BAILOPAN, password "Gab3n": gets reservation, generic, kick// ////////////////////////////////"STEAM_0:0:15251560" "99:z" //JockeHere i have also labeled myself as "Jocke" the // means that anything after it on the same line is a comment and will be ignored.Now you want to configure sourcemod. Goto cfg/sourcemod and open sourcemod.cfg and configure it the way you want it.There is also some plugins that are disabled in sourcemod by default like rtv. If you want to enable it goto addons/sourcemod/plugins/disabled and move rockthevote.smx on step back, but it also needs mapchooser.smx so move that too and if you want to enable nomination also move nominations.smx one step pack into the plugins folder.And now you should have a fully working server. If you want to use a map rotation just move nominations, mapchooser and rockthevote back into the disabled and you can configure the rotation by opening mapcycle.txt in the cstrike folder and remove or move the maps the way you want it.If players cant join the server you maybe have to open some ports. Goto this site and look for the name of your router and the look for "Half Life 2 Steam Server" and follow the guide.I hope you all liked this. fpsboost.zipSRCDS Guardian 3.rar Edited April 7, 2010 by CyriusG Quote Link to comment
TheGreenGrasshopper Posted April 1, 2010 Share Posted April 1, 2010 looks neat but hlds always fail when I try to update tf2 for some reason.btw since you made the turorial, could I ask: you wouldn't have an idea why I keep getting kicked for servers because it says I have plugins even tho it's only metamod and sourcemod? Quote Link to comment
CyriusG Posted April 1, 2010 Author Share Posted April 1, 2010 Do you get kicked from your own servers or from all servers? And what do you mean with you just have metamod and sourcemod? Is it on your server or in what game you use? If you have it installed in your game i suggest you to try and remove them, if it is on your server i have no idea why because it have never happened to me. Quote Link to comment
TheGreenGrasshopper Posted April 1, 2010 Share Posted April 1, 2010 well I have it in my game so I can use it when I make a listen server but every server (not my own of course) kicks me because it says I have plugins running and the only how to get in is move the whole metamod and sourcemod folder somewhere else and then restart the game. Which is weird because I should be able to have plugins in my folder. Quote Link to comment
Mayco Posted April 2, 2010 Share Posted April 2, 2010 well I have it in my game so I can use it when I make a listen server but every server (not my own of course) kicks me because it says I have plugins running and the only how to get in is move the whole metamod and sourcemod folder somewhere else and then restart the game. Which is weird because I should be able to have plugins in my folder.They can be used for cheating/uploading files to another server (or something like that), so you get kicked if you run it. This is where a dedicated server comes in handy (like the one described here), because you don't have to run all the plugins on your client. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.