Untitled diff

Created Diff never expires
1 removal
183 lines
1 addition
183 lines
# GAListener v1.3.2
# GAListener v1.3.2
# http://www.minecraft-index.com
# http://www.minecraft-index.com


# settings section
# 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!
# 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.
# 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.
# 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.
# 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.
# broadcastqueue - Show broadcast message for queued votes.
# broadcastoffline - Show broadcast message for offline queued votes.
# broadcastoffline - Show broadcast message for offline queued votes.
# broadcastrecent - Show broadcast message to recent voters (last 24 hours)
# 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.
# 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.
# 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.
# 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.
# 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.
# remindseconds - How often (in seconds) between each reminder message.
# ratelimit - Ignore votes received within this many seconds since the last vote for the same player on the same site. This should prevent duplicate votes.
# ratelimit - Ignore votes received within this many seconds since the last vote for the same player on the same site. This should prevent duplicate votes.
# logfile - Log received votes to vote.log file.
# logfile - Log received votes to vote.log file.
# dbMode - Database mode. Use either mysql or sqlite.
# dbMode - Database mode. Use either mysql or sqlite.
# dbFile - Database filename for SQLite.
# dbFile - Database filename for SQLite.
# dbHost - Database IP / Hostname for MySQL.
# dbHost - Database IP / Hostname for MySQL.
# dbPort - Database port for MySQL.
# dbPort - Database port for MySQL.
# dbUser - Database username for MySQL.
# dbUser - Database username for MySQL.
# dbPass - Database password for MySQL.
# dbPass - Database password for MySQL.
# dbName - Database name for MySQL.
# dbName - Database name for MySQL.
# dbPrefix - Database table prefix.
# dbPrefix - Database table prefix.


settings:
settings:
onlineonly: true
onlineonly: true
luckyvote: false
luckyvote: false
permvote: false
permvote: false
cumulative: true
cumulative: true
broadcastqueue: true
broadcastqueue: true
broadcastrecent: true
broadcastrecent: true
broadcastoffline: false
broadcastoffline: false
votecommand: true
votecommand: true
rewardcommand: true
rewardcommand: true
joinmessage: true
joinmessage: true
voteremind: true
voteremind: true
remindseconds: 1800
remindseconds: 1800
ratelimit: 10
ratelimit: 10
logfile: false
logfile: false
dbMode: 'sqlite'
dbMode: 'sqlite'
dbFile: 'GAL.db'
dbFile: 'GAL.db'
dbHost: 'localhost'
dbHost: 'localhost'
dbPort: 3306
dbPort: 3306
dbUser: 'root'
dbUser: 'root'
dbPass: ''
dbPass: ''
dbName: 'GAL'
dbName: 'GAL'
dbPrefix: ''
dbPrefix: ''


# services section (default is used if service doesn't exist)
# services section (default is used if service doesn't exist)
# The example below would give 5 diamonds per vote.
# The example below would give 5 diamonds per vote.


services:
services:
default:
default:
broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}5 Diamonds!'
broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}5 Diamonds!'
playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
commands:
commands:
- '/give {username} 264 5'
- '/give {username} 264 5'
- '/xp 825 {username}
- '/xp 825 {username}'
MC-Index:
MC-Index:
broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}MC-Index.com {GOLD}and received {GREEN}10 Diamonds!'
broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}MC-Index.com {GOLD}and received {GREEN}10 Diamonds!'
playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
commands:
commands:
- '/give {username} 264 5'
- '/give {username} 264 5'


# luckyvotes section
# 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.
# 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:
luckyvotes:
'10':
'10':
broadcast: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra $1000!'
broadcast: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra $1000!'
playermessage: '{GREEN}You were lucky and received an extra $1000!'
playermessage: '{GREEN}You were lucky and received an extra $1000!'
commands:
commands:
- '/eco give {username} 1000'
- '/eco give {username} 1000'
'50':
'50':
broadcast: '{GREEN}{username} {GOLD}was super lucky and received an {GREEN}extra 100 XP and $1000!'
broadcast: '{GREEN}{username} {GOLD}was super lucky and received an {GREEN}extra 100 XP and $1000!'
playermessage: '{GREEN}You were super lucky and received an {GREEN}extra 100 XP and $1000!'
playermessage: '{GREEN}You were super lucky and received an {GREEN}extra 100 XP and $1000!'
commands:
commands:
- '/xp give {username} 100'
- '/xp give {username} 100'
- '/eco give {username} 1000'
- '/eco give {username} 1000'


# permission reward section
# permission reward section
# This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.
# This example would give players with the permission node "gal.double" 10 Diamonds instead of their regular reward.


perms:
perms:
double:
double:
broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!'
broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}10 Diamonds!'
playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
commands:
commands:
- '/give {username} 264 10'
- '/give {username} 264 10'


# cumulative reward section
# cumulative reward section
# This example would give players 20 Diamonds once they have reached a total of 10 votes.
# This example would give players 20 Diamonds once they have reached a total of 10 votes.


cumulative:
cumulative:
'10':
'10':
broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN} a Sharpness 5 Fire Aspect 2 Sword!'
broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN} a Sharpness 5 Fire Aspect 2 Sword!'
playermessage: '{GREEN}Thanks for voting {AQUA}10 times!'
playermessage: '{GREEN}Thanks for voting {AQUA}10 times!'
rewardmessage: 'Sharpness 5 Fire Aspect 2 Sword'
rewardmessage: 'Sharpness 5 Fire Aspect 2 Sword'
commands:
commands:
- '/give {username} diamond_sword 1 sharpness fire_aspect'
- '/give {username} diamond_sword 1 sharpness fire_aspect'
'50':
'50':
broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}50 times {GOLD}and received a {GREEN} Full Protection 4 Unbreaking 3 Set!'
broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}50 times {GOLD}and received a {GREEN} Full Protection 4 Unbreaking 3 Set!'
playermessage: '{GREEN}Thanks for voting {AQUA}50 times!'
playermessage: '{GREEN}Thanks for voting {AQUA}50 times!'
rewardmessage: 'Full Unbreaking 3 Protection 4'
rewardmessage: 'Full Unbreaking 3 Protection 4'
commands:
commands:
- '/give {username} 310 1 protection unbreaking'
- '/give {username} 310 1 protection unbreaking'
- '/give {username} 311 1 protection unbreaking'
- '/give {username} 311 1 protection unbreaking'
- '/give {username} 312 1 protection unbreaking'
- '/give {username} 312 1 protection unbreaking'
- '/give {username} 313 1 protection unbreaking'
- '/give {username} 313 1 protection unbreaking'
'100':
'100':
broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}100 times {GOLD}and received a {GREEN} Beacon!'
broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}100 times {GOLD}and received a {GREEN} Beacon!'
playermessage: '{GREEN}Thanks for voting {AQUA}100 times!'
playermessage: '{GREEN}Thanks for voting {AQUA}100 times!'
rewardmessage: 'Beacon'
rewardmessage: 'Beacon'
commands:
commands:
- '/give {username} 138 1'
- '/give {username} 138 1'
'25':
'25':
broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}25 times {GOLD}and received {GREEN} 70 levels!'
broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}25 times {GOLD}and received {GREEN} 70 levels!'
playermessage: '{GREEN}Thanks for voting {AQUA}25 times!'
playermessage: '{GREEN}Thanks for voting {AQUA}25 times!'
rewardmessage: '70 Levels of XP'
rewardmessage: '70 Levels of XP'
commands:
commands:
- '/xp 8765 {username}'
- '/xp 8765 {username}'
'
'




# blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.
# blocked - a list of worlds where rewards should be disabled, they will remain queued until the player is in an allowed world.


blocked:
blocked:
- world_blocked
- world_blocked


# Available formatting codes for messages:
# Available formatting codes for messages:


# {service} {servicename} {SERVICE} = service name
# {service} {servicename} {SERVICE} = service name
# {username} {player} {name} = player username
# {username} {player} {name} = player username
# {votes} = current vote total
# {votes} = current vote total
# & = Colour Symbol to enter manual colours / control codes
# & = Colour Symbol to enter manual colours / control codes
# {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
# {AQUA} {BLACK} {BLUE} {DARK_AQUA} {DARK_BLUE}
# {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
# {DARK_GRAY} {DARK_GREEN} {DARK_PURPLE} {DARK_RED} {GOLD}
# {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
# {GRAY} {GREEN} {LIGHT_PURPLE} {RED} {WHITE} {YELLOW} {BOLD}
# {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
# {ITALIC} {UNDERLINE} {STRIKETHROUGH} {STRIKE}
# {STRIKETHROUGH} {MAGIC} {RESET}
# {STRIKETHROUGH} {MAGIC} {RESET}


votemessage:
votemessage:
- '{GOLD}-----------------------------------------------------'
- '{GOLD}-----------------------------------------------------'
- 'Vote for us every day for in game rewards and extras'
- 'Vote for us every day for in game rewards and extras'
- 'http://goo.gl/API3Bk'
- 'http://goo.gl/API3Bk'
- 'http://goo.gl/XUTdpP'
- 'http://goo.gl/XUTdpP'
- 'http://goo.gl/yX5BCg'
- 'http://goo.gl/yX5BCg'
- 'https://goo.gl/kS6jQ3'
- 'https://goo.gl/kS6jQ3'
- 'https://goo.gl/kS6jQ3'
- 'https://goo.gl/kS6jQ3'
- '{GOLD}-----------------------------------------------------'
- '{GOLD}-----------------------------------------------------'
- '{AQUA}You currently have {GREEN}{votes} Votes'
- '{AQUA}You currently have {GREEN}{votes} Votes'


remindmessage:
remindmessage:
- '{GOLD}-----------------------------------------------------'
- '{GOLD}-----------------------------------------------------'
- 'You have not voted recently, please vote to support the server'
- 'You have not voted recently, please vote to support the server'
- '{GOLD}-----------------------------------------------------'
- '{GOLD}-----------------------------------------------------'
- '{AQUA}You currently have {GREEN}{votes} Votes'
- '{AQUA}You currently have {GREEN}{votes} Votes'


joinmessage:
joinmessage:
- '{GOLD}-----------------------------------------------------'
- '{GOLD}-----------------------------------------------------'
- 'Vote for us every day for in game rewards and extras'
- 'Vote for us every day for in game rewards and extras'
- '{GOLD}-----------------------------------------------------'
- '{GOLD}-----------------------------------------------------'
- '{AQUA}You currently have {GREEN}{votes} Votes'
- '{AQUA}You currently have {GREEN}{votes} Votes'


# Additional formatting codes for below:
# Additional formatting codes for below:


# {TOTAL} = vote total - used for /rewards
# {TOTAL} = vote total - used for /rewards
# {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
# {REWARD} = current rewardmessage as specified in the cumulative reward section - used for /rewards
# {POSITION} = current rank - used for /votetop
# {POSITION} = current rank - used for /votetop
# {username} = player name - used for /votetop
# {username} = player name - used for /votetop


rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}'
rewardformat: '{GREEN}{TOTAL} Votes {GRAY}- {AQUA}{REWARD}'
votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
rewardheader:
rewardheader:
- '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----------------'
- '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----------------'
votetopheader:
votetopheader:
- '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----------------'
- '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----------------'
rewardfooter:
rewardfooter:
- '{AQUA}You currently have {GREEN}{votes} Votes'
- '{AQUA}You currently have {GREEN}{votes} Votes'