Advertisement
Guest User

Sv_config + Sh_config

a guest
Apr 25th, 2019
375
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.66 KB | None | 0 0
  1. --[[
  2. ZRewards - (SV) Config
  3. Developed by Zephruz
  4. ]]
  5.  
  6.  
  7. --[[
  8. zrewards.config.mysqlInfo
  9.  
  10. - Servers data info
  11. - If you're not using mysqloo set dbModule to "sqlite"
  12. ]]
  13. zrewards.config.mysqlInfo = {
  14. dbModule = "sqlite", -- mysqloo or sqlite
  15. dbName = "garrysmod",
  16. dbHost = "localhost",
  17. dbUser = "root",
  18. dbPass = "",
  19. }
  20.  
  21. --[[
  22. zrewards.config.steamApiKey
  23.  
  24. - Your SteamAPI key
  25. ]]
  26. zrewards.config.steamApiKey = "DE3D533B764143393BCC261CFEF97C68"
  27.  
  28. --[[
  29. zrewards.config.methodsSettings
  30.  
  31. - Settings for each method type
  32. ]]
  33. zrewards.config.methodsSettings = {} -- DON'T EDIT THIS
  34.  
  35. --[[
  36. Daily Login
  37.  
  38. [INSTRUCTIONS]
  39. - No instructions
  40. ]]
  41. zrewards.config.methodsSettings["dailylogin"] = {
  42. VerifyOnSpawn = false,
  43. }
  44.  
  45. --[[
  46. Name Tag
  47.  
  48. [INSTRUCTIONS]
  49. - Set 'NameTag' to the tag you want a player to have in their name
  50. - Get a SteamAPI Key: https://steamcommunity.com/dev/apikey
  51. - You don't need to set this here if you set it at the top of this file
  52. ]]
  53. zrewards.config.methodsSettings["nametag"] = {
  54. VerifyOnSpawn = false,
  55. NameTag = "[CR]",
  56. APIKey = zrewards.config.steamApiKey,
  57. }
  58.  
  59. --[[
  60. Steam Group Method
  61.  
  62. [INSTRUCTIONS]
  63. - Get a SteamAPI Key: https://steamcommunity.com/dev/apikey
  64. - You don't need to set this if you set it at the top of this file
  65.  
  66. - Get your GroupID: https://steamcommunity.com/groups/YOUR_GROUP_NAME/edit
  67. - Looks something like this: 33824579
  68. - Replace YOUR_GROUP_NAME with your groups URL handle
  69.  
  70. - GroupLink: Just a link to your group the player can join at
  71. - Looks something like this: https://steamcommunity.com/groups/zephruz
  72. ]]
  73. zrewards.config.methodsSettings["steamgroup"] = {
  74. VerifyOnSpawn = false,
  75. APIKey = zrewards.config.steamApiKey,
  76. GroupID = "34927636",
  77. GroupLink = "https://steamcommunity.com/groups/GmodCloudroleplay",
  78. }
  79.  
  80. --[[
  81. Discord Server Method
  82.  
  83. [INSTRUCTIONS]
  84. Go here to learn how to get your GuildID: https://support.discordapp.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-
  85. Go here to make an application: https://discordapp.com/developers/applications/
  86. - Create an application, make it nice (name it, give it a picture, etc).
  87. - Copy your client ID & client secret - paste them below.
  88. - Bot Setup:
  89. * Click "Bot" on the left side of the screen & create your bot.
  90. * Set up your bot, make it nice too. Click the "Copy" button under the token section - paste it below.
  91. - OAuth2 Setup:
  92. * Click "OAuth2" on the left side of the screen
  93. * Click "Add Redirect" under the "Redirects" section
  94. * Enter a URL here, preferrably your website (must include http:// or https://)
  95. * Make sure to save!
  96. - You're done, have fun.
  97. ]]
  98. zrewards.config.methodsSettings["discordserver"] = {
  99. VerifyOnSpawn = false, -- This would get annoying as fuck, they can verify via the menu (you can enable if you want)
  100. InviteLink = "https://discord.gg/cncvTr6", -- Your discord invite link
  101. GuildID = "569216282067468308", -- Your discord guild ID
  102. ClientID = "569221594317324289", -- Your discord application client ID
  103. ClientSecret = "Wjm_ksc0M6BcIE0mcOsLvwzwx5ux_VzR", -- Your discord application client secret
  104. BotToken = "NTY5MjIxNTk0MzE3MzI0Mjg5.XMC7ZQ.W71bMZZCkFUgeCx5GF02Mk0MdTE", -- Your discord bot token
  105. }
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114. ------------------------------------
  115.  
  116.  
  117.  
  118.  
  119. --[[
  120. ZRewards - (SH) Config
  121. Developed by Zephruz
  122. ]]
  123.  
  124. zrewards.config = (zrewards.config or {})
  125. zrewards.config.rewards = {} -- DON'T EDIT THIS
  126.  
  127. --[[
  128. zrewards.config.defaultTheme - The default VGUI theme
  129. ]]
  130. zrewards.config.defaultTheme = "Default"
  131.  
  132. --[[
  133. zrewards.config.defaultLanguage - The default language
  134. ]]
  135. zrewards.config.defaultLanguage = "en"
  136.  
  137. --[[
  138. zrewards.config.adminGroups
  139.  
  140. - Admin groups allowed to use the admin menu
  141. ]]
  142. zrewards.config.adminGroups = {"founder", "superadmin", "admin"}
  143.  
  144. --[[
  145. zrewards.config.disabledMethods
  146.  
  147. - Methods that are disabled
  148. * Set to true to disable
  149. ]]
  150. zrewards.config.disabledMethods = {
  151. ["dailylogin"] = false,
  152. ["nametag"] = false,
  153. ["steamgroup"] = false,
  154. ["discordserver"] = false,
  155. }
  156.  
  157. --[[
  158. zrewards.config.hiscoresPlayerLimit
  159.  
  160. - Maximum amount of players that will show on the (referral) hiscores menu
  161. ]]
  162. zrewards.config.hiscoresPlayerLimit = 10
  163.  
  164. --[[
  165. zrewards.config.rewards
  166.  
  167. - Rewards for specific actions
  168.  
  169. [INFORMATION/TUTORIAL]
  170. Template:
  171. zrewards.config.rewards["REWARD.TYPE.NAME"] = {
  172. Enabled = true, -- Not required, but can set to false to disable
  173. Icon = "icon16/ruby.png", -- The icon for this reward. Not required, set to false to disable.
  174. RewardFor = {
  175. ["discordserver"] = REWARD AMOUNT/VALUE, (can be false if you don't want this rewarded)
  176. ["steamgroup"] = REWARD AMOUNT/VALUE,
  177. ["referral"] = REWARD AMOUNT/VALUE,
  178. },
  179. }
  180.  
  181. Reward available types:
  182. - DarkRP:
  183. - DarkRP.Cash
  184. - PS1:
  185. - PS1.Points
  186. - PS2:
  187. - PS2.Points
  188. - PS2.PremiumPoints
  189. - gLevel:
  190. - gLevel.EXP
  191. - gLevel.Level
  192. - gLevel.Rank
  193. - gLevel.Points
  194. - gLevel.Keys
  195. - SH Pointshop:
  196. - SHPointshop.StandardPoints
  197. - SHPointshop.PremiumPoints
  198. - Admin Mods:
  199. - Admin.Rank
  200.  
  201. RewardFor available types:
  202. - discordserver - for joining the discord server
  203. - steamgroup - for joining the steam group
  204. - referral - for a referral
  205. - dailylogin - for daily logins
  206. - nametag - for name tags
  207. ]]
  208. zrewards.config.rewards["Admin.Rank"] = {
  209. Icon = "icon16/star.png",
  210. RewardFor = {
  211. ["discordserver"] = "Member",
  212. ["steamgroup"] = "Member"
  213. }
  214. }
  215.  
  216. zrewards.config.rewards["DarkRP.Cash"] = {
  217. Icon = "icon16/money.png",
  218. RewardFor = {
  219. ["discordserver"] = 100000,
  220. ["steamgroup"] = 50000,
  221. ["referral"] = 20000,
  222. ["dailylogin"] = 10000,
  223. ["nametag"] = 90000,
  224. },
  225. }
  226.  
  227. zrewards.config.rewards["PS2.Points"] = {
  228. Icon = "icon16/coins.png",
  229. RewardFor = {
  230. ["discordserver"] = 0,
  231. ["steamgroup"] = 0,
  232. ["referral"] = 0,
  233. ["dailylogin"] = 0,
  234. ["nametag"] = 0,
  235. },
  236. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement