Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # GAListener v1.2
- # http://www.minecraft-index.com
- # settings section
- # onlineonly - Only delivers rewards when the player is online. If they are offline it will wait and deliver when they next join the server!
- # luckyvote - Enables the lucky voting section, this allows voters to have a random chance to receive additional rewards when they vote.
- # permvote - Enables the permission voting section, this allows voters to receive different rewards based upon their permissions.
- # cumulative - Enables the cumulative voting section, this allows voters to receive rewards once they have reached a certain number of votes.
- # broadcastqueue - Show broadcast message for queued votes.
- # broadcastoffline - Show broadcast message for offline queued votes.
- # broadcastrecent - Show broadcast message to recent voters (last 24 hours)
- # votecommand - Enables the /vote command which will show the message contained in the votemessage section at the bottom of the config.
- # rewardcommand - Enables the /rewards command which will show a list of all the cumulative voting rewards.
- # joinmessage - Show the message contained in the joinmessage section at the bottom of this config when a player joins the server.
- # voteremind - Message players who haven't voted in the last 24 hours. Shows the message contained in the remindmessage section at the bottom of this config.
- # remindseconds - How often (in seconds) between each reminder message.
- # logfile - Log received votes to vote.log file.
- # dbMode - Database mode. Use either mysql or sqlite.
- # dbFile - Database filename for SQLite.
- # dbHost - Database IP / Hostname for MySQL.
- # dbPort - Database port for MySQL.
- # dbUser - Database username for MySQL.
- # dbPass - Database password for MySQL.
- # dbName - Database name for MySQL.
- # dbPrefix - Database table prefix.
- settings:
- onlineonly: true
- luckyvote: true
- permvote: false
- cumulative: true
- broadcastqueue: true
- broadcastrecent: true
- broadcastoffline: false
- votecommand: true
- rewardcommand: false
- joinmessage: true
- voteremind: true
- remindseconds: 300
- logfile: false
- dbMode: 'sqlite'
- dbFile: 'GAL.db'
- dbHost: 'localhost'
- dbPort: 3306
- dbUser: 'root'
- dbPass: ''
- dbName: 'GAL'
- dbPrefix: ''
- # services section (default is used if service doesn't exist)
- # The example below would give 5 diamonds per vote.
- services:
- default:
- broadcast: '{WHITE}Vote{DARK_RED}>> {DARK_AQUA}{username} {WHITE}just voted at {DARK_AQUA}{service} {WHITE}and won {DARK_AQUA}a crate key!'
- playermessage: '{WHITE}Vote{DARK_RED}>> {WHITE}Thanks for voting! Here is your key.'
- commands:
- - '/cratekeys give {username} vote 1'
- # luckyvotes section
- # The example below would give a 1 in 10 chance of a voter receiving an extra $1000, and a 1 in 50 chance of an extra $1000 and 100XP.
- luckyvotes:
- '10':
- broadcast: '{WHITE}Vote{DARK_RED}>> {DARK_AQUA}{username} {WHITE}was lucky and received {DARK_AQUA}1 billion!'
- playermessage: '{WHITE}Vote{DARK_RED}>> {WHITE}You were lucky and received 1 billion!'
- commands:
- - '/eco give {username} 1000000000'
- '25':
- broadcast: '{WHITE}Vote{DARK_RED}>> {DARK_AQUA}{username} {WHITE}was lucky and received {DARK_AQUA}5 billion!'
- playermessage: '{WHITE}Vote{DARK_RED}>> {WHITE}You were lucky and received 5 billion!'
- commands:
- - '/eco give {username} 5000000000'
- '50':
- broadcast: '{WHITE}Vote{DARK_RED}>> {DARK_AQUA}{username} {WHITE}was lucky and received {DARK_AQUA}a 10/10/10 pick!'
- playermessage: '{WHITE}Vote{DARK_RED}>> {WHITE}You were lucky and received a 10/10/10 pick!'
- commands:
- - '/kit 101010pick {username}'
- '250':
- broadcast: '{WHITE}Vote{DARK_RED}>> {DARK_AQUA}{username} {WHITE}was lucky and received {DARK_AQUA}a 25/25/25 pick!'
- playermessage: '{WHITE}Vote{DARK_RED}>> {WHITE}You were lucky and received a 25/25/25 pick!'
- commands:
- - '/kit 252525pick {username}'
- '1500':
- broadcast: '{WHITE}Vote{DARK_RED}>> {DARK_AQUA}{username} {WHITE}was lucky and received {DARK_AQUA}100 billion!'
- playermessage: '{WHITE}Vote{DARK_RED}>> {WHITE}You were lucky and received 100 billion!'
- commands:
- - '/eco give {username} 100000000000'
- '2000':
- broadcast: '{WHITE}Vote{DARK_RED}>> {DARK_AQUA}{username} {WHITE}was lucky and received {DARK_AQUA}an OP pickaxe!'
- playermessage: '{WHITE}Vote{DARK_RED}>> {WHITE}You were lucky and received an OP pickaxe!'
- commands:
- - '/kit oppick {username}'
- '3000':
- broadcast: '{WHITE}Vote{DARK_RED}>> {DARK_AQUA}{username} {WHITE}was lucky and received {DARK_AQUA}an OP+ pickaxe!'
- playermessage: '{WHITE}Vote{DARK_RED}>> {WHITE}You were lucky and received an OP+ pickaxe!'
- commands:
- - '/kit oppluspick {username}'
- # permission reward section
- # This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
- perms:
- double:
- broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!'
- playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
- commands:
- - '/eco give {username} 10000000000'
- # cumulative reward section
- # This example would give players 20 Diamonds once they have reached a total of 10 votes.
- cumulative:
- '100':
- broadcast: '{WHITE}Vote{DARK_RED}>> {DARK_AQUA}{username} {WHITE}has voted {DARK_AQUA}}100 times {WHITE}and received {DARK_AQUA}10 billion!'
- playermessage: '{WHITE}Vote{DARK_RED}>> {WHITE}Thanks for voting {DARK_AQUA}100 times{WHITE}! Here is 10 billion!'
- rewardmessage: '10 Billion'
- commands:
- - '/eco give {username} 10000000000'
- # blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.
- blocked:
- - world_blocked
- # Available formatting codes for messages:
- # {service} {servicename} {SERVICE} = service name
- # {username} {player} {name} = player username
- # {votes} = current vote total
- # & = Colour Symbol to enter manual colours / control codes
- # {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
- # {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
- # {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
- # {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
- # {STRIKETHROUGH} {MAGIC} {RESET}
- votemessage:
- - '{DARK_GRAY}--------------------------------------------------------'
- - '{DARK_GRAY}[{AQUA}1/1{DARK_GRAY}] {AQUA}1x Vote Key
- - '{DARK_GRAY}[{AQUA}1/10{DARK_GRAY}] {AQUA}$1,000,000,000
- - '{DARK_GRAY}[{AQUA}1/25{DARK_GRAY}] {AQUA}$5,000,000,000
- - '{DARK_GRAY}[{AQUA}1/50{DARK_GRAY}] {AQUA}10/10/10 Pickaxe
- - '{DARK_GRAY}[{AQUA}1/250{DARK_GRAY}] {AQUA}25/25/25 Pickaxe
- - '{DARK_GRAY}[{AQUA}1/1500{DARK_GRAY}] {AQUA}$100,000,000,000
- - '{DARK_GRAY}[{AQUA}1/2000{DARK_GRAY}] {AQUA}OP Pickaxe
- - '{DARK_GRAY}[{AQUA}1/3000{DARK_GRAY}] {AQUA}OP+ Pickaxe
- - '{DARK_GRAY}[{AQUA}Every 100 Votes{DARK_GRAY}] {AQUA}$10,000,000,000
- - '{DARK_GRAY}--------------------------------------------------------'
- remindmessage:
- - '{DARK_GRAY}--------------------------------------------------------'
- - '{DARK_GRAY}[{AQUA}1/1{DARK_GRAY}] {AQUA}1x Vote Key
- - '{DARK_GRAY}[{AQUA}1/10{DARK_GRAY}] {AQUA}$1,000,000,000
- - '{DARK_GRAY}[{AQUA}1/25{DARK_GRAY}] {AQUA}$5,000,000,000
- - '{DARK_GRAY}[{AQUA}1/50{DARK_GRAY}] {AQUA}10/10/10 Pickaxe
- - '{DARK_GRAY}[{AQUA}1/250{DARK_GRAY}] {AQUA}25/25/25 Pickaxe
- - '{DARK_GRAY}[{AQUA}1/1500{DARK_GRAY}] {AQUA}$100,000,000,000
- - '{DARK_GRAY}[{AQUA}1/2000{DARK_GRAY}] {AQUA}OP Pickaxe
- - '{DARK_GRAY}[{AQUA}1/3000{DARK_GRAY}] {AQUA}OP+ Pickaxe
- - '{DARK_GRAY}[{AQUA}Every 100 Votes{DARK_GRAY}] {AQUA}$10,000,000,000
- - '{DARK_GRAY}--------------------------------------------------------'
- joinmessage:
- - '{DARK_GRAY}--------------------------------------------------------'
- - '{DARK_GRAY}[{AQUA}1/1{DARK_GRAY}] {AQUA}1x Vote Key
- - '{DARK_GRAY}[{AQUA}1/10{DARK_GRAY}] {AQUA}$1,000,000,000
- - '{DARK_GRAY}[{AQUA}1/25{DARK_GRAY}] {AQUA}$5,000,000,000
- - '{DARK_GRAY}[{AQUA}1/50{DARK_GRAY}] {AQUA}10/10/10 Pickaxe
- - '{DARK_GRAY}[{AQUA}1/250{DARK_GRAY}] {AQUA}25/25/25 Pickaxe
- - '{DARK_GRAY}[{AQUA}1/1500{DARK_GRAY}] {AQUA}$100,000,000,000
- - '{DARK_GRAY}[{AQUA}1/2000{DARK_GRAY}] {AQUA}OP Pickaxe
- - '{DARK_GRAY}[{AQUA}1/3000{DARK_GRAY}] {AQUA}OP+ Pickaxe
- - '{DARK_GRAY}[{AQUA}Every 100 Votes{DARK_GRAY}] {AQUA}$10,000,000,000
- - '{DARK_GRAY}--------------------------------------------------------'
- # Additional formatting codes for below:
- # {TOTAL} = vote total - used for /rewards
- # {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
- # {POSITION} = current rank - used for /votetop
- # {username} = player name - used for /votetop
- rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}'
- votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
- rewardheader:
- - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----------------'
- votetopheader:
- - '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----------------'
- rewardfooter:
- - '{AQUA}You currently have {GREEN}{votes} Votes'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement