Hlasovanie odmena

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:

Hlasovanie odmena

#1 Příspěvekod Misso » 14 pro 2013, 10:33

Server: IP:93.91.250.102:27140

Čaute. Dá sa spraviť na hlasovani, že ked niekdo zahrasuje 50 krat tak mu da napr. VIP na 10 dni ?

enalan
Příspěvky: 1552
Věk: 26
Registrován: 13 led 2013, 14:36
Reputation: 0

Re: Hlasovanie odmena

#2 Příspěvekod enalan » 14 pro 2013, 10:41

Ano, dá :)
Dej jsem config.
Ušetři na nákupech v eshopech se společností Plná Peněženka.
Web, který tě přiučím novým věcem - http://neobycejny-svet.cz/
Aktuální kontakt na mě - tom.cana@seznam.cz

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: Hlasovanie odmena

#3 Příspěvekod Misso » 14 pro 2013, 10:50

plugins/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: 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 10'
      - '/give {username} 384 64'
      - '/give {username} 388 5'
      - '/give {username} 95:4 20'
      - '/give {username} 395 1'
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} 50000
  '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}-----------------------------------------------------'
  - 'Hlasuj pre nas kazde dve hodiny www.giantcraft.8u.cz a ziskaj odmeny.'
  - '{GOLD}-----------------------------------------------------'

enalan
Příspěvky: 1552
Věk: 26
Registrován: 13 led 2013, 14:36
Reputation: 0

Re: Hlasovanie odmena

#4 Příspěvekod enalan » 14 pro 2013, 13:12

Přepiš

Kód: Vybrat vše

  luckyvote: false

na

Kód: Vybrat vše

  luckyvote: true

Nastav stavající odměny:

Kód: Vybrat vše

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} 50000
  '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

Kód: Vybrat vše

luckyvotes:
  '10': //Když někdo zahlasuje 10x.
    broadcast: 'Co se napíše do chatu, když někdo zahlasuje?'
    playermessage: 'Co se napíše hráči do msg, když zahlasuje?'
    commands: //Jaké příkazy má plugin vykonat?
    - /eco give user {username} 50000
  '50': //Když někdo zahlasuje 50x.
    broadcast: 'Co se napíše do chatu, když někdo zahlasuje?'
    playermessage: ''Co se napíše hráči do msg, když zahlasuje?''
    commands: //Jaké příkazy má plugin vykonat?
    - /xp give {username} 100
    - /eco give {username} 1000
Ušetři na nákupech v eshopech se společností Plná Peněženka.
Web, který tě přiučím novým věcem - http://neobycejny-svet.cz/
Aktuální kontakt na mě - tom.cana@seznam.cz

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: Hlasovanie odmena

#5 Příspěvekod Misso » 14 pro 2013, 13:34

a to VIP na 10 dni mam ako nastavit ? takto ?
Spoiler: zobrazit
- /pex user %nick group add VIP "" 864000

enalan
Příspěvky: 1552
Věk: 26
Registrován: 13 led 2013, 14:36
Reputation: 0

Re: Hlasovanie odmena

#6 Příspěvekod enalan » 14 pro 2013, 21:14

Ne, takhle

Kód: Vybrat vše

- /pex user {username} group add VIP "" 864000
Ušetři na nákupech v eshopech se společností Plná Peněženka.
Web, který tě přiučím novým věcem - http://neobycejny-svet.cz/
Aktuální kontakt na mě - tom.cana@seznam.cz


Zpět na „Minecraft, Tekkit“

Kdo je online

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