Advertisement
Guest User

Untitled

a guest
Jan 1st, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.71 KB | None | 0 0
  1. --[[
  2. _____ __ __
  3. / ____| /\ | \/ |
  4. | (___ / \ | \ / |
  5. \___ \ / /\ \ | |\/| |
  6. ____) / ____ \| | | |
  7. __|_____/_/ \_\_| _|_|
  8. / ____| / _(_)
  9. | | ___ _ __ | |_ _ __ _
  10. | | / _ \| '_ \| _| |/ _` |
  11. | |___| (_) | | | | | | | (_| |
  12. \_____\___/|_| |_|_| |_|\__, |
  13. __/ |
  14. |___/
  15. --]]
  16.  
  17. --[[
  18.  
  19. VERSION 2.24
  20. - Changed: ply:IsAdmin and ply:IsSuperAdmin to actual GMOD functions not SAM:IsAdmin(ply) so it has DarkRP support.
  21.  
  22. --]]
  23. -- Ignore!
  24. SAM_Settings = SAM_Settings or {}
  25.  
  26. if SERVER then -- DO NOT REMOVE THIS IF YOU WANT TO KEEP UR SQL SECURE THX
  27.  
  28. -- Use MySQL?
  29. SAM_Settings.MySQL = true
  30. -- If above false, ignore these.
  31. SAM_Settings.DBHOST = "147.135.75.235"
  32. SAM_Settings.DBPORT = 3306
  33. SAM_Settings.DBNAME = "s11935_db_local_2"
  34. SAM_Settings.DBUSER = "s11935_WRBu16Mol3"
  35. SAM_Settings.DBPASS = "AYMnCO3HS6TGu2vuHuap"
  36.  
  37. end
  38.  
  39. -- Chat Prefix
  40. SAM_Settings.Prefix = "[Admin]"
  41. -- Staff Chat Prefix
  42. SAM_Settings.PrefixStaffChat = "[Staff] "
  43. -- RGB Format
  44. SAM_Settings.PrefixColor = Color(255,100,100)
  45.  
  46. -- Command Prefix
  47. SAM_Settings.CmdPrefix = "!"
  48.  
  49. -- Can ranks with same weight target each other!
  50. SAM_Settings.AllowSameRankCmds = true
  51.  
  52. -- Content Pack, Donation and Group Steam Links (Leave blank to not use)
  53. SAM_Settings.SWorkshop = "www.yourworkshoplink.com"
  54. SAM_Settings.SGroup = "www.yourgrouplink.com"
  55. SAM_Settings.DSite = "www.yourdonationsite.com"
  56.  
  57. SAM_Settings.Adverts = {
  58. -- { "Community Name", Community Name Colour, "Message", Color, Frequency (in seconds) }
  59. { "Community Name", Color( 255, 255, 255 ), "Check our donation page! " .. SAM_Settings.DSite, Color( 255, 0, 0 ), 180 },
  60. { "Community Name", Color( 255, 255, 255 ), "Check our steam group! " .. SAM_Settings.SGroup, Color( 255, 0, 0 ), 270 },
  61. }
  62.  
  63. SAM_Settings.ReportDecayTime = 0
  64.  
  65. -- Rank Names
  66. SAM_Settings.Ranks = {
  67.  
  68. -- "*" Represents ALL Permissions
  69. -- Every use has access to !help, it will show a description for commands they have access to.
  70. -- For the sake of MySQL ensure that the default rank is at the top of this list!
  71.  
  72. {
  73. name = "user", -- Name
  74. weight = 100, -- Lower weights cannot target higher weights
  75. prop_limit = 50, -- This ranks maximum amount of props
  76. entity_limit = 0, -- This ranks maximum amount of entities
  77. npc_limit = 0, -- This ranks maximum amount of npcs
  78. vehicle_limit = 0, -- This ranks maximum amount of vehicles
  79. physgun = false, -- Spawn with physics gun?
  80. toolgun = false, -- Spawn with toolgun?
  81. isAdmin = false, -- what it should return on ply:IsAdmin()
  82. isSuperAdmin = false, -- what it should return on ply:IsSuperAdmin()
  83. permissions = {
  84. "sam.steam", -- Permission (See Below)
  85. "sam.donate",
  86. },
  87. },
  88.  
  89. {
  90. name = "mod",
  91. weight = 200,
  92. prop_limit = 50,
  93. entity_limit = 0,
  94. npc_limit = 0,
  95. vehicle_limit = 0,
  96. physgun = true,
  97. toolgun = true,
  98. isAdmin = false,
  99. isSuperAdmin = false,
  100. permissions = {
  101. "sam.freeze",
  102. "sam.jail",
  103. "sam.jailtp",
  104. "sam.unjail",
  105. "sam.report",
  106. "sam.ban",
  107. "sam.kick",
  108. "sam.spawn",
  109. "sam.mute",
  110. "sam.vmute",
  111. "sam.tempvmute",
  112. "sam.tempmute",
  113. "sam.unmute",
  114. "sam.unvmute",
  115. "sam.bring",
  116. "sam.goto",
  117. "sam.return",
  118. },
  119. },
  120.  
  121. {
  122. name = "administrator",
  123. weight = 300,
  124. prop_limit = 50,
  125. entity_limit = 10,
  126. npc_limit = 10,
  127. vehicle_limit = 10,
  128. physgun = true,
  129. toolgun = true,
  130. isAdmin = true,
  131. isSuperAdmin = false,
  132. permissions = {
  133. "sam.freeze",
  134. "sam.jail",
  135. "sam.jailtp",
  136. "sam.unjail",
  137. "sam.report",
  138. "sam.ban",
  139. "sam.kick",
  140. "sam.spawn",
  141. "sam.mute",
  142. "sam.vmute",
  143. "sam.tempvmute",
  144. "sam.tempmute",
  145. "sam.unmute",
  146. "sam.unvmute",
  147. "sam.bring",
  148. "sam.goto",
  149. "sam.return",
  150. "sam.noclip",
  151. "sam.nolag",
  152. "sam.pickupply",
  153. },
  154. },
  155.  
  156. {
  157. name = "owner",
  158. weight = 400,
  159. prop_limit = 10000,
  160. entity_limit = 1000,
  161. npc_limit = 1000,
  162. vehicle_limit = 1000,
  163. physgun = true,
  164. toolgun = true,
  165. isAdmin = true,
  166. isSuperAdmin = true,
  167. permissions = {
  168. "*",
  169. },
  170. },
  171.  
  172. }
  173.  
  174. --[[
  175. // All Permissions (See README.MD to description on each command or do !help in game)
  176. Misc:
  177. - armor = sam.armor
  178. - hp = sam.hp
  179. - cloak = sam.cloak
  180. - god = sam.god
  181. - slay = sam.slay
  182. - strip = sam.strip
  183. - scale = sam.scale
  184. - speed = sam.speed
  185. - giveammo = sam.giveammo
  186. - steam = sam.steam
  187. - model = sam.model
  188. - donate = sam.donate
  189. - Ability to pick up players = sam.pickupply
  190. - infammo - sam.infammo
  191. - limammo - sam.limammo
  192.  
  193. Utilities:
  194. - ip = sam.ip
  195. - clearchat = sam.clearchat
  196. - stopsound = sam.stopsound
  197. - spawn = sam.spawn
  198. - setuser = sam.setuser
  199. - maplist = sam.maplist
  200. - map = sam.map
  201. - freeze = sam.freeze
  202. - noclip = sam.noclip
  203. - kick = sam.kick
  204. - admin = sam.admin
  205. - nolag = sam.nolag
  206. - mute = sam.mute
  207. - tempmute = sam.tempmute
  208. - vmute = sam.vmute
  209. - tempvmute = sam.tempvmute
  210. - unmute = sam.unmute
  211. - unvmute = sam.unvmute
  212. - report = sam.report
  213. - jail = sam.jail
  214. - jailtp = sam.jailtp
  215. - unjail = sam.unjail
  216. - permban = sam.permban
  217. - tempban = sam.tempban
  218. - unban = sam.unban
  219. - clear ragdolls = sam.clearragdolls
  220. - clear corpses - sam.clearcorpses
  221. - clear decals - sam.cleardecals
  222.  
  223. Positional:
  224. - bring = sam.bring
  225. - goto = sam.goto
  226. - send = sam.send
  227. - return = sam.return
  228.  
  229. DarkRP:
  230. - givemoney = sam.givemoney
  231. - removemoney = sam.removemoney
  232. - setmoney = sam.setmoney
  233. - remove = sam.remove
  234.  
  235. --]]
  236.  
  237. SAM_Settings.CmdEchoes = {
  238.  
  239. -- DarkRP Commands || true to echo, false not to echo.
  240. ["givemoney"] = true,
  241. ["removemoney"] = true,
  242. ["setmoney"] = true,
  243. ["remove"] = true,
  244.  
  245. -- Misc Commands
  246. ["armor"] = true,
  247. ["hp"] = true,
  248. ["cloak"] = true,
  249. ["god"] = true,
  250. ["slay"] = true,
  251. ["strip"] = true,
  252. ["scale"] = true,
  253. ["speed"] = true,
  254. ["giveammo"] = true,
  255. ["model"] = true,
  256. ["infammo"] = true,
  257. ["limammo"] = true,
  258.  
  259. -- Positional Commands
  260. ["bring"] = true,
  261. ["goto"] = true,
  262. ["send"] = true,
  263. ["return"] = true,
  264.  
  265. -- Utility Commands
  266. ["clearchat"] = true,
  267. ["stopsound"] = true,
  268. ["spawn"] = true,
  269. ["setuser"] = true,
  270. ["freeze"] = true,
  271. ["kick"] = true,
  272. ["admin"] = true,
  273. ["nolag"] = true, -- This one is adverted to staff
  274. ["nolageveryone"] = true, -- This one is adverted to the whole server
  275. ["mute"] = true,
  276. ["tempmute"] = true,
  277. ["vmute"] = true,
  278. ["tempvmute"] = true,
  279. ["unmute"] = true,
  280. ["unvmute"] = true,
  281. ["jail"] = true,
  282. ["jailtp"] = true,
  283. ["unjail"] = true,
  284. ["ban"] = true, -- This covers ALL ban commands
  285. ["unban"] = true,
  286.  
  287. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement