GAListener - VIP na 10dni

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
Uživatelský avatar
Misso
Příspěvky: 1201
Věk: 28
Registrován: 27 dub 2013, 17:20
Reputation: 0
Bydliště: Slovakia
Kontaktovat uživatele:

GAListener - VIP na 10dni

#1 Příspěvekod Misso » 26 úno 2014, 16:28

Server: IP:93.91.250.102:27140
7140
čaute. Na servery mám hlasovanie. A mám to nastavené že po 50hlasoch da hracovy VIP na 10dni.
Ale dnes to dalo po tretom hlase.
GAListener/config.yml
Spoiler: zobrazit

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} 264 10'

#
#  The above examples would give a voter 5 diamonds and 200XP whenever they vote on a site with the service name "MC-Index"
#
#  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: true
  broadcastqueue: true
  votecommand: true
  voteremind: true
services:
  default:
    broadcast: '{GREEN}{username} {GOLD}zahlasoval pre nas server na webe {GREEN}www.giantcraft.8u.cz {GOLD}a dostal {GREEN}odmenu. {GOLD}Zahlasuj aj ty, pomoz serveru a ziskaj odmenu!'
    playermessage: '{GREEN}Dakujeme za hlasovanie !'
    commands:
      - '/give {username} 264 10'
      - '/give {username} 384 64'
      - '/give {username} 388 5'
      - '/give {username} 95:4 20'
      - '/give {username} 395 1'
luckyvotes:
  '10':
    broadcast: '{GREEN}{username} {GOLD}zahlasoval po 10 krat a ziskal {GREEN}extra $50000!'
    playermessage: '{GREEN}Krasnych $50000!'
    commands:
    - /eco give user {username} 50000
  '50':
    broadcast: '{GREEN}{username} {GOLD}zahlasoval po 50 krat a ziskal {GREEN}VIP na 10 dni ZDARMA!!'
    playermessage: '{GREEN}Len tak {GREEN}dalej :)'
    commands:
    - /pex user {username} group add VIP "" 864000
votemessage:
  - '{GOLD}-----------------------------------------------------'
  - 'Hlasuj pre nas kazde dve hodiny www.giantcraft.8u.cz a ziskaj odmeny.'
  - '{GOLD}-----------------------------------------------------'

AsraelCZ
Příspěvky: 228
Registrován: 13 říj 2011, 21:51
Reputation: 0

Re: GAListener - VIP na 10dni

#2 Příspěvekod AsraelCZ » 26 úno 2014, 16:38

Pokud se nepletu, tak luckyvotes neni to, ze dostane odmenu po 50 hlasovani, ale je to proste vetsi vyhra, na kterou je urcita sance, ne?
Pomohl jsem ti? Dej mi K+ :)

Uživatelský avatar
Misso
Příspěvky: 1201
Věk: 28
Registrován: 27 dub 2013, 17:20
Reputation: 0
Bydliště: Slovakia
Kontaktovat uživatele:

Re: GAListener - VIP na 10dni

#3 Příspěvekod Misso » 26 úno 2014, 16:47

a ako to spravím aby to bolo po tom 50hlasovani ?

Tonysp
Příspěvky: 15
Registrován: 21 čer 2011, 22:33
Reputation: 0

Re: GAListener - VIP na 10dni

#4 Příspěvekod Tonysp » 26 úno 2014, 18:09

Musíš si někde stranou počítat hlasy u každého hráče, třeba Skript je takový všestranný plugin, ten by se ti na to hodil, pokud teda neumíš programovat.

Uživatelský avatar
Misso
Příspěvky: 1201
Věk: 28
Registrován: 27 dub 2013, 17:20
Reputation: 0
Bydliště: Slovakia
Kontaktovat uživatele:

Re: GAListener - VIP na 10dni

#5 Příspěvekod Misso » 26 úno 2014, 18:11

hm ? musí sa to dať aj tu

Tonysp
Příspěvky: 15
Registrován: 21 čer 2011, 22:33
Reputation: 0

Re: GAListener - VIP na 10dni

#6 Příspěvekod Tonysp » 26 úno 2014, 18:14

Nedá, GAlistener pouze dělá úkony podle příchozích hlasů, nic víc.

Uživatelský avatar
Misso
Příspěvky: 1201
Věk: 28
Registrován: 27 dub 2013, 17:20
Reputation: 0
Bydliště: Slovakia
Kontaktovat uživatele:

Re: GAListener - VIP na 10dni

#7 Příspěvekod Misso » 26 úno 2014, 18:17


Tonysp
Příspěvky: 15
Registrován: 21 čer 2011, 22:33
Reputation: 0

Re: GAListener - VIP na 10dni

#8 Příspěvekod Tonysp » 26 úno 2014, 20:54

Pokud to dobře chápu tak lucky votes spoléhají na zadanou šanci dát tomu, co hlasoval, něco lepšího. Takže když tam dáš 50, tak by měla být šance 1:50 že získá tu věc a né že při 50. hlasu získá tu věc. Ale pokud to mají tak debilně naprogramované tak ok.

Uživatelský avatar
Misso
Příspěvky: 1201
Věk: 28
Registrován: 27 dub 2013, 17:20
Reputation: 0
Bydliště: Slovakia
Kontaktovat uživatele:

Re: GAListener - VIP na 10dni

#9 Příspěvekod Misso » 26 úno 2014, 21:54

tak ako to mám spraviť že za 50 hlasov dostane VIP na 10dni ?

Tonysp
Příspěvky: 15
Registrován: 21 čer 2011, 22:33
Reputation: 0

Re: GAListener - VIP na 10dni

#10 Příspěvekod Tonysp » 26 úno 2014, 22:07

Koukni se na ten Skript. Každému hráči můžeš ukládat do proměnné počet hlasů. http://dev.bukkit.org/bukkit-plugins/skript/


Zpět na „Minecraft, Tekkit“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 36 hostů