Community
All Features
Overview of all exisiting features.
Arcade
Play various games in the arcade.
Awards
Earn awards for different tasks.
Bug Tracker
Report site related bugs the right way.
Credits
Everything related to credits.
Groups
A list of user run groups you can join.
Help Center
Official regulations and help documents.
Member List
A list of all registered members.
Latest Announcements
Staff Recruitment | September 2022
Changelog #34 - 03/04/2022
April Update - Index Redesign and Unlock Content Experiment
Support
Shop
Upgrade
Log In
Create Account
NulledBB
General
Gaming
Garry's Mod
How to set up Server.cfg [GMOD]
Create an account
Login
PrivateAlps.net - Offshore Cloud Services | VPS/RDP/VPN - Dedicated Servers - Webhosting - TOR Services - Auto Deploy
Garry's Mod
How to set up Server.cfg [GMOD]
Submitted by Tahoura,
12-06-2019, 05:40 PM
, Thread ID: 133671
Thread Closed
Reply
1
2
12-06-2019, 05:40 PM
This post was last modified: 12-06-2019, 05:46 PM by
Tahoura
#1
Gmod
Server.cfg
The file Should be inside:
YourServer\garrysmod\cfg
Basics:
(Important)
Hostname
"[ServerName]"
sv_password
"[Password]"
//
The Server password(Delete the whole line if no password)
r
c
on_password
"[RconPass]"
//
The rcon password that can be used to make changes to the server settings later
Network:
(OPTIONAL)
sv_loadingurl
"[URL]"
//Loading screen URL
sv_downloadurl
"[URL]"
//Direct-Download URL(
Using workshop is Better//faster
)
sv_allowdownload
1
//Allows direct Download from the server (
disable if using fastDL
)
sv_allowupload
0
//Allows Uploading to the server (
Always 0, or your server will be abused
)
net_maxfilesize
64
//Max file size per download (
max:
64
)
Logging:
(OPTIONAL)
log
on
/
log
off
//
Whether or not the server should belogging
.(
On
/
off
)
sv_logbans
1
//
Whether or not bans should be logged.
(
1
-On
/
0
-off
)
sv_logecho
0
//
Whether or not log info should be sent to the server console.
(
1
-On
/
0
-off
)
sv_logfile
1
//
Whether or not logs should be saved in log files.
(
1
-On
/
0
-off
)
sv_log_onefile
0
logs will be saved to only a single file.
(
1
-On
/
0
-off
)
Sandbox Configuration:
(OPTIONAL) (Only for sandbox Servers)
sbox_noclip
1
//Allows players to noclip
sbox_godmode
0
//Allows players to go godmode
sbox_playershurtplayers
1
//Allows PVP
sbox_maxprops
150
//Max props can begenerated
sbox_maxragdolls
6
//max Ragdolls can be generated
sbox_maxnpcs
0
//Max Npcs can begenerated
sbox_maxballoons
6
//Max Balloons can be generated
sbox_maxeffects
6
//Max effects can be generated
sbox_maxdynamite
0
//Max Dynamite can be generated
sbox_maxlamps
6
//Max Lamps can begenerated
sbox_maxthrusters
6
//Max Thrusters can be generated
sbox_maxwheels
6
//max Wheels can be generated
sbox_maxhoverballs
6
//max Hoverballs can be generated
sbox_maxvehicles
0
//Max Vehicles can be generated
sbox_maxbuttons
10
//Max Buttons can be generated
sbox_maxemitters
0
//Max Emitters can be generated
Execute a
.cfg
File
:
(The file needs to be inside: Server\garrysmod\cfg)
exec
File.cfg
EXAMPLE :
hostname
"[ENG] best sandbox server evar!!"
sv_password
"spaghetti123"
rcon_password
"impoor123"
sv_loadingurl
"www.MyserverLoading.com/loading.html"
sv_downloadurl
"www.dropbox.com/Files"
sv_allowdownload 1
sv_allowupload
0
net_maxfilesize
64
log on
sv_logbans
0
sv_logecho
0
sv_logfile
1
sv_log_onefile
0
sbox_noclip 1
sbox_godmode
0
sbox_playershurtplayers
1
sbox_maxprops
150
sbox_maxragdolls 10
sbox_maxnpcs 10
sbox_maxballoons 20
sbox_maxeffects 10
sbox_maxdynamite
0
sbox_maxlamps
6
sbox_maxthrusters 7
sbox_maxwheels 7
sbox_maxhoverballs 7
sbox_maxvehicles 10
sbox_maxbuttons
10
sbox_maxemitters
0
exec file.cfg
exec fpsboost.cfg
exec banList.cfg
HOPE THIS HELPED ! :peace:
More
RE: How to set up Server.cfg [GMOD]
12-06-2019, 07:34 PM
#2
Thanks for the post my guy very cool ima add this shidd
More
1
Tahoura
RE: How to set up Server.cfg [GMOD]
18-06-2019, 04:34 PM
#3
Good list, thanks for the explanation of the lines. very grateful: 3
More
1
Tahoura
RE: How to set up Server.cfg [GMOD]
22-06-2019, 05:00 PM
#4
Thank you I needed alot of help with setting up the server CFG files now I know how to use it!
More
1
Tahoura
RE: How to set up Server.cfg [GMOD]
22-06-2019, 05:18 PM
#5
i look so long for this one of a config.. thank u. very helpful !!!
More
1
Tahoura
RE: How to set up Server.cfg [GMOD]
25-06-2019, 05:49 PM
#6
Thanks you ! when I think of that, It's easy to configure :o
More
1
Tahoura
RE: How to set up Server.cfg [GMOD]
15-07-2019, 04:58 PM
#7
Good list, thanks for the explanation of the lines. very grateful: 3
More
1
Tahoura
RE: How to set up Server.cfg [GMOD]
16-07-2019, 01:52 AM
#8
finally, some decent guide on how to configure server.cfg. It will be very useful because I am trying to make my own server. I had one problem. how to start the server with "screen".
More
1
Tahoura
RE: How to set up Server.cfg [GMOD]
16-07-2019, 07:35 PM
#9
C'est dans le dossier LGSM puis vous modifi les deux fichier _default et le nom du serveur c'est dans serverfiles et cfg
More
1
Tahoura
RE: How to set up Server.cfg [GMOD]
16-07-2019, 08:52 PM
#10
Where can I find all the config variables for the server? There are few variables for the server.
More
1
Tahoura
1
2
Users browsing this thread: 1 Guest(s)