Garry's Mod server.cfg generador

Garry's Mod lee server.cfg como cualquier servidor Source, pero la mayoría de lo que la gente quiere cambiar está en manos del modo de juego en lugar del motor.

Comenzar desde un preset

Ajustes visuales

source Formato
Identity

Server name in the browser.

Gameplay

Props each player may spawn. Without a sensible limit, players will find the ceiling for you and take the server with it.

Ragdolls per player.

Vehicles per player.

Lets players noclip. Sandbox-only — these limits do nothing on other gamemodes.

Players cannot be hurt.

Everyone hears everyone on voice.

Cheat commands. Note that gamemodes and addons often set their own values after this file runs, so a setting here can be overridden at runtime.

Players & Access

Join password.

Slot limit. Note this is normally set on the command line rather than here.

Network

Game server login token, required for the server to appear in the public browser.

RCON & Query

Remote console password. Change it.

server.cfg

rcon_passwordThis is still the example RCON password. Change it, and keep the RCON port off the public internet.
sv_setsteamaccountWithout a game server login token the server will not appear in the public browser, however your ports are configured.
hostname "Spawnly GMod"
sv_password ""
rcon_password "changeme"
sv_setsteamaccount 
maxplayers 16
sbox_maxprops 5000
sbox_maxragdolls 50
sbox_maxvehicles 10
sbox_noclip 1
sbox_godmode 0
sv_alltalk 1
sv_cheats 0

Cómo funciona la sintaxis del server.cfg

Comandos separados por espacios, comillas alrededor de los valores que contienen espacios, 1 y 0 para booleanos. Los comandos de límite de sandbox solo existen mientras el modo de juego sandbox está cargado, por lo que establecerlos en un servidor que ejecuta un modo de juego diferente no hace nada.

El error que cuesta horas a la gente

Los complementos y los modos de juego suelen anular server.cfg en tiempo real. Un servidor DarkRP establece muchos de sus propios valores a partir de sus propios archivos de configuración después de que server.cfg ya se ha ejecutado, por lo que una edición aquí se puede aplicar correctamente y luego reemplazarse de inmediato. Comprueba la configuración del modo de juego antes de asumir que el archivo se ignoró.

Soporte & Ayuda