Advertisement
jonas13362

config

Jan 28th, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.60 KB | None | 0 0
  1. /*---------------------------------------------------------------------------
  2. DarkRP config settings
  3. ---------------------------------------------------------------------------
  4.  
  5. This is the settings file of DarkRP. Every DarkRP setting is listed here.
  6.  
  7. Warning:
  8. If this file is missing settings (because of e.g. an update), DarkRP will assume default values for these settings.
  9. You need not worry about updating this file. If a new setting is added you can manually add them to this file.
  10. ---------------------------------------------------------------------------*/
  11.  
  12.  
  13. /*
  14. Toggle settings
  15. Set to true or false
  16. */
  17.  
  18. -- voice3D - Enable/disable 3DVoice is enabled
  19. GM.Config.voice3D = true
  20. -- AdminsCopWeapons - Enable/disable admins spawning with cop weapons
  21. GM.Config.AdminsCopWeapons = true
  22. -- allow people getting their own custom jobs
  23. GM.Config.allowjobswitch = true
  24. -- allowrpnames - Allow Players to Set their RP names using the /rpname command.
  25. GM.Config.allowrpnames = true
  26. -- allowsprays - Enable/disable the use of sprays on the server.
  27. GM.Config.allowsprays = true
  28. -- allowvehicleowning - Enable/disable whether people can own vehicles.
  29. GM.Config.allowvehicleowning = true
  30. -- allowvnocollide - Enable/disable the ability to no-collide a vehicle (for security).
  31. GM.Config.allowvnocollide = false
  32. -- alltalk - Enable for global chat, disable for local chat.
  33. GM.Config.alltalk = false
  34. -- autovehiclelock - Enable/Disable automatic locking of a vehicle when a player exits it.
  35. GM.Config.autovehiclelock = false
  36. -- babygod - people spawn godded (prevent spawn killing)
  37. GM.Config.babygod = true
  38. -- canforcedooropen - whether players can force an unownable door open with lockpick or battering ram or w/e
  39. GM.Config.canforcedooropen = true
  40. -- chatsounds - sounds are played when some things are said in chat
  41. GM.Config.chatsounds = true
  42. -- chiefjailpos - Allow the Chief to set the jail positions.
  43. GM.Config.chiefjailpos = false
  44. -- cit_propertytax - Enable/disable property tax that is exclusive only for citizens.
  45. GM.Config.cit_propertytax = false
  46. -- copscanunfreeze - Enable/disable the ability of cops to unfreeze other people's props
  47. GM.Config.copscanunfreeze = true
  48. -- copscanunweld - Enable/disable the ability of cops to unweld other people's props
  49. GM.Config.copscanunweld = false
  50. -- cpcanarrestcp - Allow/Disallow CPs to arrest other CPs.
  51. GM.Config.cpcanarrestcp = true
  52. -- currencyLeft - The position of the currency symbol. true for left, false for right.
  53. GM.Config.currencyLeft = true
  54. -- customjobs - Enable/disable the /job command (personalized job names).
  55. GM.Config.customjobs = true
  56. -- customspawns - Enable/disable whether custom spawns should be used.
  57. GM.Config.customspawns = true
  58. -- deathblack - Whether or not a player sees black on death.
  59. GM.Config.deathblack = false
  60. -- showdeaths - Display kill information in the upper right corner of everyone's screen.
  61. GM.Config.showdeaths = true
  62. -- deathpov - Enable/disable whether people see their death in first person view
  63. GM.Config.deathpov = true
  64. -- decalcleaner - Enable/Disable clearing ever players decals.
  65. GM.Config.decalcleaner = false
  66. -- disallowClientsideScripts - Clientside scripts can be very useful for customizing the HUD or to aid in building. This option bans those scripts.
  67. GM.Config.disallowClientsideScripts = true
  68. -- doorwarrants - Enable/disable Warrant requirement to enter property.
  69. GM.Config.doorwarrants = true
  70. -- dropmoneyondeath - Enable/disable whether people drop money on death.
  71. GM.Config.dropmoneyondeath = false
  72. -- droppocketarrest - Enable/disable whether people drop the stuff in their pockets when they get arrested.
  73. GM.Config.droppocketarrest = false
  74. -- droppocketdeath - Enable/disable whether people drop the stuff in their pockets when they die.
  75. GM.Config.droppocketdeath = true
  76. -- dropweapondeath - Enable/disable whether people drop their current weapon when they die.
  77. GM.Config.dropweapondeath = false
  78. -- Whether players can drop the weapons they spawn with
  79. GM.Config.dropspawnedweapons = false
  80. -- dynamicvoice - Enable/disable whether only people in the same room as you can hear your mic.
  81. GM.Config.dynamicvoice = true
  82. -- earthquakes - Enable/disable earthquakes.
  83. GM.Config.earthquakes = false
  84. -- enablebuypistol - Turn /buy on of off.
  85. GM.Config.enablebuypistol = true
  86. -- enforceplayermodel - Whether or not to force players to use their role-defined character models.
  87. GM.Config.enforceplayermodel = true
  88. -- globalshow - Whether or not to display player info above players' heads in-game.
  89. GM.Config.globalshow = false
  90. -- ironshoot - Enable/disable whether people need iron sights to shoot.
  91. GM.Config.ironshoot = true
  92. -- showjob - Whether or not to display a player's job above their head in-game.
  93. GM.Config.showjob = true
  94. -- letters - Enable/disable letter writing / typing.
  95. GM.Config.letters = true
  96. -- license - Enable/disable People need a license to be able to pick up guns
  97. GM.Config.license = false
  98. -- lockpickfading - Enable/disable the lockpicking of fading doors
  99. GM.Config.lockpickfading = true
  100. -- logging - Enable/disable logging everything that happens.
  101. GM.Config.logging = true
  102. -- lottery - Enable/disable creating lotteries for mayors
  103. GM.Config.lottery = true
  104. -- showname - Whether or not to display a player's name above their head in-game.
  105. GM.Config.showname = true
  106. -- showname - Whether or not to display a player's health above their head in-game.
  107. GM.Config.showhealth = true
  108. -- needwantedforarrest - Enable/disable Cops can only arrest wanted people.
  109. GM.Config.needwantedforarrest = true
  110. -- noguns - Enabling this feature bans Guns and Gun Dealers.
  111. GM.Config.noguns = false
  112. -- norespawn - Enable/Disable that people don't have to respawn when they change job.
  113. GM.Config.norespawn = true
  114. -- npcarrest - Enable/disable arresting npc's
  115. GM.Config.npcarrest = true
  116. -- ooc - Whether or not OOC tags are enabled.
  117. GM.Config.ooc = true
  118. -- propertytax - Enable/disable property tax.
  119. GM.Config.propertytax = false
  120. -- proppaying - Whether or not players should pay for spawning props.
  121. GM.Config.proppaying = false
  122. -- propspawning - Enable/disable props spawning for non-admins.
  123. GM.Config.propspawning = true
  124. -- removeclassitems - Enable/disable shipments/microwaves/etc. removal when someone changes team.
  125. GM.Config.removeclassitems = true
  126. -- respawninjail - Enable/disable whether people can respawn in jail when they die
  127. GM.Config.respawninjail = true
  128. -- restrictallteams - Enable/disable Players can only be citizen until an admin allows them.
  129. GM.Config.restrictallteams = false
  130. -- restrictbuypistol - Enabling this feature makes /buy available only to Gun Dealers.
  131. GM.Config.restrictbuypistol = false
  132. -- restrictdrop - Enable/disable restricting the weapons players can drop. Setting this to true disallows weapons from shipments from being dropped
  133. GM.Config.restrictdrop = false
  134. -- shouldResetLaws - Enable/Disable resetting the laws back to the default law set when the mayor changes
  135. GM.Config.shouldResetLaws = false
  136. -- strictsuicide - Whether or not players should spawn where they suicided
  137. GM.Config.strictsuicide = false
  138. -- telefromjail - Enable/disable teleporting from jail.
  139. GM.Config.telefromjail = true
  140. -- teletojail - Enable/disable teleporting to jail.
  141. GM.Config.teletojail = true
  142. -- unlockdoorsonstart - Enable/Disable unlocking all doors on map start.
  143. GM.Config.unlockdoorsonstart = false
  144. -- voiceradius - Enable/disable local voice chat.
  145. GM.Config.voiceradius = true
  146. -- tax - Whether players pay taxes on their wallets.
  147. GM.Config.wallettax = false
  148. -- wantedsuicide - Enable/Disable suiciding while you are wanted by the police.
  149. GM.Config.wantedsuicide = false
  150. -- realisticfalldamage - Enable/Disable dynamic fall damage. Setting mp_falldamage to 1 will over-ride this.
  151. GM.Config.realisticfalldamage = true
  152. -- printeroverheat - Can the default money printer overheat on its own?
  153. GM.Config.printeroverheat = true
  154. -- weaponCheckerHideDefault - Hide default weapons when checking weapons
  155. GM.Config.weaponCheckerHideDefault = true
  156. -- weaponCheckerHideNoLicense - Hide weapons that do not require a license
  157. GM.Config.weaponCheckerHideNoLicense = true
  158.  
  159. /*
  160. Value settings
  161. */
  162. -- adminnpcs - Whether or not NPCs should be admin only. 0 = everyone, 1 = admin or higher, 2 = superadmin or higher, 3 = rcon only
  163. GM.Config.adminnpcs = 1
  164. -- adminsents - Whether or not SENTs should be admin only. 0 = everyone, 1 = admin or higher, 2 = superadmin or higher, 3 = rcon only
  165. GM.Config.adminsents = 1
  166. -- adminvehicles - Whether or not vehicles should be admin only. 0 = everyone, 1 = admin or higher, 2 = superadmin or higher, 3 = rcon only
  167. GM.Config.adminvehicles = 1
  168. -- adminweapons - Who can spawn weapons: 0: admins only, 1: supadmins only, 2: no one
  169. GM.Config.adminweapons = 1
  170. -- arrestspeed - Sets the max arrest speed.
  171. GM.Config.arrestspeed = 120
  172. -- babygodtime - How long the babygod lasts
  173. GM.Config.babygodtime = 5
  174. -- chatsoundsdelay - How long to wait before letting a player emit a sound from their chat again.
  175. -- Leave this on at least a few seconds to prevent people from spamming sounds. Set to 0 to disable.
  176. GM.Config.chatsoundsdelay = 5
  177. -- deathfee - the amount of money someone drops when dead.
  178. GM.Config.deathfee = 30
  179. -- decaltimer - Sets the time to clear clientside decals. (seconds)
  180. GM.Config.decaltimer = 120
  181. -- demotetime - Number of seconds before a player can rejoin a team after demotion from that team.
  182. GM.Config.demotetime = 60
  183. -- doorcost - Sets the cost of a door.
  184. GM.Config.doorcost = 75
  185. -- entremovedelay - how long to wait before removing a bought entity after disconnect.
  186. GM.Config.entremovedelay = 6000
  187. -- jailtimer - Sets the jailtimer. (in seconds)
  188. GM.Config.jailtimer = 120
  189. -- maxdoors - Sets the max amount of doors one can own.
  190. GM.Config.maxdoors = 20
  191. -- maxdrugs - Sets max drugs.
  192. GM.Config.maxdrugs = 2
  193. -- maxfoods - Sets the max food cartons per Microwave owner.
  194. GM.Config.maxfoods = 2
  195. -- maxlawboards - The maximum number of law boards the mayor can place.
  196. GM.Config.maxlawboards = 1
  197. -- maxletters - Sets max letters.
  198. GM.Config.maxletters = 10
  199. -- maxlotterycost - Maximum payment the mayor can set to join a lottery.
  200. GM.Config.maxlotterycost = 250
  201. -- maxvehicles - Sets how many vehicles one can buy.
  202. GM.Config.maxvehicles = 5
  203. -- microwavefoodcost - Sets the sale price of Microwave Food.
  204. GM.Config.microwavefoodcost = 27
  205. -- minlotterycost - Minimum payment the mayor can set to join a lottery.
  206. GM.Config.minlotterycost = 30
  207. -- Money packets will get removed if they don't get picked up after a while. Set to 0 to disable
  208. GM.Config.moneyRemoveTime = 600
  209. -- mprintamount - Value of the money printed by the money printer.
  210. GM.Config.mprintamount = 250
  211. -- normalsalary - Sets the starting salary for newly joined players.
  212. GM.Config.normalsalary = 45
  213. -- npckillpay - Sets the money given for each NPC kill.
  214. GM.Config.npckillpay = 10
  215. -- paydelay - Sets how long it takes before people get salary
  216. GM.Config.paydelay = 160
  217. -- pocketitems - Sets the amount of objects the pocket can carry
  218. GM.Config.pocketitems = 10
  219. -- pricecap - The maximum price of items (using /price)
  220. GM.Config.pricecap = 500
  221. -- pricemin - The minimum price of items (using /price)
  222. GM.Config.pricemin = 50
  223. -- propcost - How much prop spawning should cost. (prop paying must be enabled for this to have an effect)
  224. GM.Config.propcost = 10
  225. -- quakechance - Chance of an earthquake happening.
  226. GM.Config.quakechance = 4000
  227. -- respawntime - Minimum amount of seconds a player has to wait before respawning.
  228. GM.Config.respawntime = 2
  229. -- changejobtime - Minimum amount of seconds a player has to wait before changing job.
  230. GM.Config.changejobtime = 10
  231. -- runspeed - Sets the max running speed.
  232. GM.Config.runspeed = 240
  233. -- runspeed - Sets the max running speed for CP teams
  234. GM.Config.runspeedcp = 255
  235. -- searchtime - Number of seconds for which a search warrant is valid.
  236. GM.Config.searchtime = 300
  237. -- ShipmentSpawnTime - Antispam time between spawning shipments.
  238. GM.Config.ShipmentSpamTime = 3
  239. -- shipmenttime - The number of seconds it takes for a shipment to spawn.
  240. GM.Config.shipmentspawntime = 10
  241. -- startinghealth - the health when you spawn.
  242. GM.Config.startinghealth = 100
  243. -- startingmoney - your wallet when you join for the first time.
  244. GM.Config.startingmoney = 900
  245. -- vehiclecost - Sets the cost of a vehicle (To own it).
  246. GM.Config.vehiclecost = 275
  247. -- wallettaxmax - Maximum percentage of tax to be paid.
  248. GM.Config.wallettaxmax = 5
  249. -- wallettaxmin - Minimum percentage of tax to be paid.
  250. GM.Config.wallettaxmin = 1
  251. -- wallettaxtime - Time in seconds between taxing players. Requires server restart.
  252. GM.Config.wallettaxtime = 600
  253. -- wantedtime - Number of seconds for which a player is wanted for.
  254. GM.Config.wantedtime = 120
  255. -- walkspeed - Sets the max walking speed.
  256. GM.Config.walkspeed = 160
  257. -- falldamagedamper - The damper on realistic fall damage. Default is 15. Decrease this for more damage.
  258. GM.Config.falldamagedamper = 15
  259. -- falldamageamount - The base damage taken from falling for static fall damage. Default is 10
  260. GM.Config.falldamageamount = 10
  261. -- printeroverheatchance - The likelyhood of a printer overheating. The higher this number, the less likely. Minimum 3. Default 22
  262. GM.Config.printeroverheatchance = 22
  263.  
  264. /*---------------------------------------------------------------------------
  265. Other settings
  266. ---------------------------------------------------------------------------*/
  267.  
  268. -- The classname of money packets. Use this to create your own money entity!
  269. -- Note: the money packet must support the "Setamount" method (or the amount DTVar)
  270. GM.Config.MoneyClass = "spawned_money"
  271. -- In case you do wish to keep the default money, but change the model, this option is the way to go:
  272. GM.Config.moneyModel = "models/props/cs_assault/money.mdl"
  273.  
  274. -- The skin DarkRP uses. Set to "default" to use the GMod default derma theme
  275. GM.Config.DarkRPSkin = "DarkRP"
  276. GM.Config.currency = "$"
  277. GM.Config.chatCommandPrefix = "/"
  278. GM.Config.F1MenuHelpPage = "http://wiki.darkrp.com/index.php/Main_Page"
  279. GM.Config.F1MenuHelpPageTitle = "Wiki page"
  280.  
  281. -- Put Steam ID's and ranks in this list, and the players will have that rank when they join.
  282. GM.Config.DefaultPlayerGroups = {
  283. ["STEAM_0:0:60419752"] = "superadmin",
  284. ["STEAM_0:0:11111111"] = "admin",
  285. }
  286.  
  287. -- Custom modules in this addon that are disabled.
  288. GM.Config.DisabledCustomModules = {
  289. ["hudreplacement"] = false,
  290. ["extraf4tab"] = false,
  291. }
  292.  
  293. -- The list of weapons that players are not allowed to drop. Items set to true are not allowed to be dropped
  294. GM.Config.DisallowDrop = {
  295. ["arrest_stick"] = true,
  296. ["door_ram"] = true,
  297. ["gmod_camera"] = true,
  298. ["gmod_tool"] = true,
  299. ["keys"] = true,
  300. ["lockpick"] = true,
  301. ["med_kit"] = true,
  302. ["pocket"] = true,
  303. ["stunstick"] = true,
  304. ["unarrest_stick"] = true,
  305. ["weapon_keypadchecker"] = true,
  306. ["weapon_physcannon"] = true,
  307. ["weapon_physgun"] = true,
  308. ["weaponchecker"] = true
  309. }
  310.  
  311. -- The list of weapons people spawn with
  312. GM.Config.DefaultWeapons = {
  313. "keys",
  314. "SCar_fuel",
  315. "SCar_keys",
  316. "weapon_physcannon",
  317. "gmod_camera",
  318. "gmod_tool",
  319. "pocket",
  320. "weapon_physgun"
  321. }
  322.  
  323. -- The list of weapons admins spawn with, in addition to the default weapons, a job's weapons and GM.Config.AdminCopWeapons
  324. GM.Config.AdminWeapons = {
  325. "weapon_keypadchecker"
  326. }
  327.  
  328. -- These are the default laws, they're unchangeable in-game.
  329. GM.Config.DefaultLaws = {
  330. "Do not attack other citizens except in self-defence.",
  331. "Do not steal or break in to peoples homes.",
  332. "Money printers/drugs are illegal.",
  333. "Do not drive someone overwith a car!",
  334. "No props on road! without permissions"
  335. }
  336.  
  337. GM.Config.PocketBlacklist = {
  338. ["fadmin_jail"] = true,
  339. ["meteor"] = true,
  340. ["door"] = true,
  341. ["func_"] = true,
  342. ["player"] = true,
  343. ["beam"] = true,
  344. ["worldspawn"] = true,
  345. ["env_"] = true,
  346. ["path_"] = true,
  347. ["prop_physics"] = true,
  348. ["money_printer"] = true,
  349. ["gunlab"] = true,
  350. }
  351.  
  352. -- These weapons are classed as 'legal' in the weapon checker and are not stripped when confiscating weapons.
  353. -- This setting is used IN ADDITION to GM.Config.weaponCheckerHideDefault and GM.Config.weaponCheckerHideNoLicense
  354. -- You should use the former if you want to class the default weapons (GM.Config.DefaultWeapons and, if admin, GM.Config.AdminWeapons) and a player's job weapons as legal.
  355. -- The latter takes GM.NoLicense weapons as legal (see licenseweapons.lua)
  356. -- The format of this config is similar to GM.Config.DisallowDrop
  357. GM.Config.noStripWeapons = {
  358.  
  359. }
  360.  
  361. -- The entities listed here will not be removed when a player changes their job.
  362. -- This only applies when removeclassitems is set to true
  363. -- Note: entities will only be removed when the player changes to a job that is not allowed to have the entity
  364. GM.Config.preventClassItemRemoval = {
  365. ["gunlab"] = false,
  366. ["microwave"] = false,
  367. ["spawned_shipment"] = false,
  368. }
  369.  
  370. -- Properties set to true are allowed to be used. Values set to false or are missing from this list are blocked.
  371. GM.Config.allowedProperties = {
  372. remover = true,
  373. ignite = false,
  374. extinguish = true,
  375. keepupright = true,
  376. gravity = true,
  377. collision = true,
  378. skin = true,
  379. bodygroups = true,
  380. }
  381.  
  382. /*---------------------------------------------------------------------------
  383. F4 menu
  384. ---------------------------------------------------------------------------*/
  385. -- hide the items that you can't buy and the jobs you can't get (instead of graying them out)
  386. -- this option hides items when you don't have enough money, when the maximum is reached for a job or any other reason
  387. GM.Config.hideNonBuyable = false
  388.  
  389. -- Hide only the items that you have the wrong job for (or for which the customCheck says no)
  390. -- When you set this option to true and hideNonBuyable to false, you WILL see e.g. items that are too expensive for you to buy
  391. -- but you won't see gundealer shipments when you have the citizen job
  392. GM.Config.hideTeamUnbuyable = true
  393.  
  394. /*---------------------------------------------------------------------------
  395. AFK module
  396. ---------------------------------------------------------------------------*/
  397. -- The time of inactivity before being demoted
  398. GM.Config.afkdemotetime = 600
  399. -- Prevent people from spamming AFK
  400. GM.Config.AFKDelay = 300
  401.  
  402. /*---------------------------------------------------------------------------
  403. Hitmenu module
  404. ---------------------------------------------------------------------------*/
  405. -- The minimum price for a hit
  406. GM.Config.minHitPrice = 200
  407. -- The minimum distance between a hitman and his customer when they make the deal
  408. GM.Config.minHitDistance = 150
  409. -- The text that tells the player he can press use on the hitman to request a hit
  410. GM.Config.hudText = "I am a hitman.\nPress E on me to request a hit!"
  411. -- The text above a hitman when he's got a hit
  412. GM.Config.hitmanText = "Hit\naccepted!"
  413. -- The cooldown time for a hit target (so they aren't spam killed)
  414. GM.Config.hitTargetCooldown = 120
  415. -- How long a customer has to wait to be able to buy another hit (from the moment the hit is accepted)
  416. GM.Config.hitCustomerCooldown = 240
  417.  
  418. /*---------------------------------------------------------------------------
  419. Hungermod module
  420. ---------------------------------------------------------------------------*/
  421. -- hungerspeed <Amount> - Set the rate at which players will become hungry (2 is the default)
  422. GM.Config.hungerspeed = 2
  423. -- starverate <Amount> - How much health that is taken away every second the player is starving (3 is the default)
  424. GM.Config.starverate = 3
  425.  
  426. print("Config loaded")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement