Advertisement
-Aqua-

disabled_defaults.lua

Jul 22nd, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.69 KB | None | 0 0
  1. --[[---------------------------------------------------------------------------
  2. DarkRP disabled defaults
  3. ---------------------------------------------------------------------------
  4.  
  5. DarkRP comes with a bunch of default things:
  6. - a load of modules
  7. - default jobs
  8. - shipments and guns
  9. - entities (like the money printer)
  10. and many more
  11.  
  12. If you want to disable or replace the default things, you should disable them here
  13.  
  14. Note: if you want to have e.g. edit the official medic job, you MUST disable the default one in this file!
  15. You can copy the medic from DarkRP and paste it in darkrp_config/jobs.lua
  16. ---------------------------------------------------------------------------]]
  17.  
  18.  
  19. --[[---------------------------------------------------------------------------
  20. The list of modules that are disabled. Set to true to disable, false to enable.
  21. Modules that are not in this list are enabled by default.
  22. In some cases some external addons may overwrite one of the modules below and will expect them to be enabled to work.
  23. In these few cases it will be pretty obvious when you expect something to happen and nothing does.
  24. ---------------------------------------------------------------------------]]
  25. DarkRP.disabledDefaults["modules"] = {
  26. ["afk"] = true,
  27. ["chatsounds"] = false,
  28. ["events"] = false,
  29. ["fpp"] = true,
  30. ["f1menu"] = false,
  31. ["f4menu"] = false,
  32. ["hitmenu"] = false,
  33. ["hud"] = false,
  34. ["hungermod"] = true,
  35. ["playerscale"] = false,
  36. ["sleep"] = false,
  37. ["fadmin"] = false,
  38. ["animations"] = false,
  39. }
  40.  
  41. --[[---------------------------------------------------------------------------
  42. The disabled default jobs. true to disable, false to enable.
  43.  
  44. NOTE: If you disable a job and remake it, expect things that rely on the job to stop working
  45. e.g. you disable the gundealer and you make a new job as TEAM_GUN. If you want the shipments/door groups/etc. to
  46. work for your custom job, remake them to include your job as well.
  47. ---------------------------------------------------------------------------]]
  48. DarkRP.disabledDefaults["jobs"] = {
  49. ["chief"] = false,
  50. ["citizen"] = false,
  51. ["cook"] = false, --Hungermod only
  52. ["cp"] = false,
  53. ["gangster"] = false,
  54. ["gundealer"] = false,
  55. ["hobo"] = false,
  56. ["mayor"] = false,
  57. ["medic"] = false,
  58. ["mobboss"] = false,
  59. }
  60.  
  61. --[[---------------------------------------------------------------------------
  62. Shipments and pistols
  63. ---------------------------------------------------------------------------]]
  64. DarkRP.disabledDefaults["shipments"] = {
  65. ["AK47"] = true,
  66. ["Desert eagle"] = true,
  67. ["Fiveseven"] = true,
  68. ["Glock"] = true,
  69. ["M4"] = true,
  70. ["Mac 10"] = true,
  71. ["MP5"] = true,
  72. ["P228"] = true,
  73. ["Pump shotgun"] = true,
  74. ["Sniper rifle"] = true,
  75. }
  76.  
  77. --[[---------------------------------------------------------------------------
  78. Entities
  79. ---------------------------------------------------------------------------]]
  80. DarkRP.disabledDefaults["entities"] = {
  81. ["Drug lab"] = false,
  82. ["Gun lab"] = false,
  83. ["Money printer"] = false,
  84. ["Microwave"] = true, --Hungermod only
  85. ["Tip Jar"] = false,
  86. }
  87.  
  88. --[[---------------------------------------------------------------------------
  89. Vehicles
  90. (at the moment there are no default vehicles)
  91. You could use this to disable vehicles you added in the vehicles.lua located in the darkrp_customthings folder.
  92. ---------------------------------------------------------------------------]]
  93. DarkRP.disabledDefaults["vehicles"] = {
  94.  
  95. }
  96.  
  97. --[[---------------------------------------------------------------------------
  98. Food
  99. Food is only enabled when hungermod is enabled (see disabled modules above).
  100. ---------------------------------------------------------------------------]]
  101. DarkRP.disabledDefaults["food"] = {
  102. ["Banana"] = false,
  103. ["Bunch of bananas"] = false,
  104. ["Melon"] = false,
  105. ["Glass bottle"] = false,
  106. ["Pop can"] = false,
  107. ["Plastic bottle"] = false,
  108. ["Milk"] = false,
  109. ["Bottle 1"] = false,
  110. ["Bottle 2"] = false,
  111. ["Bottle 3"] = false,
  112. ["Orange"] = false,
  113. }
  114.  
  115. --[[---------------------------------------------------------------------------
  116. Door groups
  117. ---------------------------------------------------------------------------]]
  118. DarkRP.disabledDefaults["doorgroups"] = {
  119. ["Cops and Mayor only"] = false,
  120. ["Gundealer only"] = false,
  121. }
  122.  
  123.  
  124. --[[---------------------------------------------------------------------------
  125. Ammo packets
  126. ---------------------------------------------------------------------------]]
  127. DarkRP.disabledDefaults["ammo"] = {
  128. ["Pistol ammo"] = true,
  129. ["Rifle ammo"] = true,
  130. ["Shotgun ammo"] = true,
  131. }
  132.  
  133. --[[---------------------------------------------------------------------------
  134. Agendas
  135. ---------------------------------------------------------------------------]]
  136. DarkRP.disabledDefaults["agendas"] = {
  137. ["Gangster's agenda"] = false,
  138. ["Police agenda"] = false,
  139. }
  140.  
  141. --[[---------------------------------------------------------------------------
  142. Chat groups (chat with /g)
  143. Chat groups do not have names, so their index is used instead.
  144. ---------------------------------------------------------------------------]]
  145. DarkRP.disabledDefaults["groupchat"] = {
  146. [1] = false, -- Police group chat (mayor, cp, chief and/or your custom CP teams)
  147. [2] = false, -- Group chat between gangsters and the mobboss
  148. [3] = false, -- Group chat between people of the same team
  149. }
  150.  
  151. --[[---------------------------------------------------------------------------
  152. Jobs that are hitmen
  153. set to true to disable
  154. ---------------------------------------------------------------------------]]
  155. DarkRP.disabledDefaults["hitmen"] = {
  156. ["mobboss"] = false,
  157. }
  158.  
  159. --[[---------------------------------------------------------------------------
  160. Demote groups
  161. When anyone is demoted from any job in this group, they will be temporarily banned
  162. from every job in the group
  163. ---------------------------------------------------------------------------]]
  164. DarkRP.disabledDefaults["demotegroups"] = {
  165. ["Cops"] = false,
  166. ["Gangsters"] = false,
  167. }
  168.  
  169. --[[---------------------------------------------------------------------------
  170. Workarounds
  171.  
  172. DarkRP works around some bugs in GMod and other addons that aren't maintained
  173. (properly). Disabling workarounds will cause those things to break again.
  174. ---------------------------------------------------------------------------]]
  175. DarkRP.disabledDefaults["workarounds"] = {
  176. ["os.date() Windows crash"] = false,
  177. ["SkidCheck"] = false,
  178. ["nil SteamID64 and AccountID local server fix"] = false,
  179. ["Cam function descriptive errors"] = false,
  180. ["Error on edict limit"] = false,
  181. ["Durgz witty sayings"] = false,
  182. ["ULX /me command"] = false,
  183. ["gm_save"] = false,
  184. ["rp_downtown_v4c_v2 rooftop spawn"] = false,
  185. ["White flashbang flashes"] = false,
  186. ["APAnti"] = false,
  187. ["Wire field generator exploit fix"] = false,
  188. ["Door tool class fix"] = false,
  189. ["Constraint crash exploit fix"] = false,
  190. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement