TeamDeathmatchConfig

data class TeamDeathmatchConfig(val arena: String, val mode: TeamDeathmatchConfig.Mode, val timeLimitSeconds: Int, val respawnDelaySeconds: Int, val livesPerPlayer: Int, val friendlyFire: Boolean, val killPoints: Int, val teamKillPoints: Int, val spawnProtectionRadius: Int, val overtimeSeconds: Int, val suddenDeathMaxSeconds: Int)(source)

Config for the Team Deathmatch minigame.

Constructors

Link copied to clipboard
constructor(arena: String, mode: TeamDeathmatchConfig.Mode, timeLimitSeconds: Int, respawnDelaySeconds: Int, livesPerPlayer: Int, friendlyFire: Boolean, killPoints: Int, teamKillPoints: Int, spawnProtectionRadius: Int, overtimeSeconds: Int, suddenDeathMaxSeconds: Int)

Types

Link copied to clipboard

Which ruleset to use for the match.

Properties

Link copied to clipboard

Arena template key to load from config/evermod/arenas/templates/<key>.nbt.

Link copied to clipboard

Whether friendly fire is enabled.

Link copied to clipboard

Points awarded for an enemy kill.

Link copied to clipboard

Lives per player in lives mode.

Link copied to clipboard

Game mode to run.

Link copied to clipboard

Overtime duration (seconds) if timed mode ends in a tie.

Link copied to clipboard

Respawn delay in seconds.

Link copied to clipboard

Protected radius (blocks) around team spawns for building protection.

Link copied to clipboard

Max duration for sudden death (seconds) before declaring a draw.

Link copied to clipboard

Points awarded for a team kill (default 0).

Link copied to clipboard

Time limit for timed mode.