Skip to content

ZelDuels

Configuration

Admin Permissions

  • admin-permission:
  • Specifies the permission required to access admin commands and features.
    • Default Value: zelduels.admin

Arena Settings

Match Flow Settings

after-death-time:

  • The time (in seconds) before a player is respawned or teleported after death.
    • Default Value: 120

Glowing:

  • time-starts: This sets the amount of time remaining in the match when players will start glowing.
  • Example: If the match duration is 5 minutes (300 seconds) and time-starts is set to 60, players will begin glowing when there are 60 seconds (1 minute) left—meaning they glow starting at the 4-minute mark.

banned-items:

  • A list of items that are banned from use in the arena.
    • Default Banned Items:
      • BEDROCK
      • SHULKER_BOX
      • OBSIDIAN
      • END_PORTAL_FRAME
      • END_PORTAL
      • END_CRYSTAL

disable-spectator-mode:

  • Determines whether spectator mode is disabled during a duel.
    • Options:
      • true: Spectator mode is disabled (players cannot spectate matches)
      • false: Spectator mode is enabled (default)

Command Execution

Starting Commands

  • starting-commands:
  • Server-wide commands executed when match starts (e.g., broadcast messages)
    • Format: List of console commands
    • Default: [] (empty)
  • starting-commands-players:
  • Commands executed by each player when match starts
    • Default: [] (empty)

Result Commands

  • winner-commands:
  • Commands executed for winners (supports %player% placeholder)
    • Example:
  • eco give %player% 0.1
  • loser-commands:
  • Commands executed for losers (supports %player% placeholder)
    • Example:
  • eco give %player% 0.1

Command Restrictions

  • banned-commands:
  • Commands players CANNOT use during matches:
    • Default Restricted:
  • tp
  • spawn
  • warp
  • home
  • ec
  • enderchest
  • echest
  • kit
  • back
  • whitelisted-commands:
  • Commands players CAN use during matches (when whitelist is active)
  • Example: leave
  • is-whitelist-active:
  • Toggles command restriction mode:
    • true: Only whitelisted commands allowed
    • false: Only banned commands blocked (default)

Item Restrictions

  • banned-items:
  • Items prohibited in arena:
    • Default:
    • yaml
    • Copy
  • BEDROCK
  • SHULKER_BOX
  • OBSIDIAN
  • END_PORTAL_FRAME
  • END_PORTAL
  • END_CRYSTAL

Duel Request Settings

  • lifetime:
  • The time (in seconds) a duel request remains valid before expiring.
    • Default Value: 30
  • bet:
    • enabled: Determines whether betting is allowed in duel requests.
      • Default Value: true
    • min: The minimum bet amount.
      • Default Value: 0.0
    • max: The maximum bet amount.
      • Default Value: 1000.0
  • force-lose-inventory:
  • Determines whether players lose their inventory after a duel.
    • Default Value: false
  • force-keep-inventory:
  • Determines whether players keep their inventory after a duel.
    • Default Value: false
  • times:
  • A list of predefined duel durations.
    • Example Values:
  • 5m
  • 10m
  • 15m
  • 20m
  • 30m
  • 40m

Kit Settings

kit.enabled

Determines whether kits are enabled or disabled in the game.

  • true → Kits are enabled (players can use kits).
  • false → Kits are disabled (players cannot use kits).