Advertisement
Guest User

Untitled

a guest
Nov 18th, 2018
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.77 KB | None | 0 0
  1.  
  2. --[[
  3. _____ __ __
  4. / ____| /\ | \/ |
  5. | (___ / \ | \ / |
  6. \___ \ / /\ \ | |\/| |
  7. ____) / ____ \| | | |
  8. __|_____/_/ \_\_| _|_|
  9. / ____| / _(_)
  10. | | ___ _ __ | |_ _ __ _
  11. | | / _ \| '_ \| _| |/ _` |
  12. | |___| (_) | | | | | | | (_| |
  13. \_____\___/|_| |_|_| |_|\__, |
  14. __/ |
  15. |___/
  16. --]]
  17.  
  18. --[[
  19.  
  20. VERSION 2.22
  21. - Added Modules Folder
  22. - IsAdmin and IsSuperAdmin integration
  23. - !clearragdolls, !clearcorpses and !cleardecals implemented
  24. - add prometheus plugin (since its drag and drop to plugin folder)
  25. - Updated Cloak ability so weapons aren't viewed
  26. - Small changes to !model and !scale with bone manipulation
  27. - Reports setting to close them overtime
  28. - Adverts system
  29.  
  30. --]]
  31. -- Ignore!
  32. SAM_Settings = SAM_Settings or {}
  33.  
  34. if SERVER then -- DO NOT REMOVE THIS IF YOU WANT TO KEEP UR SQL SECURE THX
  35.  
  36. -- Use MySQL?
  37. SAM_Settings.MySQL = true
  38. -- If above false, ignore these.
  39. SAM_Settings.DBHOST = "elhs.co"
  40. SAM_Settings.DBPORT = 3306
  41. SAM_Settings.DBNAME = "refinedr_admin"
  42. SAM_Settings.DBUSER = "refinedr_sam"
  43. SAM_Settings.DBPASS = "markaaronschmidtnigger"
  44.  
  45. end
  46.  
  47.  
  48. -- Chat Prefix
  49. SAM_Settings.Prefix = "[] "
  50. -- Staff Chat Prefix
  51. SAM_Settings.PrefixStaffChat = "[Staff] "
  52. -- RGB Format
  53. SAM_Settings.PrefixColor = Color(255,100,100)
  54.  
  55. -- Command Prefix
  56. SAM_Settings.CmdPrefix = "!"
  57.  
  58. -- Can ranks with same weight target each other!
  59. SAM_Settings.AllowSameRankCmds = true
  60.  
  61. -- Content Pack, Donation and Group Steam Links (Leave blank to not use)
  62. SAM_Settings.SWorkshop = "https://refinedroleplay.com/workshop"
  63. SAM_Settings.SGroup = "http://refinedroleplay.com/steamgroup"
  64. SAM_Settings.DSite = "https://refinedroleplay.com"
  65.  
  66. SAM_Settings.Adverts = {
  67. -- { "Community Name", Community Name Colour, "Message", Color, Frequency (in seconds) }
  68. { "Refined Roleplay", Color( 255, 255, 255 ), "Check our website! " .. SAM_Settings.DSite, Color(148,0,211), 180 },
  69. { "Refined Roleplay", Color( 255, 255, 255 ), "Check our steam group! " .. SAM_Settings.SGroup, Color( 148,0,211 ), 270 },
  70. }
  71.  
  72. SAM_Settings.ReportDecayTime = 0
  73.  
  74. -- Rank Names
  75. SAM_Settings.Ranks = {
  76.  
  77. -- "*" Represents ALL Permissions
  78. -- Every use has access to !help, it will show a description for commands they have access to.
  79. -- For the sake of MySQL ensure that the default rank is at the top of this list!
  80.  
  81. {
  82. name = "user", -- Name
  83. weight = 100, -- Lower weights cannot target higher weights
  84. -- For the below options, these rely on darkrp allowing everyone to spawn them (Found it darkrp settings)
  85. prop_limit = 0, -- This ranks maximum amount of props
  86. entity_limit = 0, -- This ranks maximum amount of entities
  87. npc_limit = 0, -- This ranks maximum amount of npcs
  88. vehicle_limit = 0, -- This ranks maximum amount of vehicles
  89. -- Side note: The below commands depend on DARKRP, if darkrp lets them spawn with it then they WILL spawn with it.
  90. physgun = false, -- Spawn with physics gun?
  91. toolgun = false, -- Spawn with toolgun?
  92. touch_others_props = false, -- Touch other peoples props?
  93. darkrp_fpp_admin = false, -- Give all permissions to darkrp related and FPP?
  94. isAdmin = false, -- what it should return on SAM:IsAdmin( ply )
  95. isSuperAdmin = false, -- what it should return on SAM:IsSuperAdmin( ply )
  96. permissions = {
  97. "sam.steam", -- Permission (See Below)
  98. "sam.donate",
  99. },
  100. },
  101.  
  102.  
  103.  
  104.  
  105. {
  106. name = "trialmoderator",
  107. weight = 110,
  108. prop_limit = 0,
  109. entity_limit = 0,
  110. npc_limit = 0,
  111. vehicle_limit = 0,
  112. physgun = false,
  113. toolgun = false,
  114. touch_others_props = false,
  115. darkrp_fpp_admin = false,
  116. isAdmin=false,
  117. isSuperAdmin=false,
  118. permissions = {
  119. "sam.steam",
  120. "sam.freeze",
  121. "sam.unfreeze",
  122. "sam.bring",
  123. "sam.goto",
  124. "sam.return",
  125. "sam.report",
  126.  
  127. },
  128. },
  129.  
  130.  
  131. {
  132. name = "moderator",
  133. weight = 119,
  134. prop_limit = 0,
  135. entity_limit = 0,
  136. npc_limit = 0,
  137. vehicle_limit = 0,
  138. physgun = false,
  139. toolgun = false,
  140. touch_others_props = false,
  141. darkrp_fpp_admin = false,
  142. isAdmin=false,
  143. isSuperAdmin=false,
  144. permissions = {
  145. "sam.steam",
  146. "sam.donate",
  147. "sam.freeze",
  148. "sam.bring",
  149. "sam.goto",
  150. "sam.return",
  151. "sam.kick",
  152. "sam.mute",
  153. "sam.unmute",
  154. "sam.vmute",
  155. "sam.unvmute",
  156. "sam.report",
  157. },
  158. },
  159.  
  160. {
  161. name = "seniormoderator",
  162. weight = 125,
  163. prop_limit = 0,
  164. entity_limit = 0,
  165. npc_limit = 0,
  166. vehicle_limit = 0,
  167. physgun = false,
  168. toolgun = false,
  169. touch_others_props = false,
  170. darkrp_fpp_admin = false,
  171. isAdmin=false,
  172. isSuperAdmin=false,
  173. permissions = {
  174. "sam.steam",
  175. "sam.donate",
  176. "sam.freeze",
  177. "sam.unfreeze",
  178. "sam.bring",
  179. "sam.cloak",
  180. "sam.noclip",
  181. "sam.goto",
  182. "sam.return",
  183. "sam.kick",
  184. "sam.mute",
  185. "sam.unmute",
  186. "sam.vmute",
  187. "sam.unvmute",
  188. "sam.report",
  189. },
  190. },
  191.  
  192. {
  193. name = "administrator",
  194. weight = 130,
  195. prop_limit = 999999999,
  196. entity_limit = 99999999,
  197. npc_limit = 99999999,
  198. vehicle_limit = 99999999,
  199. physgun = true,
  200. toolgun = true,
  201. touch_others_props = true,
  202. darkrp_fpp_admin = false,
  203. isAdmin=true,
  204. isSuperAdmin=false,
  205. permissions = {
  206. "sam.steam",
  207. "sam.freeze",
  208. "sam.bring",
  209. "sam.goto",
  210. "sam.return",
  211. "sam.kick",
  212. "sam.mute",
  213. "sam.unmute",
  214. "sam.vmute",
  215. "sam.unvmute",
  216. "sam.ban",
  217. "sam.spawn",
  218. "sam.noclip",
  219. "sam.hp",
  220. "sam.cloak",
  221. "sam.god",
  222. "sam.strip",
  223. "same.model",
  224. "sam.pickupply",
  225. "sam.scale",
  226. "sam.clearragdolls",
  227. "sam.clearcorpses",
  228. "sam.cleardecals",
  229. "sam.report",
  230.  
  231. },
  232. },
  233.  
  234. {
  235. name = "senioradministrator",
  236. weight = 140,
  237. prop_limit = 999999999,
  238. entity_limit = 99999999999,
  239. npc_limit = 999999999,
  240. vehicle_limit = 99999999,
  241. physgun = true,
  242. toolgun = true,
  243. touch_others_props = true,
  244. darkrp_fpp_admin = true,
  245. isAdmin=true,
  246. isSuperAdmin=false,
  247. permissions = {
  248. "sam.steam",
  249. "sam.freeze",
  250. "sam.unfreeze",
  251. "sam.bring",
  252. "sam.goto",
  253. "sam.send",
  254. "sam.return",
  255. "sam.kick",
  256. "sam.mute",
  257. "sam.unmute",
  258. "sam.vmute",
  259. "sam.unvmute",
  260. "sam.ban",
  261. "sam.spawn",
  262. "sam.noclip",
  263. "sam.hp",
  264. "sam.armor",
  265. "sam.cloak",
  266. "sam.god" ,
  267. "sam.strip" ,
  268. "sam.permban",
  269. "sam.unban",
  270. "sam.maplist",
  271. "sam.map",
  272. "sam.report",
  273. "sam.pickupply",
  274. "sam.model",
  275. "sam.scale",
  276. "sam.clearragdolls",
  277. "sam.clearcorpses",
  278. "sam.cleardecals",
  279.  
  280. },
  281. },
  282.  
  283. {
  284. name = "elderadministrator",
  285. weight = 150,
  286. prop_limit = 9999999999,
  287. entity_limit = 999999999,
  288. npc_limit = 99999999,
  289. vehicle_limit = 99999999,
  290. physgun = true,
  291. toolgun = true,
  292. touch_others_props = true,
  293. darkrp_fpp_admin = true,
  294. isAdmin=true,
  295. isSuperAdmin=true,
  296. permissions = {
  297. "sam.steam",
  298. "sam.freeze",
  299. "sam.unfreeze",
  300. "sam.bring",
  301. "sam.goto",
  302. "sam.return",
  303. "sam.kick",
  304. "sam.mute",
  305. "sam.unmute",
  306. "sam.vmute",
  307. "sam.send",
  308. "sam.unvmute",
  309. "sam.ban",
  310. "sam.spawn",
  311. "sam.noclip",
  312. "sam.hp",
  313. "sam.armor",
  314. "sam.cloak",
  315. "sam.god",
  316. "sam.strip" ,
  317. "sam.permban",
  318. "sam.unban" ,
  319. "sam.maplist",
  320. "sam.map",
  321. "sam.report",
  322. "sam.tempban",
  323. "sam.pickupply",
  324. "sam.scale",
  325. "sam.model",
  326. "sam.admin",
  327. "sam.clearragdolls",
  328. "sam.clearcorpses",
  329. "sam.cleardecals",
  330. },
  331. },
  332.  
  333. {
  334. name = "headadministrator",
  335. weight = 155,
  336. prop_limit = 9999999999,
  337. entity_limit = 999999999,
  338. npc_limit = 99999999,
  339. vehicle_limit = 99999999,
  340. physgun = true,
  341. toolgun = true,
  342. touch_others_props = true,
  343. darkrp_fpp_admin = true,
  344. isAdmin=true,
  345. isSuperAdmin=false,
  346. permissions = {
  347. "sam.steam",
  348. "sam.freeze",
  349. "sam.unfreeze",
  350. "sam.bring",
  351. "sam.goto",
  352. "sam.return",
  353. "sam.kick",
  354. "sam.mute",
  355. "sam.unmute",
  356. "sam.vmute",
  357. "sam.send",
  358. "sam.unvmute",
  359. "sam.ban",
  360. "sam.spawn",
  361. "sam.noclip",
  362. "sam.hp",
  363. "sam.armor",
  364. "sam.cloak",
  365. "sam.god",
  366. "sam.strip" ,
  367. "sam.permban",
  368. "sam.tempban",
  369. "sam.setuser",
  370. "sam.unban" ,
  371. "sam.maplist",
  372. "sam.map",
  373. "sam.setuser",
  374. "sam.report",
  375. "sam.pickupply",
  376. "sam.scale",
  377. "sam.model",
  378. "sam.admin",
  379. "sam.slay",
  380. "sam.ip",
  381. "sam.clearragdolls",
  382. "sam.clearcorpses",
  383. "sam.cleardecals",
  384. },
  385. },
  386.  
  387.  
  388. {
  389. name = "chiefadministrator",
  390. weight = 160,
  391. prop_limit = 999999999,
  392. entity_limit = 99999999,
  393. npc_limit = 999999999,
  394. vehicle_limit = 99999999,
  395. physgun = true,
  396. toolgun = true,
  397. touch_others_props = true,
  398. darkrp_fpp_admin = true,
  399. isAdmin=false,
  400. isSuperAdmin=true,
  401. permissions = {
  402. "sam.steam",
  403. "sam.freeze",
  404. "sam.unfreeze",
  405. "sam.bring",
  406. "sam.goto",
  407. "sam.return",
  408. "sam.kick",
  409. "sam.mute",
  410. "sam.unmute",
  411. "sam.vmute",
  412. "sam.send",
  413. "sam.unvmute",
  414. "sam.ban",
  415. "sam.spawn",
  416. "sam.noclip",
  417. "sam.hp",
  418. "sam.armor",
  419. "sam.cloak",
  420. "sam.god",
  421. "sam.strip" ,
  422. "sam.permban",
  423. "sam.tempban",
  424. "sam.setuser",
  425. "sam.unban" ,
  426. "sam.maplist",
  427. "sam.map",
  428. "sam.setuser",
  429. "sam.report",
  430. "sam.pickupply",
  431. "sam.scale",
  432. "sam.model",
  433. "sam.admin",
  434. "sam.slay",
  435. "sam.ip",
  436. "sam.clearragdolls",
  437. "sam.clearcorpses",
  438. "sam.cleardecals",
  439. },
  440. },
  441.  
  442.  
  443. {
  444. name = "communityliaison",
  445. weight = 390,
  446. prop_limit = 999999999,
  447. entity_limit = 999999999,
  448. npc_limit = 999999999,
  449. vehicle_limit = 9999999,
  450. physgun = true,
  451. toolgun = true,
  452. touch_others_props = true,
  453. darkrp_fpp_admin = true,
  454. isAdmin=true,
  455. isSuperAdmin=true,
  456. permissions = {
  457. "*",
  458. },
  459. },
  460.  
  461. {
  462. name = "developmentliaison",
  463. weight = 400,
  464. prop_limit = 999999999,
  465. entity_limit = 999999999,
  466. npc_limit = 999999999,
  467. vehicle_limit = 9999999,
  468. physgun = true,
  469. toolgun = true,
  470. touch_others_props = true,
  471. darkrp_fpp_admin = true,
  472. isAdmin = false,
  473. isSuperAdmin = true,
  474. permissions = {
  475. "*",
  476. },
  477. },
  478.  
  479.  
  480.  
  481. ----------------GAMEMASTERS-----------
  482.  
  483. {
  484. name = "trialmoderatorgm",
  485. weight = 110,
  486. prop_limit = 9999,
  487. entity_limit = 99999,
  488. npc_limit = 99999,
  489. vehicle_limit = 99999,
  490. physgun = true,
  491. toolgun = true,
  492. touch_others_props = true,
  493. darkrp_fpp_admin = true,
  494. isAdmin=true,
  495. isSuperAdmin=false,
  496. permissions = {
  497. "sam.steam",
  498. "sam.freeze",
  499. "sam.bring" ,
  500. "sam.goto" ,
  501. "sam.return",
  502. "sam.report",
  503. "sam.cloak",
  504. "sam.noclip",
  505. "sam.maplist",
  506. "sam.map",
  507. "sam.pickupply",
  508. "sam.model",
  509. "sam.hp",
  510. "sam.clearragdolls",
  511. "sam.clearcorpses",
  512. "sam.cleardecals",
  513.  
  514. },
  515. },
  516.  
  517.  
  518. {
  519. name = "moderatorgm",
  520. weight = 119,
  521. prop_limit = 999999,
  522. entity_limit = 99999,
  523. npc_limit = 999999,
  524. vehicle_limit = 999999,
  525. physgun = false,
  526. toolgun = false,
  527. touch_others_props = true,
  528. darkrp_fpp_admin = true,
  529. isAdmin=true,
  530. isSuperAdmin=false,
  531. permissions = {
  532. "sam.steam",
  533. "sam.steam",
  534. "sam.donate",
  535. "sam.freeze",
  536. "sam.bring" ,
  537. "sam.goto" ,
  538. "sam.return" ,
  539. "sam.report",
  540. "sam.kick" ,
  541. "sam.mute" ,
  542. "sam.unmute" ,
  543. "sam.vmute" ,
  544. "sam.unvmute",
  545. "sam.report",
  546. "sam.hp",
  547. "sam.armor",
  548. "sam.noclip",
  549. "sam.map",
  550. "sam.maplist",
  551. "sam.pickupply",
  552. "sam.model",
  553. "sam.scale",
  554. "sam.clearragdolls",
  555. "sam.clearcorpses",
  556. "sam.cleardecals",
  557.  
  558.  
  559. },
  560. },
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569. {
  570. name = "gamemaster",
  571. weight = 120,
  572. prop_limit = 9999999,
  573. entity_limit = 9999999,
  574. npc_limit = 9999999,
  575. vehicle_limit = 9999999,
  576. physgun = true,
  577. toolgun = true,
  578. touch_others_props = true,
  579. darkrp_fpp_admin = true,
  580. isAdmin=false,
  581. isSuperAdmin=true,
  582. permissions = {
  583. "sam.steam",
  584. "sam.bring" ,
  585. "sam.cloak",
  586. "sam.noclip",
  587. "sam.freeze",
  588. "sam.unfreeze",
  589. "sam.report",
  590. "sam.goto" ,
  591. "sam.return",
  592. "sam.kick" ,
  593. "sam.maplist",
  594. "sam.map",
  595. "sam.pickupply",
  596. "sam.god",
  597. "sam.hp",
  598. "sam.armor",
  599. "sam.scale",
  600. "sam.model",
  601. "sam.report",
  602. "sam.clearragdolls",
  603. "sam.clearcorpses",
  604. "sam.cleardecals",
  605. },
  606. },
  607.  
  608. {
  609. name = "seniorgamemaster",
  610. weight = 120,
  611. prop_limit = 9999999,
  612. entity_limit = 9999999,
  613. npc_limit = 9999999,
  614. vehicle_limit = 9999999,
  615. physgun = true,
  616. toolgun = true,
  617. touch_others_props = true,
  618. darkrp_fpp_admin = true,
  619. isAdmin=true,
  620. isSuperAdmin=true,
  621. permissions = {
  622. "sam.steam",
  623. "sam.bring" ,
  624. "sam.cloak",
  625. "sam.freeze",
  626. "sam.unfreeze",
  627. "sam.kick" ,
  628. "sam.noclip",
  629. "sam.goto" ,
  630. "sam.return" ,
  631. "sam.report",
  632. "sam.maplist",
  633. "sam.map",
  634. "sam.pickupply",
  635. "sam.god",
  636. "sam.hp",
  637. "sam.armor",
  638. "sam.scale",
  639. "sam.model",
  640. "sam.clearragdolls",
  641. "sam.clearcorpses",
  642. "sam.cleardecals",
  643. },
  644. },
  645.  
  646.  
  647. {
  648. name = "leadgamemaster",
  649. weight = 135,
  650. prop_limit = 99999999,
  651. entity_limit = 9999999,
  652. npc_limit = 9999999,
  653. vehicle_limit = 9999999,
  654. physgun = true,
  655. toolgun = true,
  656. touch_others_props = true,
  657. darkrp_fpp_admin = true,
  658. isAdmin=true,
  659. isSuperAdmin=true,
  660. permissions = {
  661. "sam.steam",
  662. "sam.bring",
  663. "sam.goto",
  664. "sam.return" ,
  665. "sam.freeze",
  666. "sam.unfreeze",
  667. "sam.maplist",
  668. "sam.map",
  669. "sam.kick",
  670. "sam.report",
  671. "sam.noclip",
  672. "sam.hp",
  673. "sam.armor",
  674. "sam.god",
  675. "sam.cloak",
  676. "sam.pickupply",
  677. "sam.model",
  678. "sam.clearragdolls",
  679. "sam.clearcorpses",
  680. "sam.cleardecals",
  681. },
  682. },
  683.  
  684.  
  685.  
  686. -----------------------
  687.  
  688.  
  689.  
  690. {
  691. name = "supporter", -- Name
  692. weight = 100, -- Lower weights cannot target higher weights
  693. -- For the below options, these rely on darkrp allowing everyone to spawn them (Found it darkrp settings)
  694. prop_limit = 0, -- This ranks maximum amount of props
  695. entity_limit = 0, -- This ranks maximum amount of entities
  696. npc_limit = 0, -- This ranks maximum amount of npcs
  697. vehicle_limit = 0, -- This ranks maximum amount of vehicles
  698. -- Side note: The below commands depend on DARKRP, if darkrp lets them spawn with it then they WILL spawn with it.
  699. physgun = false, -- Spawn with physics gun?
  700. toolgun = false, -- Spawn with toolgun?
  701. touch_others_props = false, -- Touch other peoples props?
  702. darkrp_fpp_admin = false, -- Give all permissions to darkrp related and FPP?
  703. isAdmin = false, -- what it should return on SAM:IsAdmin( ply )
  704. isSuperAdmin = false, -- what it should return on SAM:IsSuperAdmin( ply )
  705. permissions = {
  706. "sam.steam", -- Permission (See Below)
  707. "sam.donate",
  708. },
  709. },
  710.  
  711.  
  712. {
  713. name = "juniorsupporter", -- Name
  714. weight = 100, -- Lower weights cannot target higher weights
  715. -- For the below options, these rely on darkrp allowing everyone to spawn them (Found it darkrp settings)
  716. prop_limit = 0, -- This ranks maximum amount of props
  717. entity_limit = 0, -- This ranks maximum amount of entities
  718. npc_limit = 0, -- This ranks maximum amount of npcs
  719. vehicle_limit = 0, -- This ranks maximum amount of vehicles
  720. -- Side note: The below commands depend on DARKRP, if darkrp lets them spawn with it then they WILL spawn with it.
  721. physgun = false, -- Spawn with physics gun?
  722. toolgun = false, -- Spawn with toolgun?
  723. touch_others_props = false, -- Touch other peoples props?
  724. darkrp_fpp_admin = false, -- Give all permissions to darkrp related and FPP?
  725. isAdmin = false, -- what it should return on SAM:IsAdmin( ply )
  726. isSuperAdmin = false, -- what it should return on SAM:IsSuperAdmin( ply )
  727. permissions = {
  728. "sam.steam", -- Permission (See Below)
  729. "sam.donate",
  730. },
  731. },
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747. -----------------
  748. {
  749. name = "mod",
  750. weight = 200,
  751. prop_limit = 50,
  752. entity_limit = 0,
  753. npc_limit = 0,
  754. vehicle_limit = 0,
  755. physgun = true,
  756. toolgun = true,
  757. touch_others_props = false,
  758. darkrp_fpp_admin = false,
  759. isAdmin = false, -- what it should return on SAM:IsAdmin( ply )
  760. isSuperAdmin = false, -- what it should return on SAM:IsSuperAdmin( ply )
  761. permissions = {
  762. "sam.freeze",
  763. "sam.jail",
  764. "sam.jailtp",
  765. "sam.unjail",
  766. "sam.report",
  767. "sam.ban",
  768. "sam.kick",
  769. "sam.spawn",
  770. "sam.mute",
  771. "sam.vmute",
  772. "sam.tempvmute",
  773. "sam.tempmute",
  774. "sam.unmute",
  775. "sam.unvmute",
  776. "sam.bring",
  777. "sam.goto",
  778. "sam.return",
  779. },
  780. },
  781.  
  782. {
  783. name = "admin",
  784. weight = 300,
  785. prop_limit = 50,
  786. entity_limit = 10,
  787. npc_limit = 10,
  788. vehicle_limit = 10,
  789. physgun = true,
  790. toolgun = true,
  791. touch_others_props = true,
  792. darkrp_fpp_admin = false,
  793. isAdmin = true, -- what it should return on SAM:IsAdmin( ply )
  794. isSuperAdmin = false, -- what it should return on SAM:IsSuperAdmin( ply )
  795. permissions = {
  796. "sam.freeze",
  797. "sam.jail",
  798. "sam.jailtp",
  799. "sam.unjail",
  800. "sam.report",
  801. "sam.ban",
  802. "sam.kick",
  803. "sam.spawn",
  804. "sam.mute",
  805. "sam.vmute",
  806. "sam.tempvmute",
  807. "sam.tempmute",
  808. "sam.unmute",
  809. "sam.unvmute",
  810. "sam.bring",
  811. "sam.goto",
  812. "sam.return",
  813. "sam.noclip",
  814. "sam.nolag",
  815. "sam.pickupply",
  816. },
  817. },
  818.  
  819. {
  820. name = "superadmin",
  821. weight = 400,
  822. prop_limit = 10000,
  823. entity_limit = 1000,
  824. npc_limit = 1000,
  825. vehicle_limit = 1000,
  826. physgun = true,
  827. toolgun = true,
  828. touch_others_props = true,
  829. darkrp_fpp_admin = true,
  830. isAdmin = true, -- what it should return on SAM:IsAdmin( ply )
  831. isSuperAdmin = true, -- what it should return on SAM:IsSuperAdmin( ply )
  832. permissions = {
  833. "*",
  834. },
  835. },
  836.  
  837. }
  838.  
  839. --[[
  840. // All Permissions (See README.MD to description on each command or do !help in game)
  841. Misc:
  842. - armor = sam.armor
  843. - hp = sam.hp
  844. - cloak = sam.cloak
  845. - god = sam.god
  846. - slay = sam.slay
  847. - strip = sam.strip
  848. - scale = sam.scale
  849. - speed = sam.speed
  850. - giveammo = sam.giveammo
  851. - steam = sam.steam
  852. - model = sam.model
  853. - donate = sam.donate
  854. - Ability to pick up players = sam.pickupply
  855. - infammo - sam.infammo
  856. - limammo - sam.limammo
  857.  
  858. Utilities:
  859. - ip = sam.ip
  860. - clearchat = sam.clearchat
  861. - stopsound = sam.stopsound
  862. - spawn = sam.spawn
  863. - setuser = sam.setuser
  864. - maplist = sam.maplist
  865. - map = sam.map
  866. - freeze = sam.freeze
  867. - noclip = sam.noclip
  868. - kick = sam.kick
  869. - admin = sam.admin
  870. - nolag = sam.nolag
  871. - mute = sam.mute
  872. - tempmute = sam.tempmute
  873. - vmute = sam.vmute
  874. - tempvmute = sam.tempvmute
  875. - unmute = sam.unmute
  876. - unvmute = sam.unvmute
  877. - report = sam.report
  878. - jail = sam.jail
  879. - jailtp = sam.jailtp
  880. - unjail = sam.unjail
  881. - permban = sam.permban
  882. - tempban = sam.tempban
  883. - unban = sam.unban
  884. - clear ragdolls = sam.clearragdolls
  885. - clear corpses - sam.clearcorpses
  886. - clear decals - sam.cleardecals
  887.  
  888. Positional:
  889. - bring = sam.bring
  890. - goto = sam.goto
  891. - send = sam.send
  892. - return = sam.return
  893.  
  894. DarkRP:
  895. - givemoney = sam.givemoney
  896. - removemoney = sam.removemoney
  897. - setmoney = sam.setmoney
  898. - remove = sam.remove
  899.  
  900. --]]
  901.  
  902. SAM_Settings.CmdEchoes = {
  903.  
  904. -- DarkRP Commands || true to echo, false not to echo.
  905. ["givemoney"] = true,
  906. ["removemoney"] = true,
  907. ["setmoney"] = true,
  908. ["remove"] = true,
  909.  
  910. -- Misc Commands
  911. ["armor"] = true,
  912. ["hp"] = true,
  913. ["cloak"] = true,
  914. ["god"] = true,
  915. ["slay"] = true,
  916. ["strip"] = true,
  917. ["scale"] = true,
  918. ["speed"] = true,
  919. ["giveammo"] = true,
  920. ["model"] = true,
  921. ["infammo"] = true,
  922. ["limammo"] = true,
  923.  
  924. -- Positional Commands
  925. ["bring"] = true,
  926. ["goto"] = true,
  927. ["send"] = true,
  928. ["return"] = true,
  929.  
  930. -- Utility Commands
  931. ["clearchat"] = true,
  932. ["stopsound"] = true,
  933. ["spawn"] = true,
  934. ["setuser"] = true,
  935. ["freeze"] = true,
  936. ["kick"] = true,
  937. ["admin"] = true,
  938. ["nolag"] = true, -- This one is adverted to staff
  939. ["nolageveryone"] = true, -- This one is adverted to the whole server
  940. ["mute"] = true,
  941. ["tempmute"] = true,
  942. ["vmute"] = true,
  943. ["tempvmute"] = true,
  944. ["unmute"] = true,
  945. ["unvmute"] = true,
  946. ["jail"] = true,
  947. ["jailtp"] = true,
  948. ["unjail"] = true,
  949. ["ban"] = true, -- This covers ALL ban commands
  950. ["unban"] = true,
  951.  
  952. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement