Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # IceVote Configuration
- # By Johnanater
- # Remind player to vote every day
- RemindOnJoin: true
- # Has voted today feature
- # This will give players a role if they have voted today
- VotedTodayRank: false
- VotedTodayRankId: "Voted"
- # Voter rank feature
- # Will give players a rank if they
- # vote X amount of times before a reset
- VoterRank: false
- VoterRankId: "Voter"
- VoterRankMinimumVotes: 5
- # Vote resetting
- ResetVotes: false
- ResetVotesTimeDays: 30
- RewardTopPlayerOnReset: true
- # List of commands to execute for top player
- RewardTopPlayerCommands:
- - "p add %steam64% VIP"
- - "broadcast \"%player% had the most votes for this month and got VIP!\""
- # Plugin UI
- # If disabled, a command system will be used
- # Enabling this will OVERRIDE single site mode
- EnableUi: true
- # Single site mode
- # This allows raw /vote and /reward to just
- # pick the first site, comes it handy when you
- # only have one voting site
- EnableSingleSiteMode: false
- # Voting site lists
- # By default, most of the big sites have been listed here.
- # Any voting site that returns either a 1 for voted, or 0 for not voted,
- # and has a vote claim url can be listed here.
- # This information can usually be found on the website's API page.
- Sites:
- - Name: "Unturned-Servers"
- VoteUrl: "https://unturned-servers.net/server/YOUR_SERVER/vote/"
- ApiKey: "YOUR_API_KEY_HERE"
- HasVotedUrl: "https://unturned-servers.net/api/?object=votes&element=claim&key={0}&steamid={1}"
- SetVotedUrl: "https://unturned-servers.net/api/?action=post&object=votes&element=claim&key={0}&steamid={1}"
- - Name: "UnturnedSL"
- VoteUrl: "https://unturnedsl.com/vote/YOUR_SERVER_ID"
- # You need to put your server's ID here instead of the API key
- ApiKey: "YOUR_SERVER_ID"
- # HTTPS does not seem to work in Unturned, but you can try it
- HasVotedUrl: "http://unturnedsl.com/api/dedicated/{0}/{1}"
- SetVotedUrl: "http://unturnedsl.com/api/dedicated/post/{0}/{1}"
- - Name: "TrackyServer"
- VoteUrl: "https://www.trackyserver.com/server/YOUR_SERVER"
- ApiKey: "YOUR_API_KEY_HERE"
- # HTTPS does not work on TrackyServer
- HasVotedUrl: "http://www.api.trackyserver.com/vote/?action=status&key={0}&steamid={1}"
- SetVotedUrl: "http://www.api.trackyserver.com/vote/?action=claim&key={0}&steamid={1}"
- - Name: "envul"
- VoteUrl: "https://envul.com/YOUR_SERVER/"
- ApiKey: "YOUR_API_KEY_HERE"
- HasVotedUrl: "https://api.envul.com/vote?dev_key=YOUR_DEV_KEY_HERE&api_key={0}&steamid={1}&call=1"
- SetVotedurl: "https://api.envul.com/vote?dev_key=YOUR_DEV_KEY_HERE&api_key={0}&steamid={1}&call=2"
- # Rewards
- Rewards:
- - Type: "money"
- Value: "100"
- Message: "%player% got $100 for voting!"
- Chance: 10.00
- - Type: "item"
- Value: "15,15,15,15"
- Message: "%player% got a %itemnames% for voting!"
- Chance: 25.00
- - Type: "item"
- Value: "15"
- Message: "%player% got a %itemnames% for voting!"
- Chance: 5.00
- - Type: "vehicle"
- Value: "15"
- Message: "%player% got a %vehiclename% for voting!"
- Chance: 5.00
- - Type: "experience"
- Value: "250"
- Message: "%player% got 250 exp for voting!"
- Chance: 25.00
- - Type: "rank"
- Value: "VIP"
- Message: "%player% got rank VIP for voting!"
- Chance: 25.00
- # This is a CustomRewardType, you can define them below
- - Type: "freekick"
- Value: "got a free kick!"
- Message: "%player% got a free kick!"
- Chance: 5.00
- # Custom reward types
- # These allow you to define your own type of rewards
- # using commands along with variables.
- # Variables you can use:
- # Player Name: %player%
- # Steam64: %steam64%
- # Value from the reward: %value%
- CustomRewardTypes:
- - Name: "freekick"
- Commands:
- # List of commands to execute
- - say "%player% %value%"
- # This is for the Vanilla kick command
- # It will kick the player for the reason "got a free kick"
- - kick %player%/%value%"
- - Name: "day"
- # List of commands to execute
- Commands:
- - day
- #
- # Chat
- #
- ChatConfig:
- # Icon for the chat messages sent
- ChatMessageIconUrl: "https://i.imgur.com/gFxQO6K.png"
- ChatUseRichText: false
- # These chat colors are from Unity
- # You can find out how to specify colors here:
- # https://docs.unity3d.com/ScriptReference/ColorUtility.TryParseHtmlString.html
- ChatMessageColor: "#00FF00"
- ChatMessageErrorColor: "#FF0000"
- #
- # Database
- #
- # Should MySQL be enabled?
- # If disabled, the plugin will use a JSON file for storage
- EnableMySql: false
- # Connection string for MySQL
- # You should only change the values here, but if you need to specify more, you can read here:
- # https://www.connectionstrings.com/mysql/
- database:
- ConnectionStrings:
- default: "Server=127.0.0.1; Database=IceVote; Port=3306; User=username; Password=password "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement