Skip to content

End count

Enzias edited this page Feb 18, 2021 · 7 revisions

End count

This page will give you all the information you need to change the end timer part of your configuration file(settings.yml). The end timer is the time between the end of the match and the moment when players will be teleported to their last locations.


  • duration: Time in seconds before the start of the fight.
  • gamemode: Here you can set the game mode of both players at the end of the match.

  • actions: In this part, you can completely customize end countdowns. For technical reasons, you can't set actions for each second of the timer. Every action is done at the moment when the fight is over. Want to delete an action? No problem, leave it blank or remove the line.

Available actions:

  • results-message: If set to true: Send to the winner of the duel the duel-win message. Send to the loser of the duel the duel-lost message. If there is no winner, send the no-winner message to both players (Check Messages Setup). Note: If you want to disable those messages, set the variable to false, do not remove the line.

  • keep-inventory: If set to true, players will not lose their inventory or experience when they die in a duel. Note: If you want to disable this setting, set the variable to false, do not remove the line.

  • fake-explosion: If set to true, it will create an explosion at the winner's location. Note: If you want to disable this effect, set the variable to false, do not remove the line.

  • firework: If set to true, it will spawn a firework at the winner's location. Note: If you want to disable this effect, set the variable to false, do not remove the line.

  • teleport: This part is about where players will be teleported depending on their situation. Please do not remove this section (you can remove the lines though). For each line, you can set only one value from 0, 1, or 2. 0 will teleport them to their last location. 1 will teleport them to the lobby location. 2 will not teleport them.

    • winner: The winner of a duel.
    • loser: The loser of a duel.
    • no-winner: Both dueling players if there is no winner at the end of a duel.
    • spectator: When a spectator leaves a duel(because the duel is over or because they used /easyduels spectate leave).
  • bet-message-to-winner: Send to the winner a message if there was money to win.

    • Available Placeholders: %amount% - The money earned.
  • bet-message-to-loser: Send to the loser a message if there was money to win.

    • Available Placeholders: %amount% - The money lost.
  • bet-message-no-winner: Send to both dueling players a message if there was money to win.

    • Available Placeholders: %amount% - The money that could have been earned.
  • title-to-winner: Show a title and a subtitle to the winner of a duel. The first line must be the title and the second the subtitle.

  • title-to-loser: Show a title and a subtitle to the loser of a duel. The first line must be the title and the second the subtitle.

  • title-no-winner: Show a title and a subtitle to both dueling players if there is no winner. The first line must be the title and the second the subtitle.

  • sound-to-winner: Play a sound to the winner of a duel.

    • sound-id: Sound ID can be found by googling "SPIGOT SOUND <your-server-version>". You can find the last-update sounds here.
    • volume (optional): The sound volume.
    • pitch (optional): The sound pitch.
  • sound-to-loser: Play a sound to the loser of a duel.

    • sound-id: Sound ID can be found by googling "SPIGOT SOUND <your-server-version>". You can find the last-update sounds here.
    • volume (optional): The sound volume.
    • pitch (optional): The sound pitch.
  • sound-no-winner: Play a sound to both dueling players if there is no winner.

    • sound-id: Sound ID can be found by googling "SPIGOT SOUND <your-server-version>". You can find the last-update sounds here.
    • volume (optional): The sound volume.
    • pitch (optional): The sound pitch.
  • actionbar-to-winner: Show an action bar to the winner of a duel.

  • actionbar-to-loser: Show an action bar to the loser of a duel.

  • actionbar-no-winner: Show an action bar to both dueling players if there is no winner.

  • broadcast: Broadcast a message to the server if there is a winner to the duel.

    • Available Placeholders: %winner% & %loser%.
  • broadcast-no-winner: Broadcast a message to the server if there is no winner for a duel.

    • Available Placeholders: %player1% & %player2%.
  • reward-commands: Run reward commands as the console. (Supports multiple lines)

    • Available Placeholders: %winner% & %loser%.