[code=yaml file=GAconfig.yml]# GAListener v1.3.1
# 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.
# 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.
# 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: false
permvote: false
cumulative: false
broadcastqueue: true
broadcastrecent: true
broadcastoffline: false
votecommand: true
rewardcommand: true
joinmessage: true
voteremind: false
remindseconds: 300
ratelimit: 10
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:
services:
default:
broadcast: '{GREEN}{username} {GOLD}volil na {GREEN}Czech-Craft {GOLD}a dostal {GREEN}odmenu {GOLD}a {GREEN}200 XP! Zahlasuj na webu a dostanes diammanty a jine uzitecne veci!'
playermessage: '{GREEN}Dekujeme za hlasovani na {AQUA}{service}!'
commands:
- '/eco give {username} 1500'
- '/xp give {username} 200'
- '/give {username} 266 9'
- '/give {username} 265 16'
- '/give {username} 322 1'
- '/give {username} 364 12'
- '/give {username} 384 8'
# 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:
'1':
broadcast: '{GREEN}{username} {GOLD}Mel mensi stesti a dostal {GREEN}extra odmenu $2000!'
playermessage: '{GREEN}Mel si mensi stesti a dostal si $2000!'
commands:
- '/eco give {username} 2000'
'10':
broadcast: '{GREEN}{username} {GOLD}Mel stesti a dostal {GREEN}extra odmenu $10000!'
playermessage: '{GREEN}Mel si stesti a dostal si $10000!'
commands:
- '/eco give {username} 10000'
'50':
broadcast: '{GREEN}{username} {GOLD}Mel extremni stesti a dostal {GREEN}extra Beacon and $25000!'
playermessage: '{GREEN}Mel si extremni stesti a dostal si {GREEN}extra Beacon and $25000!'
commands:
- '/give {username} 138'
- '/eco give {username} 25000'
'80':
broadcast: '{GREEN}{username} {GOLD}Mel OBROVSKE stesti a dostal {GREEN}extra vajicko na vesnicany and $35000!'
playermessage: '{GREEN}Mel si OBROVSKE stesti a dostal si {GREEN}extra vajicko na vesnicany and $35000!'
commands:
- '/give {username} 383:120 6'
- '/eco give {username} 35000'
# 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}volil @ {GREEN}{service} {GOLD}a dostal {GREEN}32 diamantu!'
playermessage: '{GREEN}Dekujeme za voleni {AQUA}{service}!'
commands:
- '/give {username} 264 32'
# cumulative reward section
# This example would give players 20 Diamonds once they have reached a total of 10 votes.
cumulative:
'5':
broadcast: '{GREEN}{username} {GOLD}uz volil {YELLOW}5x {GOLD}a dostane HODNE VECI!{GREEN}!!'
playermessage: '{GREEN}Dekujeme za voleni {AQUA}10x!'
rewardmessage: 'Hooodne moc dobrych veci'
commands:
- '/give {username} 98 64'
- '/eco give {username} 15000'
- '/give {username} 392 8'
- '/give {username} 391 8'
- '/give {username} 57 12'
- '/give {username} 421 4'
- '/give {username} 419 1'
'10':
broadcast: '{GREEN}{username} {GOLD}uz volil {YELLOW}10x {GOLD}a dostane {GREEN}VIP na MESIC!!'
playermessage: '{GREEN}Dekujeme za voleni {AQUA}10x!'
rewardmessage: 'VIP na Mesic'
commands:
- '/pex user {username} group add VIP1 2629800'
'30':
broadcast: '{GREEN}{username} {GOLD}uz volil {YELLOW}30x {GOLD}a dostane {GREEN}ExtraVIP na MESIC!!'
playermessage: '{GREEN}Dekujeme za voleni {AQUA}30x!'
rewardmessage: 'ExtraVIP na Mesic'
commands:
- '/pex user {username} group add VIP2 2629800'
'75':
broadcast: '{GREEN}{username} {GOLD}uz volil {YELLOW}75x {GOLD}a dostane {GREEN}VIP na VZDY!!!!'
playermessage: '{GREEN}Dekujeme za voleni {AQUA}75x!'
rewardmessage: 'VIP na Vzdy'
commands:
- '/pex user {username} group set VIP1'
# 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:
- '{GOLD}-----------------------------------------------------'
- ' Volte nas server kazdy den a dostavejte dobre odmeny! Fajncraft.g6.cz !'
- '{GOLD}-----------------------------------------------------'
- '{AQUA}Celkove si hlasoval {GREEN}{votes}x'
remindmessage:
- '{GOLD}-----------------------------------------------------'
- 'Jeste si nehlasoval.. Prosim hlasuj na fajncraft.g6.cz'
- '{GOLD}-----------------------------------------------------'
- '{AQUA}Celkove si hlasoval {GREEN}{votes}x'
joinmessage:
- '{GOLD}-----------------------------------------------------'
- 'Hlasuj kazdy den a dostan dobre odmeny!'
- '{GOLD}-----------------------------------------------------'
- '{AQUA}Celkem si hlasoval {GREEN}{votes}x'
# 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} Hlasovani {GRAY}- {AQUA}{REWARD}'
votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
rewardheader:
- '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Odmeny{WHITE} ] {GOLD}----------------'
votetopheader:
- '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Nejvic hlasu{WHITE} ] {GOLD}----------------'
rewardfooter:
- '{AQUA}Celkem si hlasoval {GREEN}{votes}x'[/code]