Skip to content

Default Configuration

Enzias edited this page Feb 20, 2021 · 2 revisions

Default Configuration

The default configuration consists of 4 files named arena.yml, messages.yml, settings.yml, ranks.yml provided with the plugin. You can find it in the "plugins/EasyDuels" file of your Minecraft server and change them as you wish. You will only find the configuration files. If you want to know how to change them, please check the other parts of the "configuration" section of the wiki.

These default configuration files are only fully functional for 1.12.x

New! Find the default configuration files in your language! Click Here!


arena.yml

arena:
  world: world
  spawnpoints:
    spawn1:
      xyz: 0/0/0
      yaw: 90,0
      pitch: 0,0
    spawn2:
      xyz: 0/0/0
      yaw: 90,0
      pitch: 0,0
  spectate:
    xyz: 0/0/0
    yaw: 90,0
    pitch: 0,0
lobby:
  world: world
  xyz: 0/0/0
  yaw: 90,0
  pitch: 0,0

messages.yml

messages:
  player:
    no-permission: '&f[&6&lEasy&c&lDuels&f] &cYou don''t have permission to do that!'
    unknown-command: '&f[&6&lEasy&c&lDuels&f] &cUnknown command. Please use &6/easyduels help&c!'
    help-message:
      - '&6-&c-&6-&c-&6-&c-&6-&c-&6- &6&lEasy&c&lDuels &6-&c-&6-&c-&6-&c-&6-&c-&6-'
      - ''
      - '&6⬥ &c/&6easyduels &chelp &6- &6Send you this message.'
      - '&6⬥ &c/&6easyduels &6<&cplayer&6> &6- &6Send a duel request to the player.'
      - '&6⬥ &c/&6easyduels &caccept &6<&cplayer&6> &6- &6Accept a duel request from a player.'
      - '&6⬥ &c/&6easyduels &cdeny &6<&cplayer&6> &6- &6Deny a duel request from a player.'
      - '&6⬥ &c/&6easyduels &cqueue join &6- &6Join the duel queue.'
      - '&6⬥ &c/&6easyduels &cqueue leave &6- &6Leave the duel queue.'
      - ''
      - '&6-&c-&6-&c-&6-&c-&6-&c-&6- &6&lEasy&c&lDuels &6-&c-&6-&c-&6-&c-&6-&c-&6-'
    offline-player: '&f[&6&lEasy&c&lDuels&f] &cThe player &6%player% &cis not online or doesn''t exist!'
    duel-yourself: '&f[&6&lEasy&c&lDuels&f] &cYou can''t duel yourself!'
    no-duel-request: '&f[&6&lEasy&c&lDuels&f] &cThe player &6%player% &cdid not send you a duel request!'
    already-a-request: '&f[&6&lEasy&c&lDuels&f] &cYou already have sent a duel request!'
    request-accept-1: '&f[&6&lEasy&c&lDuels&f] &aThe player &2%player% &ahas accepted your duel request.'
    request-accept-2: '&f[&6&lEasy&c&lDuels&f] &aYou have accepted the duel request of &2%player%&a.'
    request-deny-1: '&f[&6&lEasy&c&lDuels&f] &cThe player &6%player% &chas refused your duel request!'
    request-deny-2: '&f[&6&lEasy&c&lDuels&f] &aYou refused the duel request of &2%player%&a.'
    arena-not-empty: '&f[&6&lEasy&c&lDuels&f] &cThe arena is not available at the moment!'
    player-in-duel: '&f[&6&lEasy&c&lDuels&f] &cThe player &6%player% &cis in a duel!'
    request-sent: '&f[&6&lEasy&c&lDuels&f] &aYou sent a request to &2%player%&a.'
    duel-request:
      message: '&f[&6&lEasy&c&lDuels&f] &aYou received a duel request from &2%player%&a.'
      bet-message: '&f[&6&lEasy&c&lDuels&f] &6By accepting this duel request, you will put &c%amount% &6coins at stake.'
      before-button-message: '&f[&6&lEasy&c&lDuels&f] &6Choose &6an &6option: '
      accept:
        button: '&f[&aAccept&f]'
        hover: '&aClick to accept the request !'
      deny:
        button: '&f[&cDeny&f]'
        hover: '&cClick to deny the request !'
    expired-request: '&f[&6&lEasy&c&lDuels&f] &6Your duel request has expired!'
    no-command: '&f[&6&lEasy&c&lDuels&f] &cYou can''t use this command in duel!'
    no-winner: '&f[&6&lEasy&c&lDuels&f] &6No one won the duel!'
    duel-win: '&f[&6&lEasy&c&lDuels&f] &aYou won the duel!'
    duel-lost: '&f[&6&lEasy&c&lDuels&f] &cYou lost the duel!'
    already-in-queue: '&f[&6&lEasy&c&lDuels&f] &cYou are already in the queue!'
    not-in-queue: '&f[&6&lEasy&c&lDuels&f] &cYou are not in the queue!'
    join-queue-in-duel: '&f[&6&lEasy&c&lDuels&f] &cYou can''t join the queue while you are in a duel!'
    request-duel-in-duel: '&f[&6&lEasy&c&lDuels&f] &cYou can''t send a request while you are in a duel!'
    accept-duel-in-duel: '&f[&6&lEasy&c&lDuels&f] &cYou can''t accept a request while you are in a duel!'
    queue-is-full: '&f[&6&lEasy&c&lDuels&f] &cThe queue is currently full!'
    arena-is-locked: '&f[&6&lEasy&c&lDuels&f] &cThe arena is locked!'
    you-not-enough-money: '&f[&6&lEasy&c&lDuels&f] &cYou don''t have enough money!'
    player-not-enough-money: '&f[&6&lEasy&c&lDuels&f] &c%player% does not have enough money!'
    below-minimum: '&f[&6&lEasy&c&lDuels&f] &cYou must bet at least &6%amount% &ccoins!'
    greater-maximum: '&f[&6&lEasy&c&lDuels&f] &cYou cannot bet more than &6%amount% &ccoins!'
    invalid-amount: '&f[&6&lEasy&c&lDuels&f] &cPlease enter a valid bet amount!'
    no-command-spectate: '&f[&6&lEasy&c&lDuels&f] &cYou can''t use this command while spectating!'
    now-spectating: '&f[&6&lEasy&c&lDuels&f] &aYou are now spectating the duel.'
    no-spectating: '&f[&6&lEasy&c&lDuels&f] &aYou are no longer spectating the duel.'
    spectate-in-duel: '&f[&6&lEasy&c&lDuels&f] &cYou can''t spectate a match while you are in a duel!'
    already-spectating: '&f[&6&lEasy&c&lDuels&f] &cYou are already spectating the duel!'
    not-spectating: '&f[&6&lEasy&c&lDuels&f] &cYou are not spectating a duel!'
    no-duel: '&f[&6&lEasy&c&lDuels&f] &cThere is no duel to spectate!'
  admin:
    unknown-command: '&f[&6&lEasy&c&lDuels&f] &cUnknown command. Please use &6/easyduels admin help&c!'
    help-message:
      - '&6-&c-&6-&c-&6-&c-&6-&c-&6- &6&lEasy&c&lDuels &6-&c-&6-&c-&6-&c-&6-&c-&6-'
      - ''
      - '&6⬥ &c/&6easyduels &cadmin &6<&cplayer&6> &6<&cplayer&6> &6- &6Force players to fight in a duel.'
      - '&6⬥ &c/&6easyduels &cadmin &cqueue &6<&cplayer&6> &6- &6Force a player to join the queue.'
      - '&6⬥ &c/&6easyduels &cadmin help &6- &6Send you this message.'
      - '&6⬥ &c/&6easyduels &cadmin lock &6- &6Lock or unlock the arena (Lock the queue and request).'
      - '&6⬥ &c/&6easyduels &cadmin spawn1 &6- &6Set the first spawn to your location.'
      - '&6⬥ &c/&6easyduels &cadmin spawn2 &6- &6Set the second spawn to your location.'
      - '&6⬥ &c/&6easyduels &cadmin reload &6- &6Reload the plugin.'
      - ''
      - '&6-&c-&6-&c-&6-&c-&6-&c-&6- &6&lEasy&c&lDuels &6-&c-&6-&c-&6-&c-&6-&c-&6-'
    arena-locked: '&f[&6&lEasy&c&lDuels&f] &aThe arena has been locked.'
    arena-unlocked: '&f[&6&lEasy&c&lDuels&f] &aThe arena has been unlocked.'
    join-in-duel: '&f[&6&lEasy&c&lDuels&f] &cThe player &6%player% &cis in a duel!'
    duel-himself: '&f[&6&lEasy&c&lDuels&f] &cA player can''t fight himself in a duel!'
    already-in-queue: '&f[&6&lEasy&c&lDuels&f] &c%player% is already in the queue!'
    forced-duel-start: '&f[&6&lEasy&c&lDuels&f] &aA forced duel started between &2%player1% &aand &2%player2%.'
    forced-duel-queue: '&f[&6&lEasy&c&lDuels&f] &aYou forced &2%player1% &aand &2%player2% &ato join the queue.'
    forced-queue: '&f[&6&lEasy&c&lDuels&f] &aYou forced &2%player% &ato join the queue.'
    set-spawn-1: '&f[&6&lEasy&c&lDuels&f] &aThe first spawn has been set to your location.'
    set-spawn-2: '&f[&6&lEasy&c&lDuels&f] &aThe second spawn has been set to your location.'
    set-lobby: '&f[&6&lEasy&c&lDuels&f] &aThe lobby has been set to your location.'
    set-spectate: '&f[&6&lEasy&c&lDuels&f] &aThe spectate spawn has been set to your location.'
    reloaded: '&f[&6&lEasy&c&lDuels&f] &aSuccessfully reloaded.'

settings.yml

settings:
  check-for-updates: true
  command-aliases:
    - 'easyduel'
    - 'ed'
    - 'duel'
    - 'duels'
  blocked-commands:
    all: false
    inventory: true
    blacklisted-commands:
      - 'spawn'
      - 'tp'
    whitelisted-commands:
      - 'tell'
      - 'ban'
  queue:
    enable: true
    max-players: 15
    queue-join:
      message-to-player: '&f[&6&lEasy&c&lDuels&f] &aYou joined the queue. Your position: &2%player_position%# &a!'
      title-to-player:
        - '&aYou joined the queue!'
        - '&2(&a%player_position%&2/&a%queue_size%&2)'
      sound-to-player:
        sound-id: 'ENTITY_VILLAGER_YES'
        volume: 1
        pitch: 1
      actionbar-to-player: '&aSuccessfully joined the queue. %queue_size% players in the queue.'
    queue-leave:
      message-to-player: '&f[&6&lEasy&c&lDuels&f] &cYou left the queue. &6%queue_size% players &cin the queue now.'
      title-to-player:
        - '&cYou left the queue!'
        - '&6%queue_size% players in the queue now.'
      sound-to-player:
        sound-id: 'ENTITY_VILLAGER_NO'
        volume: 1
        pitch: 1
      actionbar-to-player: '&cSuccessfully left the queue.'
    queue-update:
      message-to-player: '&f[&6&lEasy&c&lDuels&f] &aYour position in the queue: &2%player_position%&a/&2%queue_size%'
      title-to-player:
        - '&aYour position in the queue:'
        - '&a%player_position%&2/&a%queue_size%'
      sound-to-players:
        sound-id: 'ENTITY_VILLAGER_YES'
        volume: 1
        pitch: 1
      actionbar-to-player: '&aYour position in the queue: &2%player_position%&a/&2%queue_size%'
  money-bet:
    enable: true
    minimum-amount: 5000
    maximum-amount: 100000
  spectate:
    enable: true
    gamemode: 'SPECTATOR'
    after-spectate-gamemode: 'SURVIVAL'
    blocked-commands:
      all: false
      inventory: true
      blacklisted-commands:
        - 'spawn'
        - 'tp'
      whitelisted-commands:
        - 'tell'
        - 'ban'
  timer:
    sync-timer: true
    request:
      expiration: 30
    lobby:
      duration: 10
      prevent-move: true
      actions:
        '10':
          message-to-players: '&6The game starts in 10 seconds!'
          title-to-players:
            - '&aThe Duel is starting!'
            - '&6Be ready!'
          sound-to-players:
            sound-id: 'BLOCK_ANVIL_LAND'
            volume: 1
            pitch: 1
          actionbar-to-players: '&cStarting in &610 &cseconds'
          broadcast: '&aA duel is starting between %player1% and %player2%!'
        '9':
          actionbar-to-players: '&cStarting in &69 &cseconds'
        '8':
          actionbar-to-players: '&cStarting in &68 &cseconds'
        '7':
          actionbar-to-players: '&cStarting in &67 &cseconds'
        '6':
          actionbar-to-players: '&cStarting in &66 &cseconds'
        '5':
          actionbar-to-players: '&cStarting in &65 &cseconds'
        '4':
          actionbar-to-players: '&cStarting in &64 &cseconds'
        '3':
          actionbar-to-players: '&cStarting in &63 &cseconds'
          title-to-players:
            - '&aStarting in'
            - '&c3'
          sound-to-players:
            sound-id: 'BLOCK_NOTE_HARP'
            volume: 1
            pitch: 0
        '2':
          actionbar-to-players: '&cStarting in &62 &cseconds'
          title-to-players:
            - '&aStarting in'
            - '&62'
          sound-to-players:
            sound-id: 'BLOCK_NOTE_HARP'
            volume: 1
            pitch: 0
        '1':
          actionbar-to-players: '&cStarting in &61 &cseconds'
          title-to-players:
            - '&aStarting in'
            - '&c1'
          sound-to-players:
            sound-id: 'BLOCK_NOTE_HARP'
            volume: 1
            pitch: 0
        '0':
          title-to-players:
            - '&cFight'
            - '&6Good luck!'
          sound-to-players:
            sound-id: 'BLOCK_NOTE_HARP'
            volume: 1
            pitch: 1
    fight:
      duration: 300
      gamemode: 'SURVIVAL'
      actions:
        all:
          actionbar-to-players: '&cTime remaining : &6%timer%'
        '60':
          message-to-players: '&f[&6&lEasy&c&lDuels&f] &660 seconds remaining!'
          title-to-players:
            - '&660 seconds'
            - '&6Remaining'
          sound-to-players:
            sound-id: 'BLOCK_NOTE_BELL'
            volume: 1
            pitch: 1
        '30':
          message-to-players: '&f[&6&lEasy&c&lDuels&f] &630 seconds remaining!'
          title-to-players:
            - '&630 seconds'
            - '&6Remaining'
          sound-to-players:
            sound-id: 'BLOCK_NOTE_BELL'
            volume: 1
            pitch: 1
        '15':
          message-to-players: '&f[&6&lEasy&c&lDuels&f] &615 seconds remaining!'
          title-to-players:
            - '&615 seconds'
            - '&6Remaining'
          sound-to-players:
            sound-id: 'BLOCK_NOTE_BELL'
            volume: 1
            pitch: 1
        '10':
          message-to-players: '&f[&6&lEasy&c&lDuels&f] &610 seconds remaining!'
          title-to-players:
            - '&610 seconds'
            - '&6Remaining'
          sound-to-players:
            sound-id: 'BLOCK_NOTE_BELL'
            volume: 1
            pitch: 1
        '3':
          message-to-players: '&f[&6&lEasy&c&lDuels&f] &63 seconds remaining!'
          title-to-players:
            - '&63 seconds'
            - '&6Remaining'
          sound-to-players:
            sound-id: 'BLOCK_NOTE_BELL'
            volume: 1
            pitch: 1
        '2':
          message-to-players: '&f[&6&lEasy&c&lDuels&f] &62 seconds remaining!'
          title-to-players:
            - '&62 seconds'
            - '&6Remaining'
          sound-to-players:
            sound-id: 'BLOCK_NOTE_BELL'
            volume: 1
            pitch: 1
        '1':
          message-to-players: '&f[&6&lEasy&c&lDuels&f] &61 seconds remaining!'
          title-to-players:
            - '&61 second'
            - '&6Remaining'
          sound-to-players:
            sound-id: 'BLOCK_NOTE_BELL'
            volume: 1
            pitch: 1
    end:
      duration: 10
      gamemode: 'SURVIVAL'
      actions:
        results-message: true
        fake-explosion: true
        firework: true
        teleport:
          winner: 0
          loser: 2
          no-winner: 1
          spectator: 1
        bet-message-to-winner: '&f[&6&lEasy&c&lDuels&f] &aYou won the money bet: &2%amount% coins&a!'
        bet-message-to-loser: '&f[&6&lEasy&c&lDuels&f] &cYou lost the money bet: &6%amount% coins&c!'
        bet-message-no-winner: '&f[&6&lEasy&c&lDuels&f] &6No one won the money bet! You missed: &c%amount% coins&6!'
        title-to-winner:
          - '&aWinner'
          - '&6You won the duel!'
        title-to-loser:
          - '&cLoser'
          - '&6You lost the duel!'
        title-no-winner:
          - '&cDraw!'
          - '&6There is no winner!'
        sound-to-winner:
          sound-id: 'ENTITY_PLAYER_LEVELUP'
          volume: 1
          pitch: 1
        sound-to-loser:
          sound-id: 'ENTITY_WITHER_DEATH'
          volume: 1
          pitch: 1
        sound-no-winner:
          sound-id: 'BLOCK_END_PORTAL_SPAWN'
          volume: 1
          pitch: 1
        actionbar-to-winner: '&aYou won the duel!'
        actionbar-to-loser: '&cYou lost the duel!'
        actionbar-no-winner: '&6There is no winner!'
        reward-commands:
          - 'give %winner% diamond_block 1'
          - 'give %loser% diamond 1'
        broadcast: '&f[&6&lEasy&c&lDuels&f] &c%winner% &6won the duel against &c%loser%&6!'
        broadcast-no-winner: '&f[&6&lEasy&c&lDuels&f] &6No one won in the duel between &c%player1% and &c%player2%&6!'

ranks.yml

settings:
  enable: true
  rank-perms-inheritance: true
  rank-perms-checker: true
  no-rank-name: '&fNone'
  progression:
    level-formula: '30000*Math.pow(1.025, %level%)-30000'
    rank-up-actions:
      message-to-players: '%prefix% &aYou reached the rank: %rank%&a!'
      title-to-players:
        - '&6New Rank!'
        - '&aRank: %rank%'
      sound-to-players:
        sound-id: 'ENTITY_PLAYER_LEVELUP'
        volume: 1
        pitch: 1
      actionbar-to-players: '&aNew Rank!'
      broadcast: '%prefix% &2%player% &areached the rank: %rank%&a!'
    level-up-actions:
      message-to-players: '%prefix% &aYou leveled up to level &2%level%&a!'
      title-to-players:
        - '&aLevel UP!'
        - '&2Level %level%'
      sound-to-players:
        sound-id: 'ENTITY_PLAYER_LEVELUP'
        volume: 1
        pitch: 1
      actionbar-to-players: '&aLevel UP!'
      broadcast: '%prefix% &2%player% &aleveled up to level &2%level%&a!'
    level-up-reward-commands:
      - 'give %player% diamond %amount%'
    maximum-level: 100
    cooldown: 120
    duel-reward:
      winner-range: 800-1000
      no-winner-range: 600
      loser-range: 200-400
ranks:
  '10':
    name: '&aCoal'
    permissions:
      - 'permission.duel.10'
    reward-commands:
      - 'give %player% coal_block 1'
  '30':
    name: '&eIron'
    permission:
      - 'permission.duel.30'
    reward-commands:
      - 'give %player% iron_block 1'
  '50':
    name: '&6Gold'
    permission:
      - 'permission.duel.50'
    reward-commands:
      - 'give %player% gold_block 1'
  '70':
    name: '&bDiamond'
    permission:
      - 'permission.duel.70'
    reward-commands:
      - 'give %player% diamond_block 1'
  '90':
    name: '&9Obsidian'
    permission:
      - 'permission.duel.90'
    reward-commands:
      - 'give %player% obsidian 1'
  '100':
    name: '&4Invincible'
    permission:
      - 'permission.duel.100'
    reward-commands:
      - 'give %player% bedrock 1'