GAListener

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
Uživatelský avatar
sdsda98
Příspěvky: 136
Registrován: 18 říj 2015, 22:28
Reputation: 0
Bydliště: Žilina

GAListener

#1 Příspěvekod sdsda98 » 19 pro 2015, 16:20

82.208.17.10:27629


Chcem sa opýtať ako mam nastaviť v GAListener že za každých 5 hlasov dostane bonus?
Tu je config

Kód: Vybrat vše

#  GAListener v1.3.1
#  http://www.minecraft-index.com

#  settings section

#  onlineonly - Only delivers rewards when the player is online.  If they are offline it will wait and deliver when they next join the server!
#  luckyvote - Enables the lucky voting section, this allows voters to have a random chance to receive additional rewards when they vote.
#  permvote - Enables the permission voting section, this allows voters to receive different rewards based upon their permissions.
#  cumulative - Enables the cumulative voting section, this allows voters to receive rewards once they have reached a certain number of votes.
#  broadcastqueue - Show broadcast message for queued votes.
#  broadcastoffline - Show broadcast message for offline queued votes.
#  broadcastrecent - Show broadcast message to recent voters (last 24 hours)
#  votecommand - Enables the /vote command which will show the message contained in the votemessage section at the bottom of the config.
#  rewardcommand - Enables the /rewards command which will show a list of all the cumulative voting rewards.
#  joinmessage - Show the message contained in the joinmessage section at the bottom of this config when a player joins the server.
#  voteremind - Message players who haven't voted in the last 24 hours. Shows the message contained in the remindmessage section at the bottom of this config.
#  remindseconds - How often (in seconds) between each reminder message.
#  ratelimit - Ignore votes received within this many seconds since the last vote for the same player on the same site.  This should prevent duplicate votes.
#  logfile - Log received votes to vote.log file.
#  dbMode - Database mode. Use either mysql or sqlite.
#  dbFile - Database filename for SQLite.
#  dbHost - Database IP / Hostname for MySQL.
#  dbPort - Database port for MySQL.
#  dbUser - Database username for MySQL.
#  dbPass - Database password for MySQL.
#  dbName - Database name for MySQL.
#  dbPrefix - Database table prefix.

settings:
  onlineonly: true
  luckyvote: false
  permvote: false
  cumulative: false
  broadcastqueue: true
  broadcastrecent: true
  broadcastoffline: false
  votecommand: true
  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 pre server {GREEN}a ziskal 1diamond!'
    playermessage: '{GREEN}Dakujeme ze si hlasoval!'
    commands:
    - '/give {username} 264 1'
  MC-Index:
    broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}MC-Index.com {GOLD}and received {GREEN}10 Diamonds!'
    playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
    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}-----------------------------------------------------'
- 'Vote for us every day for in game rewards and extras'
- '{GOLD}-----------------------------------------------------'
- '{AQUA}You currently have {GREEN}{votes} 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} Votes {GRAY}- {AQUA}{REWARD}'
votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
rewardheader:
- '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----------------'
votetopheader:
- '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----------------'
rewardfooter:
- '{AQUA}You currently have {GREEN}{votes} Votes'

Mysti
Příspěvky: 96
Registrován: 29 led 2014, 22:38
Reputation: 0

Re: GAListener

#2 Příspěvekod Mysti » 19 pro 2015, 22:50

Tady to máš znázorněno:
Spoiler: zobrazit
cumulative:
'5': --------> Počet za kolik hlasů to bude
broadcast: '{GREEN}{username} {GOLD}has voted a total of {YELLOW}10 times {GOLD}and received {GREEN}20 Diamonds!' -------> Co to napíše v chatu
playermessage: '{GREEN}Thanks for voting {AQUA}10 times!' --------> Co to napíše hráčovi
rewardmessage: '20x Diamond' ----------> Zpráva co dostane za odměnu
commands:
- '/give {username} 264 20' ---------> Příkaz pro odměnu
Pomohl jsem? Jestli jo budu rád když mi dáš Karmu
IP Serveru: 93.91.250.111:26076
Skype: m0bY_czE
Ptejte se mně bud v PM nebo na Skype
Díky Mysti (m0bY)

Uživatelský avatar
sdsda98
Příspěvky: 136
Registrován: 18 říj 2015, 22:28
Reputation: 0
Bydliště: Žilina

Re: GAListener

#3 Příspěvekod sdsda98 » 20 pro 2015, 21:47

Nastavil som to ale nejde.. Tu je config

Kód: Vybrat vše

#  GAListener v1.3.1
#  http://www.minecraft-index.com

#  settings section

#  onlineonly - Only delivers rewards when the player is online.  If they are offline it will wait and deliver when they next join the server!
#  luckyvote - Enables the lucky voting section, this allows voters to have a random chance to receive additional rewards when they vote.
#  permvote - Enables the permission voting section, this allows voters to receive different rewards based upon their permissions.
#  cumulative - Enables the cumulative voting section, this allows voters to receive rewards once they have reached a certain number of votes.
#  broadcastqueue - Show broadcast message for queued votes.
#  broadcastoffline - Show broadcast message for offline queued votes.
#  broadcastrecent - Show broadcast message to recent voters (last 24 hours)
#  votecommand - Enables the /vote command which will show the message contained in the votemessage section at the bottom of the config.
#  rewardcommand - Enables the /rewards command which will show a list of all the cumulative voting rewards.
#  joinmessage - Show the message contained in the joinmessage section at the bottom of this config when a player joins the server.
#  voteremind - Message players who haven't voted in the last 24 hours. Shows the message contained in the remindmessage section at the bottom of this config.
#  remindseconds - How often (in seconds) between each reminder message.
#  ratelimit - Ignore votes received within this many seconds since the last vote for the same player on the same site.  This should prevent duplicate votes.
#  logfile - Log received votes to vote.log file.
#  dbMode - Database mode. Use either mysql or sqlite.
#  dbFile - Database filename for SQLite.
#  dbHost - Database IP / Hostname for MySQL.
#  dbPort - Database port for MySQL.
#  dbUser - Database username for MySQL.
#  dbPass - Database password for MySQL.
#  dbName - Database name for MySQL.
#  dbPrefix - Database table prefix.

settings:
  onlineonly: true
  luckyvote: false
  permvote: false
  cumulative: true
  broadcastqueue: true
  broadcastrecent: true
  broadcastoffline: false
  votecommand: true
  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 pre server {GREEN}a ziskal odmenu!'
    playermessage: '{GREEN}Dakujeme ze si hlasoval!'
    commands:
    - '/crate key {username} vote'
    - '/eco give {username} 500'
    - '/xp give {username} 250'
  MC-Index:
    broadcast: '{GREEN}{username} {GOLD}has voted @ {GREEN}MC-Index.com {GOLD}and received {GREEN}10 Diamonds!'
    playermessage: '{GREEN}Thanks for voting at {AQUA}{service}!'
    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:
  '5':
    broadcast: '{GREEN}{username} {GOLD}hlasoval uz 5x a ziskal {YELLOW}BONUS!'
    playermessage: '{GREEN}Dakujeme za tvojich 5 hlasov!'
    rewardmessage: ''
    commands:
    - '/crate key {username} lucky'
  '10':
    broadcast: '{GREEN}{username} {GOLD}hlasoval uz 10x a ziskal {YELLOW}BONUS!'
    playermessage: '{GREEN}Dakujeme za tvojich 10 hlasov!'
    rewardmessage: ''
    commands:
    - '/crate key {username} lucky'
  '15':
    broadcast: '{GREEN}{username} {GOLD}hlasoval uz 15x a ziskal {YELLOW}BONUS!'
    playermessage: '{GREEN}Dakujeme za tvojich 15 hlasov!'
    rewardmessage: ''
    commands:
    - '/crate key {username} lucky'
  '20':
    broadcast: '{GREEN}{username} {GOLD}hlasoval uz 20x a ziskal {YELLOW}BONUS!'
    playermessage: '{GREEN}Dakujeme za tvojich 20 hlasov!'
    rewardmessage: ''
    commands:
    - '/crate key {username} ultra'
  '25':
    broadcast: '{GREEN}{username} {GOLD}hlasoval uz 25x a ziskal {YELLOW}BONUS!'
    playermessage: '{GREEN}Dakujeme za tvojich 25 hlasov!'
    rewardmessage: ''
    commands:
    - '/crate key {username} lucky'
   '30':
    broadcast: '{GREEN}{username} {GOLD}hlasoval uz 30x a ziskal {YELLOW}BONUS!'
    playermessage: '{GREEN}Dakujeme za tvojich 30 hlasov!'
    rewardmessage: ''
    commands:
    - '/crate key {username} lucky'
    - '/give {username} 264 5'
  '35':
    broadcast: '{GREEN}{username} {GOLD}hlasoval uz 35x a ziskal {YELLOW}BONUS!'
    playermessage: '{GREEN}Dakujeme za tvojich 35 hlasov!'
    rewardmessage: ''
    commands:
    - '/crate key {username} lucky'
    - '/give {username} 264 5'
  '40':
    broadcast: '{GREEN}{username} {GOLD}hlasoval uz 40x a ziskal {YELLOW}BONUS!'
    playermessage: '{GREEN}Dalsi bonus bude za 50 hlasov!'
    rewardmessage: ''
    commands:
    - '/crate key {username} ultra'
    - '/give {username} 264 10'
  '50':
    broadcast: '{GREEN}{username} {GOLD}hlasoval uz 50x a ziskal {YELLOW}BONUS!'
    playermessage: '{GREEN}Dalsi bonus bude za 60 hlasov!'
    rewardmessage: ''
    commands:
    - '/crate key {username} ultra'
    - '/give {username} 264 16'
    - '/eco give {username} 10000'
  '60':
    broadcast: '{GREEN}{username} {GOLD}hlasoval uz 60x a ziskal {YELLOW}BONUS!'
    playermessage: '{GREEN}Dalsi bonus bude za 70 hlasov!'
    rewardmessage: ''
    commands:
    - '/crate key {username} lucky'
    - '/give {username} 264 5'
    - '/eco give {username} 1000'
    - '/xp give {username} 500'
  '70':
    broadcast: '{GREEN}{username} {GOLD}hlasoval uz 70x a ziskal {YELLOW}BONUS!'
    playermessage: '{GREEN}Dalsi bonus bude za 80 hlasov!'
    rewardmessage: ''
    commands:
    - '/crate key {username} ultra'
    - '/give {username} 264 5'
    - '/eco give {username} 1000'

#  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}-----------------------------------------------------'
- 'Hlasuj kazde dve hodiny a ziskaj odmenu'
- '{GOLD}-----------------------------------------------------'
- '{AQUA}Hlasy {GREEN}{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} Votes {GRAY}- {AQUA}{REWARD}'
votetopformat: '{POSITION}. {GREEN}{username} - {WHITE}{TOTAL}'
rewardheader:
- '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Rewards{WHITE} ] {GOLD}----------------'
votetopheader:
- '{GOLD}---------------- {WHITE}[ {DARK_AQUA}Top Voters{WHITE} ] {GOLD}----------------'
rewardfooter:
- '{AQUA}You currently have {GREEN}{votes} Votes'



Neviem kde mam chybu..

MarekBurget

Re: GAListener

#4 Příspěvekod MarekBurget » 20 pro 2015, 21:52

Nastav uplne hore tam kde je true a false,

Kód: Vybrat vše

cumulative: false

na true.

Uživatelský avatar
sdsda98
Příspěvky: 136
Registrován: 18 říj 2015, 22:28
Reputation: 0
Bydliště: Žilina

Re: GAListener

#5 Příspěvekod sdsda98 » 20 pro 2015, 22:12

Mám to na true
Len keď hráč hlasuje tak to nič nenapíše do chatu a nedá mu to odmenu..

MarekBurget

Re: GAListener

#6 Příspěvekod MarekBurget » 20 pro 2015, 23:57

To mas zle spraveny votifier.

Uživatelský avatar
sdsda98
Příspěvky: 136
Registrován: 18 říj 2015, 22:28
Reputation: 0
Bydliště: Žilina

Re: GAListener

#7 Příspěvekod sdsda98 » 21 pro 2015, 16:21

Ten mám dobrý..
Hlasovanie ide..
Len keď dám /fakevote meno hráča tak to nič nenapíše a nedostane odmenu..
Proste to nič nepíše..

MarekBurget

Re: GAListener

#8 Příspěvekod MarekBurget » 21 pro 2015, 16:31

Nedávaj fakevote, uplne to kazí aj štatistiky /votetop, či ako je to.


Zpět na „Minecraft, Tekkit“

Kdo je online

Uživatelé prohlížející si toto fórum: Google [Bot] a 19 hostů