~/projects/deathswap

GAMES2026

DeathSwap

A Minecraft minigame plugin that teleports (swaps) players to each other at a timed interval, with a countdown boss bar and admin controls.

TIMELINE
Mar 2026
TEAM
Solo
CONTEXT
Personal project
Diagram of a boss-bar countdown above two players, one on safe ground and one falling toward lava, about to swap places.

Overview

DeathSwap is a Minecraft minigame plugin where players are periodically teleported to each other’s locations at a configurable interval, with the goal of causing opponents to die from the swap (fall damage, lava, mobs, etc.). It provides admin commands to run the game end to end.

Features

  • /ds start, /ds stop, and /ds status to control and check the game
  • /ds revive and /ds addplayer to manage participants mid-game
  • /ds setinterval to configure the time between swaps
  • Boss bar countdown with a visible countdown and sound cues in the final seconds before each swap
  • Permission-gated admin vs. status-only access (deathswap.admin, deathswap.use)

How it works

GameManager tracks game state (WAITING, RUNNING, ENDED) and the list of alive players, while SwapTask is a repeating BukkitRunnable that counts down to each swap, updates the boss bar, and executes the player teleport swap when the interval elapses. GameListener and DeathSwapCommand handle in-game events and the /ds command tree respectively.