Když zahlasuju na czech craftu, tak nemám odměnu (/FAKEVOTE JDE) confing GAListener :
Kód: Vybrat vše
settings:
onlineonly: true
luckyvote: false
permvote: false
cumulative: false
broadcastqueue: false
broadcastrecent: true
broadcastoffline: true
votecommand: false
rewardcommand: false
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:
default:
broadcast: '{GREEN}{username} {GOLD}hlasoval pro Server Craft a obdrzel {AQUA}5 diamantu{GOLD}! Hlasovat muzes na {GREEN}http://www.servercraft.fakaheda.eu/'
playermessage: '{GREEN}Dekujeme za hlas! V inventari najdes svoji odmenu.'
commands:
- '/give {username} 264 5'
MC-Index:
broadcast: '{GREEN}{username} {GOLD}hlasoval pro Server Craft na strance {GREEN}MC-Index.com {GOLD}a obdrzel {GREEN}10 Diamonds!'
playermessage: '{GREEN}Thanks for voting at {AQUA}{service}{GREEN}!'
commands:
- '/give {username} 264 5'
# 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: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra $1000!'
playermessage: '{GREEN}You were lucky and received an extra $1000!'
commands:
- '/eco give {username} 1000'
'50':
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!'
commands:
- '/xp give {username} 100'
- '/eco give {username} 1000'
# 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:
- '/give {username} 264 10'
# cumulative reward section
# This example would give players 20 Diamonds once they have reached a total of 10 votes.
cumulative:
'10':
broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN}20 Diamonds!'
playermessage: '{GREEN}Thanks for voting {AQUA}10 times!'
rewardmessage: '20x Diamond'
commands:
- '/give {username} 264 20'
# 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}-----------------------------------------------------'
- 'Vote for us every day for in game rewards and extras'
- '{GOLD}-----------------------------------------------------'
- '{AQUA}You currently have {GREEN}{votes} Votes'
remindmessage:
- '{GOLD}-----------------------------------------------------'
- 'You have not voted recently, please vote to support the server'
- '{GOLD}-----------------------------------------------------'
- '{AQUA}You currently have {GREEN}{votes} Votes'
joinmessage:
- '{GOLD}-----------------------------------------------------'
- '{GREEN}Hlasuj pro server kazde 2 hodiny na {AQUA}http://www.servercraft.fakaheda.eu/'
- '{GOLD}-----------------------------------------------------'
- '{BLUE}Pocet tvych hlasu: {GREEN}{BOLD}{votes}'
# 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} Hlasu {GRAY}- {AQUA}{REWARD}'
votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
rewardheader:
- '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Odmeny{WHITE} ] {GOLD}----------------'
votetopheader:
- '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Top Hlasovani{WHITE} ] {GOLD}----------------'
rewardfooter:
- '{AQUA}Aktualne si pro nas hlasoval {GREEN}{votes}x.'