![darkrp gamemode darkrp gamemode](https://garry.gmodaddons.com/uploads/items/12/imgs/axdmekdb.jpg)
I have a list and I can copy them all in one by one and they work, I just need a way of running them when the server starts. If my server looses power when I don't have access to it (Set the BIOS to reboot when power is lost) and restarts, I would have to VNC in and do all that. Most of the time I probably would not be able to do that. If someone could make a config file with my list of commands, I might be able to make them admin. I just want the satisfaction that I know the server will be fine if I leave for extended periods of time.
![darkrp gamemode darkrp gamemode](https://cdn.cloudflare.steamstatic.com/steamcommunity/public/images/clans/742793/45d5ba30bd846c21054e656ffc1f271ffa68fc06.png)
#Darkrp gamemode code#
If you are using another TEAM than TEAM_CITIZEN, change the TEAM in the code below (present at the end of the file) by the new TEAM. You can use the DarkRP wiki in order to use advanced functions but also this site to generate your jobs. HasLicense = false, - Have a basic weapon license? Vote = false, - Need a vote to take the job? Max = 3, - Maximum number of players in the job (0 = no limit)Īdmin = 0, - Job admin? (0 = no, 1 = admin and +, 2 = superadmin) TEAM_POMPIER = DarkRP.createJob ("Fireman",, - Weapon for the jobĬommand = "firefighter", - Job command (must always be unique) You can also allow access to the police agenda for a different TEAM than the TEAM_POLICE: In the example below, only the TEAM_CHIEF job can edit the calendar, while the TEAM_POLICE job cannot edit it. This file allows you to add the possibility to have a calendar at the top left of the screen, for the desired jobs. Configuring darkrp_customthings Configure a This file allows you to change all settings in the DarkRP gamemode, for example, remove default laws, enable spawn of vehicles, npcs, etc. Replace the database settings with your SQL settings.RP_MySQLConfig.Preferred_module = "mysqloo" RP_MySQLConfig.Database_name = "XXXXX_sql" RP_MySQLConfig.Password = "your sql password" To add a weapon, add a row, where class is the ID of the weapon (available by right clicking on the weapon at stake, then puis Copy to Clipboard . This file is used to specify which weapons do not require a weapon license. To disable features, simply change false to true. It is in this file that you can disable features, as well as objects and other basic settings of DarkRP (e.g.: disable default jobs). Configuring darkrp_config Configure disabled_a To do this, go to the server files in the srcds/garrysmod/addons/darkrpmodification/lua/ directory.
#Darkrp gamemode install#
Install DarkRP and DarkRP Modification.The installation of the DarkRP gamemode is done in a few clicks thanks to the management panel of your GMod server.
#Darkrp gamemode how to#
It allows you to experience ever more original RolePlay adventures How to install DarkRP In this guide, we'll see how to make a DarkRP server (installation and configuration).ĭarkRP is the most played gamemode of GMod.