Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.81 KB | None | 0 0
  1. --[[
  2. Name: sv_config.lua
  3. For: santosrp
  4. By: santosrp <- fuck you
  5. ]]--
  6.  
  7. --[[ SQL Settings ]]--
  8. if DEV_SERVER then
  9. GM.Config.SQLHostName = "localhost"
  10. GM.Config.SQLUserName = "root"
  11. GM.Config.SQLPassword = ""
  12. GM.Config.SQLDBName = "aurora_santosrp"
  13. else
  14. GM.Config.SQLHostName = "localhost"
  15. GM.Config.SQLUserName = "root"
  16. GM.Config.SQLPassword = ""
  17. GM.Config.SQLDBName = "aurora_santosrp"
  18. end
  19.  
  20. GM.Config.SQLSnapshotRate = 5 *60 --Lower = less time between updates to sql. This value should be set with respect to the number of workers in use!
  21. GM.Config.SQLReconnectInterval = 1 *60 --Time to wait before retrying a lost sql connection
  22. GM.Config.SQLNumWriteWorkers = 8 --Number of connections to open to the sql server for writing player data with
  23.  
  24. --[[ IPB Settings ]]--
  25. GM.Config.ServerRegion = "US" --Options: US, EU
  26. GM.Config.IPBJobWhitelist = {
  27. ["JOB_POLICE"] = { 18 },
  28. ["JOB_FIREFIGHTER"] = { 20 },
  29. ["JOB_EMS"] = { 19 },
  30. ["JOB_MAYOR"] = { 23 },
  31. ["JOB_PROSECUTOR"] = { 24 },
  32. ["JOB_LAWYER"] = { 21 },
  33. ["JOB_JUDGE"] = { 25 },
  34. }
  35. GM.Config.IPBUlxGroups = {
  36. -- { group = "superadmin", ids = {4, (DEV_SERVER and 21 or nil)} },
  37. { group = "superadmin", ids = {4} },
  38. { group = "headadmin", ids = {7} },
  39. { group = "senior admin", ids = {8} },
  40. { group = "admin", ids = {9} },
  41. { group = "moderator", ids = {6} },
  42. { group = "vip", ids = {17} },
  43.  
  44. }
  45.  
  46. --[[ ServerNet Settings ]]--
  47. GM.Config.ServerNetUseTLS_1_2 = false
  48. GM.Config.ServerNetExtraAuth = false
  49. GM.Config.ServerNetExtraAuthKey = ""
  50. GM.Config.ServerNetPort = 37015
  51. GM.Config.ServerNetPool = {
  52. DEV_SERVER and "192.168.1.85" or nil,
  53. not DEV_SERVER and (GM.Config.ServerRegion == "US" and "51.255.119.141" or "167.114.214.130") or nil,
  54. }
  55.  
  56. --[[ Global Loadout Settings ]]--
  57. GM.Config.GlobalLoadout = {
  58. "weapon_physgun",
  59. --"weapon_physcannon",
  60. --"weapon_fists",
  61. "weapon_keys",
  62. "weapon_srphands",
  63. "weapon_idcard",
  64. }
  65.  
  66. --[[ Car Settings ]]--
  67. GM.Config.UseCustomVehicleDamage = true
  68. GM.Config.BaseCarFuelConsumption = 35
  69.  
  70. --[[ Property Settings ]]--
  71. GM.Config.GovernemtDoorJobs = { --List of jobs that can lock government doors
  72. ["JOB_POLICE"] = true,
  73. ["JOB_EMS"] = true,
  74. ["JOB_FIREFIGHTER"] = true,
  75. }
  76.  
  77. --[[ Damage Settings ]]--
  78. GM.Config.BleedDamage = 1
  79. GM.Config.BleedInterval = 30
  80. GM.Config.BleedBandageDuration = 60 *2 --Time a bandage should stop bleeding for
  81. GM.Config.ItemDamageTakeCooldown = 45 --Time following a damage event to an item that a player should be blocked from picking the item back up
  82.  
  83. --[[ Fire System Settings ]]--
  84. GM.Config.MaxFires = 256
  85. GM.Config.MaxChildFires = 25
  86. GM.Config.FireSpreadDistance = 100
  87. GM.Config.FireNodeCount = 6
  88. GM.Config.FireSpreadCount = 4
  89. GM.Config.FireBurnEverything = true
  90. GM.Config.FireSimRate = 8
  91.  
  92. --[[ Driving Test Questions ]]--
  93. --Note: The questions table must be the same in the shared config, but without the answers!
  94. GM.Config.DrivingTestRetakeDelay = 5 *60
  95. GM.Config.MinCorrectDrivingTestQuestions = 5
  96. GM.Config.DrivingTestQuestions_Answers = {
  97. { Question = "What do you do when its a green light?", Options = { ["You begin to move"] = true, ["You stop"] = false, ["You turn off your engine"] = false } },
  98. { Question = "What do you do if you see someone thats just crashed.", Options = { ["Continue driving"] = false, ["Call your friends"] = false, ["Investigate the scene"] = true } },
  99. { Question = "Someone has just crashed into you and damaged your car.", Options = { ["Pull a weapon on him"] = false, ["Exchange insurance information"] = true, ["Talk shit to him while ramming his car"] = false } },
  100. { Question = "Your car seems to be not functioning properly, what do you do?", Options = { ["Call the cops"] = true, ["Stand on the road to get someones attention"] = false, ["Phone up mechanical services"] = false } },
  101. { Question = "You encounter a police road block and the officer tells you to turn around, do you", Options = { ["Ignore the officer and continue driving"] = false, ["Sit in your car and do nothing"] = false, ["Carefully turn around and drive"] = true } },
  102. { Question = "You see a another driver driving recklessly, what do you do?", Options = { ["Inform the police"] = true, ["Drive recklessly yourself"] = false, ["Message your friend"] = false } },
  103. { Question = "You have just accidentally crashed into a pole and you have injured yourself, what do you do?", Options = { ["Lie on the road and wait for someone to help"] = false, ["Follow someone until they help you"] = false, ["Call EMS"] = true } },
  104. }
  105.  
  106. --[[ NPC Bank Item Storage Settings ]]--
  107. GM.Config.BankStorage_MAX_UNIQUE_ITEMS = 10
  108. GM.Config.BankStorage_MAX_NUM_ITEM = 20
  109. GM.Config.BankStorage_VIP_MAX_UNIQUE_ITEMS = 50
  110. GM.Config.BankStorage_VIP_MAX_NUM_ITEM = 100
  111.  
  112. --[[ NPC Drug Dealer Settings ]]--
  113. GM.Config.DrugNPCMoveTime_Min = 15 *60
  114. GM.Config.DrugNPCMoveTime_Max = 40 *60
  115.  
  116. --[[ NPC Jail Warden Settings ]]--
  117. GM.Config.CopLawyerRequestCooldownTime = 60 --Time a player must wait after requesting a lawyer before they may do so again
  118.  
  119. --[[ Map Settings ]]--
  120. --The smaller the fade min and max are, the sooner map props will stop drawing
  121. GM.Config.DetailPropFadeMin = 1024
  122. GM.Config.DetailPropFadeMax = 1700
  123.  
  124. --[[ Job Settings ]]--
  125. GM.Config.JobPayInterval = 12 *85 --How often players should get paid
  126. GM.Config.EMSReviveBonus = 500 --How much money to give an EMS player when they revive someone
  127. GM.Config.FireBonus = 500 --How much money to give a firefighter player when they put out enough fires
  128. GM.Config.FireExtinguishBonusCount = 50 --How many fires a player must put out before they get paid the bonus
  129.  
  130. --[[ Weather ]]--
  131. GM.Config.WeatherRandomizer_MinTime = 60 *4
  132. GM.Config.WeatherRandomizer_MaxTime = 60 *8
  133. GM.Config.WeatherTable = {
  134. { ID = "thunder_storm", MinTime = 60 *3.5, MaxTime = 60 *12, Chance = function() return math.random(1, 8) == 1 end },
  135. { ID = "thunder_storm", MinTime = 60 *6, MaxTime = 60 *15, Chance = function() return math.random(1, 8) == 1 end },
  136. { ID = "light_rain", MinTime = 60 *3.5, MaxTime = 60 *8, Chance = function() return math.random(1, 5) == 1 end },
  137. { ID = "light_rain", MinTime = 60 *3.5, MaxTime = 60 *8, Chance = function() return math.random(1, 5) == 1 end },
  138. { ID = "light_rain", MinTime = 60 *6, MaxTime = 60 *15, Chance = function() return math.random(1, 10) == 1 end },
  139. }
  140.  
  141. --[[ Misc Settings ]]--
  142. GM.Config.AdvertPrice = 20
  143. GM.Config.MinDrugConfiscatePrice = 25
  144. GM.Config.MaxDrugConfiscatePrice = 50
  145. GM.Config.DefWalkSpeed = 85
  146. GM.Config.DefRunSpeed = 185
  147. GM.Config.MaxRunSpeed = 285
  148.  
  149. --[[ Hard Coded Ban List ]]--
  150. GM.Config.Banned4Lyfe = {
  151. -- ["76561197964083008"] = "lol", --Fredy, thanks for showing me what was wrong in the end i guess
  152. ["76561198035956018"] = "lol", --Bolli, fredy's crew
  153. ["76561198037374396"] = "lol", --StephenPuffs, fredy's crew
  154. ["76561198162962704"] = "", --Leystryku, okay guy, but still lol, deleted the website
  155. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement