▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/Death Swap Plus
Death Swap Plus

Death Swap Plus

A customizable Death Swap plugin for Spigot and Paper featuring an optional random long-distance spawn at the start, adding a strategic twist to the classic Death Swap experience.

196
1

Death Swap Plus

A DeathSwap minigame plugin for Minecraft 1.21.

In DeathSwap, everyone plays in survival and the plugin will periodically swap players’ positions. Your goal is to make other players die (traps, lava, fall damage, mobs, etc.).
If you die, you become a spectator.
Last player alive wins.


Quick Start

  1. Put the plugin jar into your server’s plugins/ folder.
  2. Start the server once (this creates plugins/DeathSwap/config.yml).
  3. (Optional) Configure the plugin with /dssettings.
  4. Start a game:
    • Ready-up start (recommended): everyone runs /dsready, then someone runs /dsready start
    • Admin start: /dsstart

How The Game Works

  • When a game starts, all online players are put into SURVIVAL and added to the match.
  • Players get optional starting items:
    • GiveFood=true20 cooked porkchops
    • GiveWaterBucket=true1 water bucket
  • The plugin shows health in the TAB list (scoreboard objective showhealth).
  • Swaps happen after a random delay between MinTimer and MaxTimer (ticks).
  • A big title warning always appears 10 seconds before a swap (200 ticks):
    “SWAP INCOMING!”
  • During the match, eliminated players are set to SPECTATOR.
  • The game ends automatically when only one player remains.

Commands

/dsready [get|start]

Player-only. Used to ready-up before starting.
Only works when no game is active.

CommandDescription
/dsreadyToggles your ready status and broadcasts [ready/online].
/dsready getShows whether you are currently marked as ready.
/dsready startStarts the game only if everyone online is ready.

/dsstart

Requires permission: ds.start

CommandDescription
/dsstartForce-starts a new game (only if no game is active).
/dsstart trueStarts the game in dev mode (testing mode).

Dev mode notes:

  • Allows starting with only 1 player online.
  • Sends extra debug info to OPs (teleport order / pair listings).
  • Stats are not written while dev mode is enabled.

/dsstop

Requires permission: ds.stop

CommandDescription
/dsstopForce-stops the current game (only if a game is active).

/dssettings <set|get|help> ...

Requires permission: ds.settings

CommandDescription
/dssettings getPrints all settings and their current values in one line.
/dssettings helpShows help pages.
/dssettings set <Setting> <Value>Changes a specific setting.

Time values are in ticks

  • 20 ticks = 1 second
  • 1200 ticks = 1 minute

Examples

  • /dssettings set MinTimer 2400 (2 minutes)
  • /dssettings set MaxTimer 6000 (5 minutes)
  • /dssettings set Warning 200 (10 seconds)
  • /dssettings set Safe 60 (3 seconds of invincibility)
  • /dssettings set TeleportMode pairs

/dstp <player>

Player-only. Spectator utility.

CommandDescription
/dstp <player>Teleports you to a target alive player.

Notes

  • Works only if a game is active.
  • You must be spectating (not in the alive player list).
  • Tab completion suggests alive players.

/dskill

Player-only.

CommandDescription
/dskillInstantly kills you during a game (sets health to 0).

Useful if you want to forfeit and spectate.


/dsstats [player]

Player-only.

CommandDescription
/dsstatsShows your own stats.
/dsstats <player>Shows stats for another player (offline data supported).

Tracked stats

  • Games
  • Wins
  • Swaps
  • Deaths
  • Disconnected
  • Time played

/dsinfo

CommandDescription
/dsinfoShows plugin info (creator, inspiration, version).

Settings Reference

Settings can be changed via /dssettings set ... or directly in
plugins/DeathSwap/config.yml.


Swap Timing

SettingDescription
MinTimerMinimum time before the next swap (ticks).
MaxTimerMaximum time before the next swap (ticks).
WarningAction-bar countdown when time until swap ≤ this value.
SafeResistance duration after swaps and at game start.

TeleportMode

Controls how player locations are swapped.

ModeDescription
randomEach player is teleported to a random other player every swap. Falls back to circle if no valid mapping is found after 500 tries.
circlePlayers swap in a circular order randomized at game start.
random_circleSame as circle, but reshuffles after each swap.
fixed_circleCircle order is fixed and never shuffled.
pairsPlayers swap in pairs; odd counts create one 3-player rotation. Pairings are generated at game start.

World / Start Options

SettingDescription
WorldWorld used for spawning and teleporting. Falls back if invalid.
RandomSpawnRandomizes player spawn positions at game start.
GiveFoodGives starting food if enabled.
GiveWaterBucketGives a water bucket if enabled.

Swap Cleanup

SettingDescription
KillPearlsRemoves all ender pearls at the moment of a swap.
SendChunksPresent as a setting, but chunks are already preloaded regardless.

Language

SettingDescription
LanguageControls broadcast messages and settings text (en, hu, de, es).

Notes & Tips

  • Joining while a game is running puts you into SPECTATOR.
  • Dead players can spectate alive players using /dstp <player>.
  • Player stats are stored in
    plugins/DeathSwap/PlayerDatabase/<uuid>.yml.

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Детали

Лицензия:MIT
Опубликован:2 месяца назад
Обновлён:2 месяца назад
Главная