Server.cfg para los servidores de Garry's mod

De Nitradopedia ES
Saltar a: navegación, buscar
Garrysmod wiki.jpg
Alquila tu propio servidor de Garry's mod ahora en nitrado.net


Esta guia es para Garry's Mod

Configuración básica

En server.cfg establecerás todas las configuraciones básicas en el servidor. Es decir, (por ejemplo, el nombre de host, la contraseña (opcional) o la contraseña de RCON Si estableces "//" antes de una opción de configuración, la configuración no se aplicará, ya que esto se usa como comentario. Es decir, el servidor no carga lo que está detrás del "//" Esto como ya se dijo es bastante bueno para agregar comentarios en el server.cfg, para que no siempre tengas que buscar en Google los comandos al cambiarlos.

Ahora verás un ejemplo de modifiación en el archivo server.cfg que hemos dividido en dos partes: "La parte que se puede modificar" y "Por favor, no modifiques esto, de lo contrario habrá problemas en el servidor"

Ahora simplemente haz clic en tu interfaz web y detén tu servidor, ve al Editor de configuración, selecciona el archivo server.cfg Ahora puedes copiar, pegar y editar el archivo server.cfg según tus deseos.

Ejemplo de Server.cfg

//***
//The changeable part. This is where you can change everything without having to worry about the server being smeared.
//***

// What is the name of your server? (Also displayed in the server browser)
Hostname "Your server-name"

// The RCON password is required to administer the server via the console.
Rcon_password "changeme"

// The command "sv_password" is used to set a "join password". This is helpful to leave only the desired people on the server who know the password.
// If the server should be open to all, just put a "" behind the command
Sv_password "DEINPASSWORT" // or if no password is desired: sv_ password ""

// Spawns Pro Player Settings
// All numbers in the game settings indicate the amount that can be spawned.
// If a particular thing is not to be spawned, simply set the value to "0"
"sbox_maxprops"			"150"       //Sets the maximum amount of "props" a player can have on the map
"sbox_maxragdolls"		"6"         //Sets the maximum amount of "Ragdolls" a player can have on the map
"sbox_maxballoons"		"15"        //Sets the maximum amount of "balloons" a player can have on the map
"sbox_maxeffects"		"1"         //Sets the maximum amount of "effects" a player can have on the map
"sbox_maxdynamite"		"2"         //Sets the maximum amount of "dynamite" a player can have on the map
"sbox_maxlamps"			"3"         //Sets the maximum amount of "Lamps" a player can have on the map
"sbox_maxthrusters"		"30"        //Sets the maximum amount of "Thrusters" a player can have on the map
"sbox_maxwheels"		"20"        //Sets the maximum amount of "Wheels" a player can have on the map
"sbox_maxnpcs"			"0"         //Sets the maximum amount of "NPCs" a player can have on the map
"sbox_maxhoverballs"		"10"        //Sets the maximum amount of "hoverballs" a player can have on the map
"sbox_maxvehicles"		"10"        //Sets the maximum amount of "Vehicles" a player can have on the map
"sbox_maxbuttons"		"15"        //Sets the maximum amount of "buttons" a player can have on the map

// Game settings
"sbox_plpldamage"	"0"      //"player-to-player" damage, active if the value is set to 0
"sbox_godmode"		"0"      //All players are invulnerable if value is set to 1 (ATTENTION, LIFT "sbox_plpldamage")
"sbox_noclip"		"1"      //Allows players to fly., Active if the value is set to 1

"sv_noclipaccelerate"		"5"      //Sets the flight speed of noclip
"sv_alltalk"			"1"      //If the value is 1, players can hear from opponent teams, if the value to 0 is not


//***
//DO NOT MAKE ANY MORE THAN THAT IT CAN CAUSE THROUGH PROBLEMS
//***

// Connectivity settings
"sv_minrate"         "0"         //Minimum connection speed
"sv_maxrate"         "20000"     //Maximum connection speed
"decalfrequency"     "10" 
"sv_maxupdaterate"   "66"        //Maximum tick rate
"sv_minupdaterate"   "10"        //Minimum tick rate
"net_maxfilesize"    "60"        //Maximum size of a file that servers can send (in MB)

// surgery
"sv_lan"	"0"        //The command controls whether the server is accessible via the Internet or local
"sv_region"     "255"      //Server region (for the server browser) 255 means that the server can be reached anywhere in the world

// execute ban files
Exec banned_user.cfg // This command is for all bans to be active after a mapchange/server restart

Opciones de configuracion avanzada

Esta pequeña seleccion de congiguraciones es por mucho, una minima parte de todas las configuraciones disponibles, aqui las puedes revisar