Arena Setup

Make duel arenas, build arenas and FFA arenas. Every arena is saved, and its blocks are put back after each match.

How Arenas Work

When you set both corners of an arena, ShyamDuels uses FastAsyncWorldEdit (FAWE) to save the blocks inside as a schematic. After every match the schematic is pasted back, so the arena always looks the same.

The Arenas World

On first start, ShyamDuels makes an empty world called Arenas. Build your arenas there. Go there with /sd arenasworld.

arenas:
  world: Arenas
  difficulty: HARD   # HARD is needed for full crystal and respawn anchor damage

An arena belongs to the world you stand in when you run /arena create. You can use other worlds, but cloning only copies the Arenas world.

Do not build in Arenas1, Arenas2 and so on
These are copies made by cloning. They are made again from Arenas on every start, so changes there are lost. Build and edit only in Arenas.

Make a Duel Arena

  1. Make the arena: /arena create Arena1
  2. If you want start gates, add them now, before the corners. Then the gate frame is part of the saved build.
  3. Stand on one corner and run /arena corner1 Arena1.
  4. Stand on the opposite corner (other side, other height) and run /arena corner2 Arena1. When both corners are set, the build is saved and you get a message.
  5. Stand where player 1 starts, face the way they should look, and run /arena spawn1 Arena1.
  6. Do the same for player 2: /arena spawn2 Arena1.
  7. Optional: stand in the middle and run /arena center Arena1. The world border and copies use it.
  8. Link a kit: /arena addkit Arena1 NoDebuff

You can link many kits to one arena. A match takes any free arena that has its kit.

/arena addkit Arena1 NoDebuff
/arena addkit Arena1 Sword
/arena addkit Arena1 Axe

Check your arena with /arena info Arena1.

Build Arenas

Players can place and break blocks only when both the arena and the kit allow it.

  1. Set up the arena as normal.
  2. Turn build on for the arena: /arena build BuildArena true
  3. Turn build on for the kit: /kit build BridgeKit true
  4. Optional: only allow some blocks. Hold a block and run /kit allowblock BridgeKit. Repeat for each block.
Arena and kit must match
A build kit only uses build arenas, and a normal kit only uses normal arenas. If they do not match, players see No arenas available for this kit even when arenas are free.

Placed armor stands follow the same rules: they can only be placed when the kit and arena allow building. The arena rule block-breaking can change what players may break.

Build height and ceiling

arenas:
  build-height-limit-offset: 2   # no blocks in the top 2 blocks of the arena
  allow-infinite-height: false   # true = players can fly or launch above the arena top

Players cannot go above the top of the arena, unless allow-infinite-height is true or the kit has flight or double jump. Turn it on for Mace and Wind Charge kits.

FFA Arenas

  1. Set up the arena (corners, spawn1, kit link) like a duel arena.
  2. Make it an FFA arena: /arena ffa MyFFA true
  3. Optional: add more spawn points. Stand on each spot and run /arena addffaspawn MyFFA.
  4. Optional: set the name and icon for the FFA menu:
    /arena setdisplayname MyFFA <red>NoDebuff FFA
    /arena seticon MyFFA    # uses the item in your hand

Without extra spawns, players appear at spawn1. /arena clearffaspawns MyFFA removes the extra spawns. See FFA Mode for more.

When an FFA arena is reset, admins get a message and players in it are moved to the spawn and get their kit again:

arenas:
  reset-messages:
    enabled: true
    notify-players: true   # players in the arena: ffa.arena-reset-tp
    notify-admins: true    # players with shyamduels.admin: ffa.arena-resetting

Copy an Arena

/arena copypaste pastes a copy of an arena somewhere else and registers it. Use it to make more arenas with the same build.

  1. Fully set up the first arena (corners, spawns, center, kits).
  2. Stand where the middle of the copy should be.
  3. Run /arena copypaste Arena1 Arena2.

The copy gets the kits, build setting, type, spawns, FFA spawns, FFA name and icon, and gates of the first arena. It gets its own saved build. /arena copypasteundo removes the last copy. Do not use this in clone worlds.

Arena Cloning

Cloning gives you more arenas without building more. The plugin copies the whole Arenas world on start.

arenas:
  cloning: 2                     # 0 = off
  reset-clones-on-startup: true  # make the copies fresh on every start
  sanitize-clone-worlds: true    # remove old entity data from the copies

With cloning: 2, you get the worlds Arenas1 and Arenas2. Each duel arena in Arenas gets a copy in each world at the same spot, named Arena1_1, Arena1_2 and so on. So 30 arenas become 90.

When not to use cloning

For more copies of only some busy arenas, see Arena Instances.

Arena Status

StatusMeaning
AVAILABLEFree for a match.
IN_USEA match is running.
REGENERATINGBlocks are being put back.
UNAVAILABLEThe reset failed two times. It tries again after 60 seconds, or run /arena reset <arena>.

To put blocks back now, run /arena reset <arena>. For all arenas, /arena resetall.

arenas:
  reset-queue:
    max-concurrent: 3         # duel resets running at the same time
    ffa-one-at-a-time: true   # only one FFA arena resets at a time
  clear-entities-on-startup: true

Arena World Border

Players in a match, and their spectators, see a world border around the arena. It is only shown to them. The real world border does not change, and lobby players see the normal border.

The border is a square made from the two corners (and the center, if set). It needs both corners.

world-border:
  enabled: true
  padding: 0.0        # extra blocks on each side
  warning-blocks: 0   # red screen when this close to the border (0 = off)
  warning-time: 0     # red screen time warning in seconds (0 = off)
Red screen
Leave warning-blocks and warning-time at 0 if you do not want a red screen near the border.

Shrinking border

The border can get smaller during a match. It turns red while it shrinks. Players outside it take damage.

world-border-shrink:
  enabled: false
  kits: ['*']                 # '*' = all kits, or list kit names
  interval: 1m                # time between shrinks
  shrink:
    blocks-per-interval: 10
    duration: 5s              # how long each shrink takes
  minimum-distance-from-center: 5
  sound:
    enabled: false            # one sound at each shrink, only for fighters
    sound: minecraft:block.note_block.pling
    volume: 1.0
    pitch: 1.0
  damage:
    enabled: true
    amount: 2.0               # 2.0 = one heart
    interval: 1s
    buffer-blocks: 0.0        # blocks outside the border before damage starts
    damage-per-step: 0.5      # extra damage for each block further outside

This needs world-border.enabled: true too. The first shrink waits one interval after the fight starts.

Arena World Rules

arenas.gamerules sets the game rules of the arena worlds on start: time, weather, mob spawning, death messages and more. Every rule has a comment in config.yml. Keep mob-griefing: true so TNT and creepers can break blocks in build kits.

Arena Commands

See Commands for every /arena command.