Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erro quando é definido vencedor do evento #69

Closed
SrBedrock opened this issue Jun 13, 2022 · 6 comments · Fixed by #65
Closed

Erro quando é definido vencedor do evento #69

SrBedrock opened this issue Jun 13, 2022 · 6 comments · Fixed by #65

Comments

@SrBedrock
Copy link
Collaborator

Ao definir um vencedor do evento com o comando /tb setwin [jogador], todos os jogadores vivos na partida recebem o prêmio definido para o primeiro colocado.

Exemplo do prêmio:

  prizes:
    FIRST:
      ==: prize
      items_give_interval: 30
      leader.commands.command_list:
      - give %player% diamond_sword %some_number%
      - eco give %player% %some_number%
      leader.commands.enabled: false
      leader.commands.some_number.divided: false
      leader.commands.some_number.value: 100.0
      leader.items.enabled: false
      leader.items.item_list: null
      member.commands.command_list:
      - eco give %player% 50000
      member.commands.enabled: true
      member.commands.some_number.divided: false
      member.commands.some_number.value: 100.0
      member.items.enabled: false
      member.items.item_list: null
      treat_leaders_as_members: true
    SECOND:
      ==: prize
      items_give_interval: 30
      leader.commands.command_list:
      - give %player% diamond_sword %some_number%
      - eco give %player% %some_number%
      leader.commands.enabled: false
      leader.commands.some_number.divided: false
      leader.commands.some_number.value: 100.0
      leader.items.enabled: false
      leader.items.item_list: null
      member.commands.command_list:
      - give %player% diamond_sword %some_number%
      - eco give %player% %some_number%
      member.commands.enabled: false
      member.commands.some_number.divided: false
      member.commands.some_number.value: 100.0
      member.items.enabled: false
      member.items.item_list: null
      treat_leaders_as_members: false
    THIRD:
      ==: prize
      items_give_interval: 30
      leader.commands.command_list:
      - give %player% diamond_sword %some_number%
      - eco give %player% %some_number%
      leader.commands.enabled: false
      leader.commands.some_number.divided: false
      leader.commands.some_number.value: 100.0
      leader.items.enabled: false
      leader.items.item_list: null
      member.commands.command_list:
      - give %player% diamond_sword %some_number%
      - eco give %player% %some_number%
      member.commands.enabled: false
      member.commands.some_number.divided: false
      member.commands.some_number.value: 100.0
      member.items.enabled: false
      member.items.item_list: null
      treat_leaders_as_members: false
    KILLER:
      ==: prize
      items_give_interval: 30
      leader.commands.command_list:
      - give %player% diamond_sword %some_number%
      - eco give %player% %some_number%
      leader.commands.enabled: false
      leader.commands.some_number.divided: false
      leader.commands.some_number.value: 100.0
      leader.items.enabled: false
      leader.items.item_list: null
      member.commands.command_list:
      - give %player% diamond_sword %some_number%
      - eco give %player% %some_number%
      member.commands.enabled: false
      member.commands.some_number.divided: false
      member.commands.some_number.value: 100.0
      member.items.enabled: false
      member.items.item_list: null
      treat_leaders_as_members: false
@RoinujNosde
Copy link
Owner

group_mode false ou true?

@SrBedrock
Copy link
Collaborator Author

False:

group_mode: false

@RoinujNosde
Copy link
Owner

Todos ganharam ou apenas membros do mesmo clã do vencedor?

Me envie o log umas linhas antes e depois de usar o /tb setwinner.

@SrBedrock
Copy link
Collaborator Author

Todos jogadores vivos no evento ganham, independente de serem do mesmo clã ou não.

@RoinujNosde
Copy link
Owner

Me envie o log umas linhas antes e depois de usar o /tb setwinner.

@SrBedrock
Copy link
Collaborator Author

Enviado no seu discord

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants