Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- config:
- {
- config-version: "3.0"
- #//Variables - {player} : the person who voted
- #// {rewards} : The list of random rewards the player received
- #//Leaving this empty will disable messages from being shown publicly: Supports color and formatting codes
- broadcast-message: ""
- #//-1 will have the system select a number of rewards between rewards-min and rewards-max;
- random-rewards-number: 0
- rewards-min:0
- rewards-max:0
- #//There are two kinds of rewards set and random. Set rewards will run a command and nothing else
- #//these commands are run every time a vote is had. Random Rewards are chosen well..Randomly.
- #//
- #// "12", "reward2", "say Reward2", --All Random reward Lines should look like this
- #//
- #// First Entry is a "percentage" the numbers should be an integer between 1 and 100, but if it's
- #// Going to be a 100 might as well just set it as a set command. Note that the percentage
- #// Dictates what "Loot Table" the reward goes to internally, multiple of the same percentage is fine,
- #// They will simply share a loot table. It is recommended to keep the total value of all the
- #// percentage values added up to 100 (Duplicate values are ignored in the sum since, items share
- #// loot Tables).
- #// Second Entry is the name of the reward, this name gets added to the {rewards} variable. Items in the same
- #// loot table cannot have the same name!!.
- #// Third Entry is the command you want to be run. You are free to use the {player} variable in there.
- #//
- #//This should be pretty straight forward. Number,Name,Reward. If you have any questions ask me on the forum.
- #//I am happy to help!
- Rewards{
- random:[
- "0",
- ]
- set:[
- "crate luckycrate key {player}",
- "enjin addpoints {player} 1",
- "plainbroadcast test vote",
- ]
- }
- #// Your website voting links, displayed by /vote, these support color formatting. Creates clickable links.
- #//seriousvotes.commands.vote
- vote-sites:[
- "&7https://goo.gl/HgSwmz",
- "&7https://goo.gl/qzcovK",
- "&7https://goo.gl/W4Kvsc"
- ]
- #// If you want to disable the Milestones module set hostname to ""
- database:{
- hostname: "localhost"
- port: "3306"
- name: "SeriousVote"
- prefix: "SV_"
- username: "root"
- password: "Hello I need a pasword Noob "
- }
- #// Currently we have monthly weekly and yearly, put what you need in the set rewards. these commands will be run
- #// When a player votes X amount of days in a row, 365,30, 7
- milestones: {
- weekly: {
- set:[
- "say This is a set weekly {player} Reward",
- ]
- }
- monthly: {
- set:[
- "say This is a set Monthly {player} Reward",
- "acb {player} bananaphone"
- ]
- }
- yearly: {
- set:[
- "say This is a set Yearly {player} Reward",
- "say Crap, you must play alot"
- ]
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement