Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- ZRewards - (SV) Config
- Developed by Zephruz
- ]]
- --[[
- zrewards.config.mysqlInfo
- - Servers data info
- - If you're not using mysqloo set dbModule to "sqlite"
- ]]
- zrewards.config.mysqlInfo = {
- dbModule = "sqlite", -- mysqloo or sqlite
- dbName = "garrysmod",
- dbHost = "localhost",
- dbUser = "root",
- dbPass = "",
- }
- --[[
- zrewards.config.steamApiKey
- - Your SteamAPI key
- ]]
- zrewards.config.steamApiKey = "DE3D533B764143393BCC261CFEF97C68"
- --[[
- zrewards.config.methodsSettings
- - Settings for each method type
- ]]
- zrewards.config.methodsSettings = {} -- DON'T EDIT THIS
- --[[
- Daily Login
- [INSTRUCTIONS]
- - No instructions
- ]]
- zrewards.config.methodsSettings["dailylogin"] = {
- VerifyOnSpawn = false,
- }
- --[[
- Name Tag
- [INSTRUCTIONS]
- - Set 'NameTag' to the tag you want a player to have in their name
- - Get a SteamAPI Key: https://steamcommunity.com/dev/apikey
- - You don't need to set this here if you set it at the top of this file
- ]]
- zrewards.config.methodsSettings["nametag"] = {
- VerifyOnSpawn = false,
- NameTag = "[CR]",
- APIKey = zrewards.config.steamApiKey,
- }
- --[[
- Steam Group Method
- [INSTRUCTIONS]
- - Get a SteamAPI Key: https://steamcommunity.com/dev/apikey
- - You don't need to set this if you set it at the top of this file
- - Get your GroupID: https://steamcommunity.com/groups/YOUR_GROUP_NAME/edit
- - Looks something like this: 33824579
- - Replace YOUR_GROUP_NAME with your groups URL handle
- - GroupLink: Just a link to your group the player can join at
- - Looks something like this: https://steamcommunity.com/groups/zephruz
- ]]
- zrewards.config.methodsSettings["steamgroup"] = {
- VerifyOnSpawn = false,
- APIKey = zrewards.config.steamApiKey,
- GroupID = "34927636",
- GroupLink = "https://steamcommunity.com/groups/GmodCloudroleplay",
- }
- --[[
- Discord Server Method
- [INSTRUCTIONS]
- 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-
- Go here to make an application: https://discordapp.com/developers/applications/
- - Create an application, make it nice (name it, give it a picture, etc).
- - Copy your client ID & client secret - paste them below.
- - Bot Setup:
- * Click "Bot" on the left side of the screen & create your bot.
- * Set up your bot, make it nice too. Click the "Copy" button under the token section - paste it below.
- - OAuth2 Setup:
- * Click "OAuth2" on the left side of the screen
- * Click "Add Redirect" under the "Redirects" section
- * Enter a URL here, preferrably your website (must include http:// or https://)
- * Make sure to save!
- - You're done, have fun.
- ]]
- zrewards.config.methodsSettings["discordserver"] = {
- VerifyOnSpawn = false, -- This would get annoying as fuck, they can verify via the menu (you can enable if you want)
- InviteLink = "https://discord.gg/cncvTr6", -- Your discord invite link
- GuildID = "569216282067468308", -- Your discord guild ID
- ClientID = "569221594317324289", -- Your discord application client ID
- ClientSecret = "Wjm_ksc0M6BcIE0mcOsLvwzwx5ux_VzR", -- Your discord application client secret
- BotToken = "NTY5MjIxNTk0MzE3MzI0Mjg5.XMC7ZQ.W71bMZZCkFUgeCx5GF02Mk0MdTE", -- Your discord bot token
- }
- ------------------------------------
- --[[
- ZRewards - (SH) Config
- Developed by Zephruz
- ]]
- zrewards.config = (zrewards.config or {})
- zrewards.config.rewards = {} -- DON'T EDIT THIS
- --[[
- zrewards.config.defaultTheme - The default VGUI theme
- ]]
- zrewards.config.defaultTheme = "Default"
- --[[
- zrewards.config.defaultLanguage - The default language
- ]]
- zrewards.config.defaultLanguage = "en"
- --[[
- zrewards.config.adminGroups
- - Admin groups allowed to use the admin menu
- ]]
- zrewards.config.adminGroups = {"founder", "superadmin", "admin"}
- --[[
- zrewards.config.disabledMethods
- - Methods that are disabled
- * Set to true to disable
- ]]
- zrewards.config.disabledMethods = {
- ["dailylogin"] = false,
- ["nametag"] = false,
- ["steamgroup"] = false,
- ["discordserver"] = false,
- }
- --[[
- zrewards.config.hiscoresPlayerLimit
- - Maximum amount of players that will show on the (referral) hiscores menu
- ]]
- zrewards.config.hiscoresPlayerLimit = 10
- --[[
- zrewards.config.rewards
- - Rewards for specific actions
- [INFORMATION/TUTORIAL]
- Template:
- zrewards.config.rewards["REWARD.TYPE.NAME"] = {
- Enabled = true, -- Not required, but can set to false to disable
- Icon = "icon16/ruby.png", -- The icon for this reward. Not required, set to false to disable.
- RewardFor = {
- ["discordserver"] = REWARD AMOUNT/VALUE, (can be false if you don't want this rewarded)
- ["steamgroup"] = REWARD AMOUNT/VALUE,
- ["referral"] = REWARD AMOUNT/VALUE,
- },
- }
- Reward available types:
- - DarkRP:
- - DarkRP.Cash
- - PS1:
- - PS1.Points
- - PS2:
- - PS2.Points
- - PS2.PremiumPoints
- - gLevel:
- - gLevel.EXP
- - gLevel.Level
- - gLevel.Rank
- - gLevel.Points
- - gLevel.Keys
- - SH Pointshop:
- - SHPointshop.StandardPoints
- - SHPointshop.PremiumPoints
- - Admin Mods:
- - Admin.Rank
- RewardFor available types:
- - discordserver - for joining the discord server
- - steamgroup - for joining the steam group
- - referral - for a referral
- - dailylogin - for daily logins
- - nametag - for name tags
- ]]
- zrewards.config.rewards["Admin.Rank"] = {
- Icon = "icon16/star.png",
- RewardFor = {
- ["discordserver"] = "Member",
- ["steamgroup"] = "Member"
- }
- }
- zrewards.config.rewards["DarkRP.Cash"] = {
- Icon = "icon16/money.png",
- RewardFor = {
- ["discordserver"] = 100000,
- ["steamgroup"] = 50000,
- ["referral"] = 20000,
- ["dailylogin"] = 10000,
- ["nametag"] = 90000,
- },
- }
- zrewards.config.rewards["PS2.Points"] = {
- Icon = "icon16/coins.png",
- RewardFor = {
- ["discordserver"] = 0,
- ["steamgroup"] = 0,
- ["referral"] = 0,
- ["dailylogin"] = 0,
- ["nametag"] = 0,
- },
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement