Learn about how to change the name of your GMod server on an Atomic Networks service.
darkrp
darkrp_config
Filesdarkrp_config
files, you will need to have the “DarkRP Modification” mod installed through the Mod Manager. If you have performed this step, you can configure the files below by navigating to the path /home/container/garrysmod/addons/darkrpmodification/lua/darkrp_config
DarkRP.disabledDefaults["jobs"]
section of the file, then set the job to true
"f1menu"
under "DarkRP.disabledDefaults["modules"]"
to true
"fadmin"
under "DarkRP.disabledDefaults["modules"]"
to true
Along with these 3 common settings most people will need to change on this file, you can also change other settings in this file. To change them successfully the first time, read the comments in the disabled_defaults.lua
file made by the developer.
settings.lua
is a file that allows you to change all the unique small settings for your DarkRP server. You can find it in the pathway /home/container/garrysmod/addons/darkrpmodification/lua/darkrp_config/settings.lua
Changing the settings.lua folder is important, as it allows you to change options like:
settings.lua
file and proceed to the next step once you are done.
darkrp_customthings
is a folder inside of the DarkRP Modification addon that allows you to make custom changes to your DarkRP server. In this section, we will cover all of the notable files in this folder, and how to configure them.
Almost every file in this folder can be easily changed using a tool called YourDevTools. This will make your setup process a lot easier.
jobs.lua
file. This file consists of every job you will create for your DarkRP server. Follow the steps below to add a job to your GMod DarkRP server.
/home/container/garrysmod/addons/darkrpmodification/lua/darkrp_customthings/jobs.lua
pathway.jobs.lua
file below the section that says Add your custom jobs under the following line
.jobs.lua
file.doorgroups.lua
file. This file specifies the different door groups on your DarkRP server. To add jobs to a doorgroup, copy/paste the template and:
jobs.lua
file.demotegroups.lua
file. This file specifies the different groups that different demotions fall under. To add demote groups, copy/paste the template and:
jobs.lua
file.categories.lua
file allows you to change the way that the different groups for jobs, weapons, ammo, and vehicles are shown in the F4 menu. Change this file when you want to categorize the order and setup of entities shown in the F4 menu.
You can use YourDevTools to edit this file.
The entities that can be assigned the categories you create in this file are:
jobs.lua
file)shipments.lua
file)ammo.lua
file)vehicles.lua
file, this will make it so that players can buy vehicles through the F4 menu)entities.lua
file allows you to make entities you add to your server show up on the F4 menu. Whenever you add an addon to your server that you want to be able to be bought by your players, edit this file.
You can use YourDevTools to edit this file. You can also use the template shown below. To add an entity to this file, paste the template and:
shipments.lua
file allows you to make weapons you add to your server purchasable in the F4 menu. Whenever you add a weapon to your server that you want to be able to be bought by your players, edit this file.
You can use YourDevTools to edit this file. You can also use the template shown below. To add a purchasable weapon to this file, paste the template and:
categories.lua
file.pricesep
value.shipmodel
variable.ammo.lua
file allows you to add custom ammo for the different weapons you add to your server. Whenever you add a weapon to your server, you will need to edit it’s weapon file to add your custom ammo.
You can use YourDevTools to edit this file. You can also use the template shown below. To add a new ammo type to this file, paste the template and:
name
for your ammo.model
for your ammo, you can find the different types by searching in the Build (Q) menu.price
for your ammo.amountgiven
for your ammo. This will change how many bullets are given per ammo entity purchased./home/container/garrysmod/lua/autorun/server
vehicle_collisions.lua
/home/container/garrysmod/addons/darkrpmodification/lua/darkrp_config
and open the settings.lua
file.GM.Config.disallowClientsideScripts.
using Ctrl + Ffalse
value to true