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

Permitir o uso de Placeholders nas configurações #70

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

Permitir o uso de Placeholders nas configurações #70

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

Comments

@SrBedrock
Copy link
Collaborator

SrBedrock commented Jun 13, 2022

Integrar Placeholders do PlaceholderAPI para que possa ser usado nas configurações, exemplo de uso:

Exemplo usando a expansão Server e o comando do EssentialsX:

  prizes:
    FIRST:
      ==: prize
      items_give_interval: 30
      leader.commands.command_list: null
      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% bow name:Super_Arco lore:Vencedor_do_Evento_Arqueiro|Data: %server_time_dd/MM/YY%"
      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

Exemplo usando a expansão do SimpleClans e comando do EssentialsX:

  prizes:
    FIRST:
      ==: prize
      items_give_interval: 30
      leader.commands.command_list: null
      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% dragon_egg name:%simpleclans_tag_label%_%simpleclans_clan_name% lore:Troféu_da_Guerra_de_Clãs|Data:_%server_time_dd/MM/YY%"
      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
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.

1 participant