Advertisement
Guest User

Untitled

a guest
Jun 26th, 2014
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.26 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 = false
  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 = true
  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 = false
  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 = false
  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 = true
  78. -- Whether players can drop the weapons they spawn with
  79. GM.Config.dropspawnedweapons = true
  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 = false
  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 = false
  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. -- logging - Enable/disable logging everything that happens.
  99. GM.Config.logging = true
  100. -- lottery - Enable/disable creating lotteries for mayors
  101. GM.Config.lottery = true
  102. -- showname - Whether or not to display a player's name above their head in-game.
  103. GM.Config.showname = false
  104. -- showname - Whether or not to display a player's health above their head in-game.
  105. GM.Config.showhealth = false
  106. -- needwantedforarrest - Enable/disable Cops can only arrest wanted people.
  107. GM.Config.needwantedforarrest = false
  108. -- noguns - Enabling this feature bans Guns and Gun Dealers.
  109. GM.Config.noguns = false
  110. -- norespawn - Enable/Disable that people don't have to respawn when they change job.
  111. GM.Config.norespawn = true
  112. -- npcarrest - Enable/disable arresting npc's
  113. GM.Config.npcarrest = true
  114. -- ooc - Whether or not OOC tags are enabled.
  115. GM.Config.ooc = true
  116. -- propertytax - Enable/disable property tax.
  117. GM.Config.propertytax = false
  118. -- proppaying - Whether or not players should pay for spawning props.
  119. GM.Config.proppaying = false
  120. -- propspawning - Enable/disable props spawning for non-admins.
  121. GM.Config.propspawning = true
  122. -- removeclassitems - Enable/disable shipments/microwaves/etc. removal when someone changes team.
  123. GM.Config.removeclassitems = true
  124. -- respawninjail - Enable/disable whether people can respawn in jail when they die
  125. GM.Config.respawninjail = true
  126. -- restrictallteams - Enable/disable Players can only be citizen until an admin allows them.
  127. GM.Config.restrictallteams = false
  128. -- restrictbuypistol - Enabling this feature makes /buy available only to Gun Dealers.
  129. GM.Config.restrictbuypistol = false
  130. -- restrictdrop - Enable/disable restricting the weapons players can drop. Setting this to true disallows weapons from shipments from being dropped
  131. GM.Config.restrictdrop = false
  132. -- strictsuicide - Whether or not players should spawn where they suicided
  133. GM.Config.strictsuicide = false
  134. -- telefromjail - Enable/disable teleporting from jail.
  135. GM.Config.telefromjail = true
  136. -- teletojail - Enable/disable teleporting to jail.
  137. GM.Config.teletojail = true
  138. -- unlockdoorsonstart - Enable/Disable unlocking all doors on map start.
  139. GM.Config.unlockdoorsonstart = false
  140. -- voiceradius - Enable/disable local voice chat.
  141. GM.Config.voiceradius = true
  142. -- tax - Whether players pay taxes on their wallets.
  143. GM.Config.wallettax = false
  144. -- wantedsuicide - Enable/Disable suiciding while you are wanted by the police.
  145. GM.Config.wantedsuicide = false
  146. -- showcrosshairs - Enable/disable crosshair visibility
  147. GM.Config.showcrosshairs = true
  148. -- realisticfalldamage - Enable/Disable dynamic fall damage. Setting mp_falldamage to 1 will over-ride this.
  149. GM.Config.realisticfalldamage = true
  150. -- printeroverheat - Can the default money printer overheat on its own?
  151. GM.Config.printeroverheat = true
  152. -- weaponCheckerHideDefault - Hide default weapons when checking weapons
  153. GM.Config.weaponCheckerHideDefault = true
  154. -- weaponCheckerHideNoLicense - Hide weapons that do not require a license
  155. GM.Config.weaponCheckerHideNoLicense = false
  156.  
  157. /*
  158. Value settings
  159. */
  160. -- adminnpcs - Whether or not NPCs should be admin only. 0 = everyone, 1 = admin or higher, 2 = superadmin or higher, 3 = rcon only
  161. GM.Config.adminnpcs = 2
  162. -- adminsents - Whether or not SENTs should be admin only. 0 = everyone, 1 = admin or higher, 2 = superadmin or higher, 3 = rcon only
  163. GM.Config.adminsents = 1
  164. -- adminvehicles - Whether or not vehicles should be admin only. 0 = everyone, 1 = admin or higher, 2 = superadmin or higher, 3 = rcon only
  165. GM.Config.adminvehicles = 2
  166. -- adminweapons - Who can spawn weapons: 0: admins only, 1: supadmins only, 2: no one
  167. GM.Config.adminweapons = 1
  168. -- arrestspeed - Sets the max arrest speed.
  169. GM.Config.arrestspeed = 120
  170. -- babygodtime - How long the babygod lasts
  171. GM.Config.babygodtime = 5
  172. -- chatsoundsdelay - How long to wait before letting a player emit a sound from their chat again.
  173. -- Leave this on at least a few seconds to prevent people from spamming sounds. Set to 0 to disable.
  174. GM.Config.chatsoundsdelay = 5
  175. -- deathfee - the amount of money someone drops when dead.
  176. GM.Config.deathfee = 30
  177. -- decaltimer - Sets the time to clear clientside decals. (seconds)
  178. GM.Config.decaltimer = 120
  179. -- demotetime - Number of seconds before a player can rejoin a team after demotion from that team.
  180. GM.Config.demotetime = 120
  181. -- doorcost - Sets the cost of a door.
  182. GM.Config.doorcost = 30
  183. -- entremovedelay - how long to wait before removing a bought entity after disconnect.
  184. GM.Config.entremovedelay = 0
  185. -- jailtimer - Sets the jailtimer. (in seconds)
  186. GM.Config.jailtimer = 120
  187. -- maxdoors - Sets the max amount of doors one can own.
  188. GM.Config.maxdoors = 20
  189. -- maxdrugs - Sets max drugs.
  190. GM.Config.maxdrugs = 2
  191. -- maxfoods - Sets the max food cartons per Microwave owner.
  192. GM.Config.maxfoods = 2
  193. -- maxlawboards - The maximum number of law boards the mayor can place.
  194. GM.Config.maxlawboards = 2
  195. -- maxletters - Sets max letters.
  196. GM.Config.maxletters = 10
  197. -- maxlotterycost - Maximum payment the mayor can set to join a lottery.
  198. GM.Config.maxlotterycost = 250
  199. -- maxvehicles - Sets how many vehicles one can buy.
  200. GM.Config.maxvehicles = 3
  201. -- microwavefoodcost - Sets the sale price of Microwave Food.
  202. GM.Config.microwavefoodcost = 30
  203. -- minlotterycost - Minimum payment the mayor can set to join a lottery.
  204. GM.Config.minlotterycost = 30
  205. -- Money packets will get removed if they don't get picked up after a while. Set to 0 to disable
  206. GM.Config.moneyRemoveTime = 600
  207. -- mprintamount - Value of the money printed by the money printer.
  208. GM.Config.mprintamount = 250
  209. -- normalsalary - Sets the starting salary for newly joined players.
  210. GM.Config.normalsalary = 45
  211. -- npckillpay - Sets the money given for each NPC kill.
  212. GM.Config.npckillpay = 10
  213. -- paydelay - Sets how long it takes before people get salary
  214. GM.Config.paydelay = 160
  215. -- pocketitems - Sets the amount of objects the pocket can carry
  216. GM.Config.pocketitems = 10
  217. -- pricecap - The maximum price of items (using /price)
  218. GM.Config.pricecap = 500
  219. -- pricemin - The minimum price of items (using /price)
  220. GM.Config.pricemin = 50
  221. -- propcost - How much prop spawning should cost. (prop paying must be enabled for this to have an effect)
  222. GM.Config.propcost = 10
  223. -- quakechance - Chance of an earthquake happening.
  224. GM.Config.quakechance = 4000
  225. -- respawntime - Minimum amount of seconds a player has to wait before respawning.
  226. GM.Config.respawntime = 1
  227. -- changejobtime - Minimum amount of seconds a player has to wait before changing job.
  228. GM.Config.changejobtime = 10
  229. -- runspeed - Sets the max running speed.
  230. GM.Config.runspeed = 240
  231. -- runspeed - Sets the max running speed for CP teams
  232. GM.Config.runspeedcp = 255
  233. -- searchtime - Number of seconds for which a search warrant is valid.
  234. GM.Config.searchtime = 30
  235. -- ShipmentSpawnTime - Antispam time between spawning shipments.
  236. GM.Config.ShipmentSpamTime = 3
  237. -- shipmenttime - The number of seconds it takes for a shipment to spawn.
  238. GM.Config.shipmentspawntime = 10
  239. -- startinghealth - the health when you spawn.
  240. GM.Config.startinghealth = 100
  241. -- startingmoney - your wallet when you join for the first time.
  242. GM.Config.startingmoney = 500
  243. -- vehiclecost - Sets the cost of a vehicle (To own it).
  244. GM.Config.vehiclecost = 40
  245. -- wallettaxmax - Maximum percentage of tax to be paid.
  246. GM.Config.wallettaxmax = 5
  247. -- wallettaxmin - Minimum percentage of tax to be paid.
  248. GM.Config.wallettaxmin = 1
  249. -- wallettaxtime - Time in seconds between taxing players. Requires server restart.
  250. GM.Config.wallettaxtime = 600
  251. -- wantedtime - Number of seconds for which a player is wanted for.
  252. GM.Config.wantedtime = 120
  253. -- walkspeed - Sets the max walking speed.
  254. GM.Config.walkspeed = 160
  255. -- falldamagedamper - The damper on realistic fall damage. Default is 15. Decrease this for more damage.
  256. GM.Config.falldamagedamper = 15
  257. -- falldamageamount - The base damage taken from falling for static fall damage. Default is 10
  258. GM.Config.falldamageamount = 10
  259. -- printeroverheatchance - The likelyhood of a printer overheating. The higher this number, the less likely. Minimum 3. Default 22
  260. GM.Config.printeroverheatchance = 22
  261.  
  262. /*---------------------------------------------------------------------------
  263. Other settings
  264. ---------------------------------------------------------------------------*/
  265.  
  266. -- The classname of money packets. Use this to create your own money entity!
  267. -- Note: the money packet must support the "Setamount" method (or the amount DTVar)
  268. GM.Config.MoneyClass = "spawned_money"
  269.  
  270. -- The skin DarkRP uses. Set to "default" to use the GMod default derma theme
  271. GM.Config.DarkRPSkin = "DarkRP"
  272. GM.Config.currency = "$"
  273. GM.Config.chatCommandPrefix = "/"
  274. GM.Config.F1MenuHelpPage = "http://wiki.darkrp.com/index.php/Main_Page"
  275. GM.Config.F1MenuHelpPageTitle = "Wiki page"
  276.  
  277. -- Put Steam ID's and ranks in this list, and the players will have that rank when they join.
  278. GM.Config.DefaultPlayerGroups = {
  279. ["STEAM_0:0:00000000"] = "superadmin",
  280. ["STEAM_0:0:11111111"] = "admin",
  281. }
  282.  
  283. -- Custom modules in this addon that are disabled.
  284. GM.Config.DisabledCustomModules = {
  285. ["hudreplacement"] = false,
  286. ["extraf4tab"] = false,
  287. }
  288.  
  289. -- The list of weapons that players are not allowed to drop. Items set to true are not allowed to be dropped
  290. GM.Config.DisallowDrop = {
  291. ["arrest_stick"] = true,
  292. ["door_ram"] = true,
  293. ["gmod_camera"] = true,
  294. ["gmod_tool"] = true,
  295. ["keys"] = true,
  296. ["lockpick"] = true,
  297. ["med_kit"] = true,
  298. ["pocket"] = true,
  299. ["stunstick"] = true,
  300. ["unarrest_stick"] = true,
  301. ["weapon_keypadchecker"] = true,
  302. ["weapon_physcannon"] = true,
  303. ["weapon_physgun"] = true,
  304. ["weaponchecker"] = true
  305. ["weapon_fists"] = true
  306. }
  307.  
  308. -- The list of weapons people spawn with
  309. GM.Config.DefaultWeapons = {
  310. "keys",
  311. "weapon_physcannon",
  312. "gmod_camera",
  313. "gmod_tool",
  314. "pocket",
  315. "weapon_fists",
  316. "weapon_physgun"
  317. }
  318.  
  319. -- The list of weapons admins spawn with, in addition to the default weapons, a job's weapons and GM.Config.AdminCopWeapons
  320. GM.Config.AdminWeapons = {
  321. "weapon_keypadchecker"
  322. }
  323.  
  324. -- These are the default laws, they're unchangeable in-game.
  325. GM.Config.DefaultLaws = {
  326. "Do not attack other citizens except in self-defence.",
  327. "Do not steal or break in to peoples homes.",
  328. "Money printers/drugs are illegal."
  329. }
  330.  
  331. GM.Config.PocketBlacklist = {
  332. ["fadmin_jail"] = true,
  333. ["meteor"] = true,
  334. ["door"] = true,
  335. ["func_"] = true,
  336. ["player"] = true,
  337. ["beam"] = true,
  338. ["worldspawn"] = true,
  339. ["env_"] = true,
  340. ["path_"] = true,
  341. ["prop_physics"] = true,
  342. ["money_printer"] = true,
  343. ["gunlab"] = true,
  344. }
  345.  
  346. -- These weapons are classed as 'legal' in the weapon checker and are not stripped when confiscating weapons.
  347. -- This setting is used IN ADDITION to GM.Config.weaponCheckerHideDefault and GM.Config.weaponCheckerHideNoLicense
  348. -- 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.
  349. -- The latter takes GM.NoLicense weapons as legal (see licenseweapons.lua)
  350. -- The format of this config is similar to GM.Config.DisallowDrop
  351. GM.Config.noStripWeapons = {
  352.  
  353. }
  354.  
  355. -- The entities listed here will not be removed when a player changes their job.
  356. -- This only applies when removeclassitems is set to true
  357. -- Note: entities will only be removed when the player changes to a job that is not allowed to have the entity
  358. GM.Config.preventClassItemRemoval = {
  359. ["gunlab"] = false,
  360. ["microwave"] = false,
  361. }
  362.  
  363. -- Properties set to true are allowed to be used. Values set to false or are missing from this list are blocked.
  364. GM.Config.allowedProperties = {
  365. remover = true,
  366. ignite = false,
  367. extinguish = true,
  368. keepupright = true,
  369. gravity = true,
  370. collision = true,
  371. skin = true,
  372. bodygroups = true,
  373. }
  374.  
  375. /*---------------------------------------------------------------------------
  376. F4 menu
  377. ---------------------------------------------------------------------------*/
  378. -- hide the items that you can't buy and the jobs you can't get (instead of graying them out)
  379. -- this option hides items when you don't have enough money, when the maximum is reached for a job or any other reason
  380. GM.Config.hideNonBuyable = false
  381.  
  382. -- Hide only the items that you have the wrong job for (or for which the customCheck says no)
  383. -- 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
  384. -- but you won't see gundealer shipments when you have the citizen job
  385. GM.Config.hideTeamUnbuyable = true
  386.  
  387. /*---------------------------------------------------------------------------
  388. AFK module
  389. ---------------------------------------------------------------------------*/
  390. GM.Config.afkdemotetime = 600
  391.  
  392. /*---------------------------------------------------------------------------
  393. Hitmenu module
  394. ---------------------------------------------------------------------------*/
  395. -- The minimum price for a hit
  396. GM.Config.minHitPrice = 200
  397. -- The minimum distance between a hitman and his customer when they make the deal
  398. GM.Config.minHitDistance = 150
  399. -- The text that tells the player he can press use on the hitman to request a hit
  400. GM.Config.hudText = "I am a hitman.\nPress E on me to request a hit!"
  401. -- The text above a hitman when he's got a hit
  402. GM.Config.hitmanText = "Hit\naccepted!"
  403. -- The cooldown time for a hit target (so they aren't spam killed)
  404. GM.Config.hitTargetCooldown = 300
  405. -- How long a customer has to wait to be able to buy another hit (from the moment the hit is accepted)
  406. GM.Config.hitCustomerCooldown = 240
  407.  
  408. /*---------------------------------------------------------------------------
  409. Hungermod module
  410. ---------------------------------------------------------------------------*/
  411. -- hungerspeed <Amount> - Set the rate at which players will become hungry (2 is the default)
  412. GM.Config.hungerspeed = 2
  413. -- starverate <Amount> - How much health that is taken away every second the player is starving (3 is the default)
  414. GM.Config.starverate = 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement