Simple VOTE
Napsal: 15 čer 2013, 10:23
93.91.250.135:27147
Mam vsetko dobre nastavene, a chcem aby po hlasovani mal hrac na 2hodiny FLY ale neako to nejde.
skusal som - 'fly %name% 1;2h' ale i - 'fly %name%;2h'
kde robim chybu?
Mam vsetko dobre nastavene, a chcem aby po hlasovani mal hrac na 2hodiny FLY ale neako to nejde.
skusal som - 'fly %name% 1;2h' ale i - 'fly %name%;2h'
kde robim chybu?
Kód: Vybrat vše
# Sends private message to the voting player.
private-message: '&eVdaka za hlasovanie!'
# Sends public broadcast to server.
public-message: '&e%name% &5 hlasoval na www.spartan-craf.tk &5 Dostal 3xDia,6xIron,6xGold,10x expbottle,2x Cow, 900 money, +FLY na 2 Hodiny zadarmo.&bHLASOVAT MOZES KAZDE 2 HODINY!'
# Commands to be performed only if the player is offline, without the slash.
offline-commands:
- 'broadcast &eChod na www.spartan-craft.tk a hlasuj, dostanes odmenu, %name% &eju dostal zadarmo!'
# Commands to be performed if the player voted offline and joins the server.
login-commands:
- 'msg %name% Tu je odmena za tvoje hlasovanie!'
- 'give %name% 264 3'
- 'give %name% 265 6'
- 'give %name% 266 6'
- 'give %name% 384 10'
- 'give %name% 383:92 2'
- 'money give %name% 900'
# Commands to be performed only if the player is online.
online-commands:
- 'msg %name% Tu je odmena za tvoje hlasovanie!'
- 'give %name% 264 3'
- 'give %name% 265 6'
- 'give %name% 266 6'
- 'give %name% 384 10'
- 'give %name% 384:90 2'
- 'give %name% 383:92 2'
- 'money give %name% 900'
# Commands to be performed after a given amount of time.
# Separate command from time using ';' and define the time
# using 'h' (hour), 'm' (minute), 's' (second). Exclude the slash
# in front of the command unless the command requires another slash.
timed-commands:
- 'fly %name% 1;2h'
# Note: Stopping or reloading the server will execute the timed commands.