Match Effects

Extra effects that make duels look and feel better: the start elevator, round launch, death animation, health indicator, win flight and more. Every effect has a switch in config.yml, and most of them can also be turned off by each player in /settings.

Overview

All settings on this page are in config.yml. Run /sd reload-config confirm after you change them.

New servers get the bundled config.yml, so the effects marked "On" below are already running. When you update from an older version, the updater adds the new effects switched off. Your server keeps working the same way until you turn them on.

EffectSettingNew installAfter updatePlayer switch in /settings
Start elevatorduels.start-elevatorOnOffYes
Round launchduels.round-launchOnOffYes
Death animationduels.death-animationOnOffYes
Health indicatorduels.health-indicatorOnOffYes
Saturation action barsaturation-action-barOn (each player turns it on)OffYes, off until the player turns it on
Elimination fly modeduels.elimination.fly-modeOnKept as it wasNo
Win flightduels.win-flightOffOffNo
FIGHT title on early startduels.round.fight-title-on-early-startOnOnNo
Match Point titleduels.round.match-pointOnOnNo
XP score animationduels.xp-animationOffOffNo
Arena world borderworld-borderOnKept as it wasNo

A player switch only shows in /settings while the effect is turned on in config.yml. If you turn an effect off in the config, it is off for everyone.

Start Elevator

At the start of a 1v1 match, each fighter starts in a small shaft under their spawn and floats up into the arena. The plugin digs the shaft for the ride and puts every block back afterwards.

How to set it up

  1. Open config.yml and set duels.start-elevator.enabled: true.
  2. Make sure each arena has room under the spawns. The shaft is 3x3 blocks wide and depth blocks deep (default 5). The shaft must stay inside the arena region, so the lower arena corner must be at least depth blocks below the spawns.
  3. Keep the two spawns at least 5 blocks apart (on the X or Z axis), so the two shafts do not overlap.
  4. Do not put chests, beds, signs, portals or other special blocks under the spawns. The plugin skips the shaft if it would touch one.
  5. Run /sd reload-config confirm and start a 1v1 duel to test it.

If a player does not get the elevator, set debug: true at the top of config.yml. The console then says why the shaft was skipped for that spawn (outside the arena region or a special block in the way).

When it runs

duels:
  start-elevator:
    enabled: true
    depth: 5            # blocks below the spawn (3 to 12)
    speed-level: 2      # levitation level 1 to 5; level 2 rises about 2 blocks per second
    timeout-ticks: 100  # place the player on the spawn after this many ticks
    wall-material: GLASS
    particles: true
    volume: 1.0

Round Launch

From round 2 on, players fly in an arc back to their spawn instead of being teleported. The normal round teleport still runs at the end, so everyone ends up in the exact spot.

duels:
  round-launch:
    enabled: true
    arc-height: 12        # blocks above the higher of the start point and the spawn
    ticks-per-block: 0.9  # flight time = distance x ticks-per-block
    min-ticks: 16
    max-ticks: 40
    max-speed: 3.0        # blocks per tick
    sound: "minecraft:entity.breeze.shoot"
    volume: 1.0
    pitch: 1.0

A player who is already on their spawn does not move. Players who turn it off in /settings are teleported as before.

Death Animation

A copy of the player falls over where they died and then disappears in smoke. It is made with packets only, so nothing is added to the world.

duels:
  death-animation:
    enabled: true
    duration-ticks: 20
    view-distance: 48     # players further away do not see it
    show-to-victim: true
    death-sound: true

Health Indicator

Shows hearts above each fighter's name. The other fighters and the spectators of that duel can see it.

duels:
  health-indicator:
    enabled: true
    format: "<#FFFFFF>{hearts} <#DA0000>❤"
    offset: 0.55          # blocks above the head
    shadow: true
    show-to-self: false
    update-ticks: 2

Placeholders in format: {hearts} (health divided by 2), {health} (health points) and {absorption} (absorption hearts).

To hide it for one kit, use /kit nohealthindicator <kit> true.

Saturation Action Bar

Shows the player's food saturation above the hotbar. It is off for each player until they turn it on in /settings. While the match action bar is showing, the saturation is added to the end of it.

saturation-action-bar:
  enabled: true
  show-in: fights          # fights = duels and FFA only, everywhere = always
  format: "<#FFAA00>Saturation: <#FFFFFF>{saturation}"
  separator: " <#555555>|</#555555> "
  update-ticks: 10

{saturation} shows one decimal. {food} shows hunger points (0 to 20).

Eliminated Players

In team and party matches, a player who dies before the round ends has to wait. You choose how they wait:

duels.elimination.fly-modeWhat happens
true (default)The player stays in Adventure mode. They are invisible, can fly, have an empty inventory and cannot touch anyone. Their swings make no sound and do no knockback.
falseThe player goes into real Spectator mode until the round ends.

This works in every duel type: 1v1 rounds, team duels, party split, party vs party and party FFA. FFA arenas do not eliminate anyone, players respawn there instead.

Flight not working?
If eliminated players cannot fly, another plugin is probably removing flight. Multiverse (per-world allowFlight), Essentials fly or an anticheat can do this when players change worlds. Allow flight in the arena worlds, or set fly-mode: false to use Spectator mode.

Win Flight

After a round or a match is won, everyone in the arena (winners and eliminated players) can fly until the next round starts or they go back to the lobby.

duels:
  win-flight:
    enabled: false

Round Titles

duels:
  round:
    next-round-delay: 5s
    score-chat: true
    match-point:
      enabled: true
      fade-in: 4      # ticks
      stay: 40
      fade-out: 10
    fight-title-on-early-start: true

XP Score Animation

A short client-side effect (about 3.8 seconds) that shows the score and a skull in the XP bar after a round. It never makes the pause between rounds longer. It needs Minecraft 1.21.11 or newer on both the server and the client. See Practice Features for details.

duels:
  xp-animation:
    enabled: false

Arena World Border

Each fighter sees a world border around the arena. It is sent only to the players in that duel, so other arenas and the lobby are not affected. Spectators of the duel see it too.

world-border:
  enabled: true
  padding: 0.0        # extra blocks around the arena region
  warning-blocks: 0
  warning-time: 0

The border can also shrink during a match. See Border Shrinking.

Red screen or missing border
A red screen means the game thinks the player is outside a border. If you use another plugin that sends world borders (a world border plugin, Multiverse or similar) in the arena worlds, turn that off for those worlds. See Troubleshooting.