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: "&4{player} &eJust Voted! They received {rewards}! Want to get some rewards too? &6run &5/vote"
- #//-1 will have the system select a number of rewards between rewards-min and rewards-max;
- random-rewards-number: 1
- rewards-min:1
- rewards-max:1
- #//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). In reality it's just weight based tables, there is a graphic on the thread.
- #// 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:[
- "10", "RANDOM PIXELMON", "pokerandom {player}",
- "1", "RANDOM SHINY PIXELMON", "pokerandom {player} s",
- "5", "Masterball", "give {player} pixelmon:master_ball 1",
- "30", "2 Rare Candies", "give {player} pixelmon:rare_candy 2",
- "44", "$5000 PokeBucks", "econ add {player} 5000",
- "60", "10 Ultra Balls", "give {player} pixelmon:ultra_ball 10",
- "100", "$1000 PokeBucks", "econ add {player} 1000",
- "300", "5 Ultra Balls", "give {player} pixelmon:ultra_ball 5",
- "400", "Extra $200 PokeBucks", "econ add {player} 200",
- ]
- set:[
- "$200 PokeBucks", "econ add {player} 200",
- ]
- }
- #// Your website voting links, displayed by /vote, these support color formatting. Creates clickable links.
- #//seriousvote.commands.vote
- vote-sites:[
- "&a&lPlease click the link below.",
- "&4http://www.playpixelmonmc.com/voting",
- ]
- #//Enable milestones to enable the database
- 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
- #// This module is disabled by default. It requires a mysql database. Update the database Information and then change enabled to true;
- #// The restart your server or do /svreload
- milestones: {
- enabled: false
- 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