Skip to content

Settings Setup

Enzias edited this page Feb 20, 2021 · 9 revisions

Settings Setup

This page will give you all the information you need to change the settings part of your configuration file(settings.yml). Note that most settings are contained in the timer. Check Countdown Setup to find more information about the settings part.


  • check-for-updates: If set to true, enable updates checker. If the version you are using on your server is not the latest version available, a message will be displayed in the console.

  • blocked-commands: This part concerns commands that are blocked while a player is in a duel.

    • all: If set to true, every command will be blocked. If a set to false, no command will be blocked.
    • inventory: If set to true, all inventories (inventories of other plugins for example) that the player will try to open (except his own inventory) will be automatically closed.
    • blacklisted-commands: If all is set to false, only those commands will be blocked. Tips: You can only put the start of the command (i.g: if you want to block the commands /tp and /tp accept, you can only put 'tp' and the plugin will block every command that starts with 'tp').
    • whitelisted-commands: If all commands are blocked, those commands will no longer be blocked. Tips: You can only put the start of the command (i.g: if you want to unlock the commands /tp and /tp accept, you can only put 'tp' and the plugin will unlock every command that starts with 'tp').
  • queue: This part concerns the queue system. This new queue system will allow players to wait in turn to fight each other in a duel. It is possible to join the queue after accepting a duel request and with the command /easyduels queue. You can also leave the queue with /easyduels queue.

    • enable: If set to true, the queue system will be enabled. If set to false, there will be no queue (commands included). To take effect, this setting requires the server to restart.

    • max-players: Maximum players in the queue. IF some tries to join the queue while the queue is full, they will receive a "queue-is-full" message.

    • queue-join: All these actions will be sent when a player joins the queue. TIPS: As timer settings, you can remove actions you don't want. Also if you don't want any of these actions to be sent when a player joins the queue. Delete the queue-join part.

      • message-to-player: Send a message to the player who joined the queue.

        • Available Placeholders: %player_position% - The player position in the queue. %queue_size% - Amount of players in the queue.
      • title-to-player: Show a title and a subtitle to the player who joined the queue. The first line must be the title and the second the subtitle.

        • Available Placeholders: %player_position% - The player position in the queue. %queue_size% - Amount of players in the queue.
      • sound-to-player: Play a sound to the player who joined the queue.

        • 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-player: Show an action bar to the player who joined the queue.

        • Available Placeholders: %player_position% - The player position in the queue. %queue_size% - Amount of players in the queue.
    • queue-leave: All these actions will be sent when a player leaves the queue. TIPS: As timer settings, you can remove actions you don't want. Also if you don't want any of these actions to be sent when a player leaves the queue. Delete the queue-leave part.

      • message-to-player: Send a message to the player who left the queue.

        • Available Placeholders: %queue_size% - Amount of players in the queue.
      • title-to-player: Show a title and a subtitle to the player who left the queue. The first line must be the title and the second the subtitle.

        • Available Placeholders: %queue_size% - Amount of players in the queue.
      • sound-to-player: Play a sound to the player who left the queue.

        • 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-player: Show an action bar to the player who left the queue.

        • Available Placeholders: %queue_size% - Amount of players in the queue.
    • queue-update: All these actions will be sent when the player position in the queue change. TIPS: As timer settings, you can remove actions you don't want. Also if you don't want any of these actions to be sent when the player position in the queue change. Delete the queue-update part.

      • message-to-player: Send a message to the player for whom the position in the queue has changed.

        • Available Placeholders: %player_position% - The player position in the queue. %queue_size% - Amount of players in the queue.
      • title-to-player: Show a title and a subtitle to the player for whom the position in the queue has changed. The first line must be the title and the second the subtitle.

        • Available Placeholders: %player_position% - The player position in the queue. %queue_size% - Amount of players in the queue.
      • sound-to-player: Play a sound to the player for whom the position in the queue has changed.

        • 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-player: Show an action bar to the player for whom the position in the queue has changed.

        • Available Placeholders: %player_position% - The player position in the queue. %queue_size% - Amount of players in the queue.
  • money-bet:

    • enable: If set to true, money bet will be enabled.
    • minimum-amount: The minimum amount players must bet. 0 is set by default.
    • maximum-amount: The maximum amount players can bet. Tips: Set it to -1 for no maximum value.
  • spectate:

    • enable: If set to true, players will be able to teleport to the spectate spawn.
    • gamemode: The game mode players will be in if they spectate a duel.
    • after-spectate-gamemode: The game mode players will be in after spectating a duel.
    • blocked-commands: This part concerns commands that are blocked while a player is spectating a duel.
      • all: If set to true, every command will be blocked. If a set to false, no command will be blocked.
      • inventory: If set to true, all inventories (inventories of other plugins for example) that the player will try to open (except his own inventory) will be automatically closed.
      • blacklisted-commands: If all is set to false, only those commands will be blocked. Tips: You can only put the start of the command (i.g: if you want to block the commands /tp and /tp accept, you can only put 'tp' and the plugin will block every command that starts with 'tp').
      • whitelisted-commands: If all commands are blocked, those commands will no longer be blocked. Tips: You can only put the start of the command (i.g: if you want to unlock the commands /tp and /tp accept, you can only put 'tp' and the plugin will unlock every command that starts with 'tp').
  • timer: Please check Countdown Setup to find more information about the settings part.