GAListener v1.3.1

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 v1.3.1

#1 Příspěvekod sdsda98 » 30 pro 2015, 23:14

82.208.17.10:27629

Dobrý deň, na servery mám plugin GAListener. Neviem kde mám chybu ale mam nastavené v configu aby dostal za 10,20,30,40,50 hlasov BONUS + mám tam aj luckyvote čo je na náhodne odmeny. Len keď hráč dosiahne 10,20,30,40,50 hlasov tak mu to nič nedá
ale luckyvote funguje. Tu je môj nastavený config.yml

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: true
  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 a dostal odmenu! {GREEN}Hlasuj aj ty na webe!'
    playermessage: '{GREEN}Dakujeme ze si hlasoval!'
    commands:
    - '/crate key {username} vote'
    - '/crate key {username} vote'
    - '/kit odmena {username}'
  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:
  '5':
    broadcast: '{GREEN}{username} {GOLD}mal v hlasovani stastie a dostal {GREEN}BONUS!!'
    playermessage: '{GREEN}Mal si stastie v hlasovani!'
    commands:
    - '/eco give {username} 1000'
  '10':
    broadcast: '{GREEN}{username} {GOLD}mal v hlasovani stastie a dostal {GREEN}super BONUS!'
    playermessage: '{GREEN}Mal si stastie v hlasovani!'
    commands:
    - '/xp give {username} 150'
    - '/eco give {username} 1000'
    - '/crate key {username} lucky'
  '15':
    broadcast: '{GREEN}{username} {GOLD}mal v hlasovani stastie a dostal {DARK_RED}Legendary Kluc!'
    playermessage: '{GREEN}Mal si stastie v hlasovani!'
    commands:
    - '/crate key {username} legendary'

#  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}hlasoval uz 10 krat a ziskal {YELLOW}BONUS!'
    playermessage: '{GREEN}Dakujeme za 10 Hlasov!'
    rewardmessage: 'xp money ultra'
    commands:
    - '/crate key {username} ultra'
    - '/eco give {username} 300'
    - '/eco give {username} 5000'
cumulative:
  '20':
    broadcast: '{GREEN}{username} {GOLD}hlasoval uz 20 krat a ziskal {YELLOW}BONUS!'
    playermessage: '{GREEN}Dakujeme za 20 Hlasov!'
    rewardmessage: 'Kluce'
    commands:
    - '/crate key {username} legendary'
    - '/crate key {username} ultra'
    - '/crate key {username} lucky'
    - '/crate key {username} vote'
cumulative:
  '30':
    broadcast: '{GREEN}{username} {GOLD}hlasoval uz 30 krat a ziskal {YELLOW}BONUS!'
    playermessage: '{GREEN}Dakujeme za 30 Hlasov!'
    rewardmessage: 'money nether star xp legendary'
    commands:
    - '/crate key {username} legendary'
    - '/eco give {username} 50000'
    - '/xp give {username} 1000'
    - '/give {username} 399 1'
cumulative:
  '40':
    broadcast: '{GREEN}{username} {GOLD}hlasoval uz 40 krat a ziskal {YELLOW}BONUS!'
    playermessage: '{GREEN}Dakujeme za 40 Hlasov!'
    rewardmessage: 'Kluce'
    commands:
    - '/crate key {username} legendary'
    - '/crate key {username} legendary'
    - '/crate key {username} ultra'
    - '/crate key {username} ultra'
    - '/crate key {username} lucky'
    - '/crate key {username} lucky'

#  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:
- '{DARK_GRAY}-----------------------------------------------------'
- '{GOLD}http://czech-craft.eu/vote.php?id=14485&user={player}'
- '{GOLD}Hlasoval si {AQUA}{votes}{GOLD} krat'
- '{DARK_GRAY}-----------------------------------------------------'

remindmessage:
- '{GRAY}-----------------------------------------------------'
- '{GOLD}'
- '{GOLD}-----------------------------------------------------'
- '{AQUA}You currently have {GREEN}{votes} Votes'

joinmessage:
- '{DARK_GRAY}-----------------------------------------------------'
- '{GOLD}Hlasuj kazde dve hodiny a ziskaj odmenu /vote'
- '{GOLD}Hlasoval si {AQUA}{votes}{GOLD} krat'
- '{GOLD}Web http://endless-games.webnode.sk'
- '{GOLD}TeamSpeak3 81.0.217.180:7063'
- '{DARK_GRAY}-----------------------------------------------------'

#  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 Hlasujuci{WHITE} ] {GOLD}----------------'
rewardfooter:
- '{AQUA}You currently have {GREEN}{votes} Votes'

LukixCZ
Příspěvky: 234
Věk: 25
Registrován: 10 lis 2013, 07:55
Reputation: 0

Re: GAListener v1.3.1

#2 Příspěvekod LukixCZ » 18 led 2016, 23:18

Zkus dát místo:
Spoiler: zobrazit
cumulative:
'10':
broadcast: '{GREEN}{username} {GOLD}hlasoval uz 10 krat a ziskal {YELLOW}BONUS!'
playermessage: '{GREEN}Dakujeme za 10 Hlasov!'
rewardmessage: 'xp money ultra'
commands:
- '/crate key {username} ultra'
- '/eco give {username} 300'
- '/eco give {username} 5000'
cumulative:
'20':
broadcast: '{GREEN}{username} {GOLD}hlasoval uz 20 krat a ziskal {YELLOW}BONUS!'
playermessage: '{GREEN}Dakujeme za 20 Hlasov!'
rewardmessage: 'Kluce'
commands:
- '/crate key {username} legendary'
- '/crate key {username} ultra'
- '/crate key {username} lucky'
- '/crate key {username} vote'
cumulative:
'30':
broadcast: '{GREEN}{username} {GOLD}hlasoval uz 30 krat a ziskal {YELLOW}BONUS!'
playermessage: '{GREEN}Dakujeme za 30 Hlasov!'
rewardmessage: 'money nether star xp legendary'
commands:
- '/crate key {username} legendary'
- '/eco give {username} 50000'
- '/xp give {username} 1000'
- '/give {username} 399 1'
cumulative:
'40':
broadcast: '{GREEN}{username} {GOLD}hlasoval uz 40 krat a ziskal {YELLOW}BONUS!'
playermessage: '{GREEN}Dakujeme za 40 Hlasov!'
rewardmessage: 'Kluce'
commands:
- '/crate key {username} legendary'
- '/crate key {username} legendary'
- '/crate key {username} ultra'
- '/crate key {username} ultra'
- '/crate key {username} lucky'
- '/crate key {username} lucky'


Todle:
Spoiler: zobrazit
cumulative:
'10':
broadcast: '{GREEN}{username} {GOLD}hlasoval uz 10 krat a ziskal {YELLOW}BONUS!'
playermessage: '{GREEN}Dakujeme za 10 Hlasov!'
rewardmessage: 'xp money ultra'
commands:
- '/crate key {username} ultra'
- '/eco give {username} 300'
- '/eco give {username} 5000'
'20':
broadcast: '{GREEN}{username} {GOLD}hlasoval uz 20 krat a ziskal {YELLOW}BONUS!'
playermessage: '{GREEN}Dakujeme za 20 Hlasov!'
rewardmessage: 'Kluce'
commands:
- '/crate key {username} legendary'
- '/crate key {username} ultra'
- '/crate key {username} lucky'
- '/crate key {username} vote'
'30':
broadcast: '{GREEN}{username} {GOLD}hlasoval uz 30 krat a ziskal {YELLOW}BONUS!'
playermessage: '{GREEN}Dakujeme za 30 Hlasov!'
rewardmessage: 'money nether star xp legendary'
commands:
- '/crate key {username} legendary'
- '/eco give {username} 50000'
- '/xp give {username} 1000'
- '/give {username} 399 1'
'40':
broadcast: '{GREEN}{username} {GOLD}hlasoval uz 40 krat a ziskal {YELLOW}BONUS!'
playermessage: '{GREEN}Dakujeme za 40 Hlasov!'
rewardmessage: 'Kluce'
commands:
- '/crate key {username} legendary'
- '/crate key {username} legendary'
- '/crate key {username} ultra'
- '/crate key {username} ultra'
- '/crate key {username} lucky'
- '/crate key {username} lucky'
Připoj se k nám play.southcraft.eu
Zvednutí karmy za spokojenost nic nestojí :)


Zpět na „Minecraft, Tekkit“

Kdo je online

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