Stránka 1 z 1
GAlisteren
Napsal: 28 zář 2013, 15:33
od jakub1000
Server: IP: 93.91.240.128:27486Čau chtěl bych vědět jak nastavím GAlisteren aby to dalo hráči odměnu za to že hlasoval. Na začátku mu to dá 5 diamantů. A když to změním na něco jiného a dám pak /galisteren reload tak skusim hlasovat a stejně mi to dá 5 diamantů. Tak bych chtěl vědět jak to.
GAlisteren config
Kód: Vybrat vše
# GiveAnything Config
# http://www.mc-index.com
#
# Online only (default: true)
# onlineonly: true
#
# Only delivers rewards when the player is online. If they are offline it will wait and deliver when they next join the server!
#
# Lucky vote (default: false)
# luckyvote: false
#
# Enables the lucky voting section, this allows voters to have a random chance to receive additional rewards when they vote, for the format see below.
#
# Vote command (/vote) (default: false)
# votecommand: false
#
# Enables the /vote command which will show the message contained in the votemessage section at the bottom of this config
#
# Login vote reminder (default: false)
# voteremind: false
#
# Shows the message contained in the votemessage section at the bottom of this config to players when they join the server
#
# Services section (default is used if service doesn't exist)
# MC-Index:
# broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}www.mc-index.com {GOLD}and received {GREEN}5 Diamonds {GOLD}and {GREEN}200 XP!'
# playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
# commands:
# - '/give {username} 7 1'
# - '/give {username} 384 64'
# - '/give {username} 385 1'
# - '/give {username} 138 1'
# - '/give {username} 373:16389 1'
# - '/give {username} 151 64'
# Děkujeme že jsi hlasoval! Odměna ti byla automaticky dodána!
#
# Lucky votes section (disabled by default)
# luckyvotes:
# 50:
# 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'
# 100:
# broadcast: '{GREEN}{username} {GOLD}was {GREEN}super lucky {GOLD}and received an {GREEN}extra $5000!'
# playermessage: '{GREEN}You were super lucky and received an extra $5000!'
# commands:
# - '/eco give {username} 5000'
#
# The above examples would give a 1 in 50 chance of a voter receiving an extra $1000, and a 1 in 100 chance of $5000
# If you do not use essentials economy, the command(s) can be modified to suit whichever economy you use.
#
# Vote Message
# votemessage:
# - 'add a message here with voting information'
# - 'players will see this when they type /vote'
#
#
# Available codes for messages / commands:
#
# {service} {servicename} {SERVICE} = service name
# {username} {player} {name} = player username
#
# & = 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}
#
settings:
onlineonly: true
luckyvote: false
broadcastqueue: true
votecommand: true
voteremind: true
services:
default:
broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}{service} {GOLD}and received {GREEN}5 Diamonds!'
playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
commands:
- '/give {username} 264 5'
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 user {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
votemessage:
- '{GOLD}-----------------------------------------------------------------'
- 'Čau! Hlasuj pro nas server na www.extracraft.4fan.cz a dostanes odmenu!'
- '{GOLD}-----------------------------------------------------------------'
Chtěl bych aby jim to dalo toto
Kód: Vybrat vše
# - '/give {username} 7 1'
# - '/give {username} 384 64'
# - '/give {username} 385 1'
# - '/give {username} 138 1'
# - '/give {username} 373:16389 1'
# - '/give {username} 151 64
A nevím jestli to půjde když smažu # (Yaml to bere jako text to už vím

)
-- 28 zář 2013, 17:16 --
Když někdo zahlasuje dá mu to 5 diamantů

Re: GAlisteren
Napsal: 28 zář 2013, 18:04
od panChemicky
Takhle by ti to mělo jit. Měl jsi to ve špatným oddělení (nevím jak jinak to nazvat)
Kód: Vybrat vše
# GiveAnything Config
# http://www.mc-index.com
#
# Online only (default: true)
# onlineonly: true
#
# Only delivers rewards when the player is online. If they are offline it will wait and deliver when they next join the server!
#
# Lucky vote (default: false)
# luckyvote: false
#
# Enables the lucky voting section, this allows voters to have a random chance to receive additional rewards when they vote, for the format see below.
#
# Vote command (/vote) (default: false)
# votecommand: false
#
# Enables the /vote command which will show the message contained in the votemessage section at the bottom of this config
#
# Login vote reminder (default: false)
# voteremind: false
#
# Shows the message contained in the votemessage section at the bottom of this config to players when they join the server
#
# Services section (default is used if service doesn't exist)
# MC-Index:
# broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}www.mc-index.com {GOLD}and received {GREEN}5 Diamonds {GOLD}and {GREEN}200 XP!'
# playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
# commands:
# - '/give {username} 7 1'
# - '/give {username} 384 64'
# - '/give {username} 385 1'
# - '/give {username} 138 1'
# - '/give {username} 373:16389 1'
# - '/give {username} 151 64'
# Děkujeme že jsi hlasoval! Odměna ti byla automaticky dodána!
#
# Lucky votes section (disabled by default)
# luckyvotes:
# 50:
# 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'
# 100:
# broadcast: '{GREEN}{username} {GOLD}was {GREEN}super lucky {GOLD}and received an {GREEN}extra $5000!'
# playermessage: '{GREEN}You were super lucky and received an extra $5000!'
# commands:
# - '/eco give {username} 5000'
#
# The above examples would give a 1 in 50 chance of a voter receiving an extra $1000, and a 1 in 100 chance of $5000
# If you do not use essentials economy, the command(s) can be modified to suit whichever economy you use.
#
# Vote Message
# votemessage:
# - 'add a message here with voting information'
# - 'players will see this when they type /vote'
#
#
# Available codes for messages / commands:
#
# {service} {servicename} {SERVICE} = service name
# {username} {player} {name} = player username
#
# & = 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}
#
settings:
onlineonly: true
luckyvote: false
broadcastqueue: true
votecommand: true
voteremind: true
services:
default:
broadcast: '{GREEN}{username} {GOLD}hlasoval {GREEN}{service} {GOLD}a ziskal {GREEN}TADY SI VYPIS TY VECI!'
playermessage: '{GREEN}Diky, z jsi hlasoval na {AQUA}{service}. Odmena ti byla pripsana!'
commands:
- '/give {username} 7 1'
- '/give {username} 384 64'
- '/give {username} 385 1'
- '/give {username} 138 1'
- '/give {username} 373:16389 1'
- '/give {username} 151 64
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 user {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
votemessage:
- '{GOLD}-----------------------------------------------------------------'
- 'Čau! Hlasuj pro nas server na www.extracraft.4fan.cz a dostanes odmenu!'
- '{GOLD}-----------------------------------------------------------------'
Re: GAlisteren
Napsal: 28 zář 2013, 18:33
od vojtamaniak
panChemicky, stejně tam máš chybu

Opraveno:
Kód: Vybrat vše
# GiveAnything Config
# http://www.mc-index.com
#
# Online only (default: true)
# onlineonly: true
#
# Only delivers rewards when the player is online. If they are offline it will wait and deliver when they next join the server!
#
# Lucky vote (default: false)
# luckyvote: false
#
# Enables the lucky voting section, this allows voters to have a random chance to receive additional rewards when they vote, for the format see below.
#
# Vote command (/vote) (default: false)
# votecommand: false
#
# Enables the /vote command which will show the message contained in the votemessage section at the bottom of this config
#
# Login vote reminder (default: false)
# voteremind: false
#
# Shows the message contained in the votemessage section at the bottom of this config to players when they join the server
#
# Services section (default is used if service doesn't exist)
# MC-Index:
# broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}www.mc-index.com {GOLD}and received {GREEN}5 Diamonds {GOLD}and {GREEN}200 XP!'
# playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
# commands:
# - '/give {username} 7 1'
# - '/give {username} 384 64'
# - '/give {username} 385 1'
# - '/give {username} 138 1'
# - '/give {username} 373:16389 1'
# - '/give {username} 151 64'
# Děkujeme že jsi hlasoval! Odměna ti byla automaticky dodána!
#
# Lucky votes section (disabled by default)
# luckyvotes:
# 50:
# 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'
# 100:
# broadcast: '{GREEN}{username} {GOLD}was {GREEN}super lucky {GOLD}and received an {GREEN}extra $5000!'
# playermessage: '{GREEN}You were super lucky and received an extra $5000!'
# commands:
# - '/eco give {username} 5000'
#
# The above examples would give a 1 in 50 chance of a voter receiving an extra $1000, and a 1 in 100 chance of $5000
# If you do not use essentials economy, the command(s) can be modified to suit whichever economy you use.
#
# Vote Message
# votemessage:
# - 'add a message here with voting information'
# - 'players will see this when they type /vote'
#
#
# Available codes for messages / commands:
#
# {service} {servicename} {SERVICE} = service name
# {username} {player} {name} = player username
#
# & = 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}
#
settings:
onlineonly: true
luckyvote: false
broadcastqueue: true
votecommand: true
voteremind: true
services:
default:
broadcast: '{GREEN}{username} {GOLD}hlasoval {GREEN}{service} {GOLD}a ziskal {GREEN}TADY SI VYPIS TY VECI!'
playermessage: '{GREEN}Diky, z jsi hlasoval na {AQUA}{service}. Odmena ti byla pripsana!'
commands:
- '/give {username} 7 1'
- '/give {username} 384 64'
- '/give {username} 385 1'
- '/give {username} 138 1'
- '/give {username} 373:16389 1'
- '/give {username} 151 64'
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 user {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
votemessage:
- '{GOLD}-----------------------------------------------------------------'
- 'Čau! Hlasuj pro nas server na www.extracraft.4fan.cz a dostanes odmenu!'
- '{GOLD}-----------------------------------------------------------------'
Re: GAlisteren
Napsal: 28 zář 2013, 18:51
od panChemicky
A můžu se zeptat kde? Protože buď potřebuju brejle a nebo opravdu vidím dva stejný kody
Re: GAlisteren
Napsal: 28 zář 2013, 19:10
od jakub1000
Tak jaký mám použít

Re: GAlisteren
Napsal: 28 zář 2013, 19:30
od vojtamaniak
Ten můj!

panChemicky, u těch commands ti chybí u toho posledního uvozovka ':
Kód: Vybrat vše
services:
default:
broadcast: '{GREEN}{username} {GOLD}hlasoval {GREEN}{service} {GOLD}a ziskal {GREEN}TADY SI VYPIS TY VECI!'
playermessage: '{GREEN}Diky, z jsi hlasoval na {AQUA}{service}. Odmena ti byla pripsana!'
commands:
- '/give {username} 7 1'
- '/give {username} 384 64'
- '/give {username} 385 1'
- '/give {username} 138 1'
- '/give {username} 373:16389 1'
- '/give {username} 151 64
Re: GAlisteren
Napsal: 28 zář 2013, 19:38
od panChemicky
vojtamaniak: JJ, pravda. Díky za vysvětlení
