Advertisement
Lukyspore

sh_config.lua

Aug 7th, 2022 (edited)
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.62 KB | None | 0 0
  1. LDT_Polls = LDT_Polls or {}
  2. LDT_Polls.Config = LDT_Polls.Config or {}
  3.  
  4. LDT_Polls.Config.MenuCommand = "polls" -- This is the command for opening the Polls menu. This string will be prepended with "!" and "/"
  5.  
  6. LDT_Polls.Config.Language = "en" -- Currently there is only en, de, fr, es and tr translations available.
  7.  
  8. LDT_Polls.Config.EnableVoteRewards = false -- This enables the option to give out rewards for voting in polls.
  9. -- The reward amount is set when you create a new poll.
  10.  
  11. -- Which Reward Framework to use?
  12. -- PS1 = Support of PointShop 1 Points.
  13. -- PS2 = Support of PointShop 2 Points.
  14. -- DarkRP = Support of DarkRP money.
  15. -- NS = Support of NutScript money.
  16. LDT_Polls.Config.RewardFramework = "DarkRP"
  17.  
  18. LDT_Polls.Config.EnableStatistics = true -- This enables the statistics page.
  19.  
  20. -- These are the stats intervals
  21. -- 1M = All votes dating back 1 Month
  22. -- 3M = All votes dating back 3 Months
  23. -- 6M = All votes dating back 6 Months
  24. -- 1Y = All votes dating back 1 Year
  25. -- ALL = All votes.
  26. LDT_Polls.Config.StatisticsInterval = "ALL"
  27.  
  28. LDT_Polls.Config.MaxNumOfPollOptions = 15 -- This is the maximum number of poll options.
  29.  
  30. LDT_Polls.Config.AdminRanks = { -- These ranks can create new polls.
  31.     ["superadmin"] = true,
  32.     ["admin"] = true
  33. }
  34.  
  35. LDT_Polls.Config.CanDeleteOwnPolls = true -- Should the poll creator be able to delete their own polls.
  36.  
  37. LDT_Polls.Config.WhoCanDeletePolls = { -- These ranks can delete anyones polls.
  38.     ["superadmin"] = true
  39. }
  40.  
  41. LDT_Polls.Config.UsegroupWeightsEnabled = true -- Should Usergroup weights be enabled? If they are disabled everyone will have only one vote.
  42.  
  43. LDT_Polls.Config.UsergroupWeights = { -- These are the usergroups with different vote weights.
  44.     ["user"] = 1, -- a normal user will only have 1 vote.
  45.     ["admin"] = 5,
  46.     ["superadmin"] = 10, -- but superadmin will have a vote worth 10 votes.
  47. }
  48.  
  49. -- These are the colors for every element of the UI. Feel free to change them to your liking.
  50. LDT_Polls.Config.Red = Color(255, 63, 5)
  51. LDT_Polls.Config.RedSecond = Color(255, 63, 5, 200)
  52.  
  53. LDT_Polls.Config.Green = Color(76, 209, 55)
  54.  
  55. LDT_Polls.Config.White = Color(255,255,255)
  56. LDT_Polls.Config.WhiteHighlight = Color(200,200,200)
  57. LDT_Polls.Config.WhiteSecond = Color(255,255,255,30)
  58.  
  59. LDT_Polls.Config.Grey = Color(47, 54, 64)
  60. LDT_Polls.Config.GreySecond = Color(53, 59, 72)
  61. LDT_Polls.Config.BlueThird = Color(38, 117, 175)
  62. LDT_Polls.Config.BlueSecond = Color(0, 168, 255)
  63. LDT_Polls.Config.Blue = Color(0, 151, 230)
  64.  
  65. LDT_Polls.Config.Gold = Color(251, 197, 49)
  66. LDT_Polls.Config.Silver = Color(127, 143, 166)
  67. LDT_Polls.Config.Bronze = Color(240, 147, 43)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement