Advertisement
Guest User

Disabled Defaults1

a guest
Oct 3rd, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.44 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"]              = false,
  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.     ["chatindicator"]    = false,
  40. }
  41.  
  42. --[[---------------------------------------------------------------------------
  43. The disabled default jobs. true to disable, false to enable.
  44.  
  45. NOTE: If you disable a job and remake it, expect things that rely on the job to stop working
  46. e.g. you disable the gundealer and you make a new job as TEAM_GUN. If you want the shipments/door groups/etc. to
  47. work for your custom job, remake them to include your job as well.
  48. ---------------------------------------------------------------------------]]
  49. DarkRP.disabledDefaults["jobs"] = {
  50. }
  51.  
  52. --[[---------------------------------------------------------------------------
  53. Shipments and pistols
  54. ---------------------------------------------------------------------------]]
  55. DarkRP.disabledDefaults["shipments"] = {
  56. }
  57.  
  58. --[[---------------------------------------------------------------------------
  59. Entities
  60. ---------------------------------------------------------------------------]]
  61. DarkRP.disabledDefaults["entities"] = {
  62. }
  63.  
  64. --[[---------------------------------------------------------------------------
  65. Vehicles
  66. (at the moment there are no default vehicles)
  67. You could use this to disable vehicles you added in the vehicles.lua located in the darkrp_customthings folder.
  68. ---------------------------------------------------------------------------]]
  69. DarkRP.disabledDefaults["vehicles"] = {
  70.  
  71. }
  72.  
  73. --[[---------------------------------------------------------------------------
  74. Food
  75. Food is only enabled when hungermod is enabled (see disabled modules above).
  76. ---------------------------------------------------------------------------]]
  77. DarkRP.disabledDefaults["food"] = {
  78.  
  79. }
  80.  
  81. --[[---------------------------------------------------------------------------
  82. Door groups
  83. ---------------------------------------------------------------------------]]
  84. DarkRP.disabledDefaults["doorgroups"] = {
  85.  
  86. }
  87.  
  88.  
  89. --[[---------------------------------------------------------------------------
  90. Ammo packets
  91. ---------------------------------------------------------------------------]]
  92. DarkRP.disabledDefaults["ammo"] = {
  93.  
  94. }
  95.  
  96. --[[---------------------------------------------------------------------------
  97. Agendas
  98. ---------------------------------------------------------------------------]]
  99. DarkRP.disabledDefaults["agendas"] = {
  100.  
  101. }
  102.  
  103. --[[---------------------------------------------------------------------------
  104. Chat groups (chat with /g)
  105. Chat groups do not have names, so their index is used instead.
  106. ---------------------------------------------------------------------------]]
  107. DarkRP.disabledDefaults["groupchat"] = {
  108.     [1] = false, -- Police group chat (mayor, cp, chief and/or your custom CP teams)
  109.     [2] = false, -- Group chat between gangsters and the mobboss
  110.     [3] = false, -- Group chat between people of the same team
  111. }
  112.  
  113. --[[---------------------------------------------------------------------------
  114. Jobs that are hitmen
  115. set to true to disable
  116. ---------------------------------------------------------------------------]]
  117. DarkRP.disabledDefaults["hitmen"] = {
  118.     ["mobboss"] = false,
  119. }
  120.  
  121. --[[---------------------------------------------------------------------------
  122. Demote groups
  123. When anyone is demoted from any job in this group, they will be temporarily banned
  124. from every job in the group
  125. ---------------------------------------------------------------------------]]
  126. DarkRP.disabledDefaults["demotegroups"] = {
  127.  
  128. }
  129.  
  130. --[[---------------------------------------------------------------------------
  131. Workarounds
  132.  
  133. DarkRP works around some bugs in GMod and other addons that aren't maintained
  134. (properly). Disabling workarounds will cause those things to break again.
  135. ---------------------------------------------------------------------------]]
  136. DarkRP.disabledDefaults["workarounds"] = {
  137.     ["os.date() Windows crash"]                      = false,
  138.     ["SkidCheck"]                                    = false,
  139.     ["nil SteamID64 and AccountID local server fix"] = false,
  140.     ["Cam function descriptive errors"]              = false,
  141.     ["Error on edict limit"]                         = false,
  142.     ["Durgz witty sayings"]                          = false,
  143.     ["ULX /me command"]                              = false,
  144.     ["gm_save"]                                      = false,
  145.     ["rp_downtown_v4c_v2 rooftop spawn"]             = false,
  146.     ["White flashbang flashes"]                      = false,
  147.     ["APAnti"]                                       = false,
  148.     ["Wire field generator exploit fix"]             = false,
  149.     ["Door tool class fix"]                          = false,
  150.     ["Constraint crash exploit fix"]                 = false,
  151.     ["Deprecated console commands"]                  = false,
  152.     ["disable CAC"]                                  = false,
  153. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement