Перейти к содержимому
Mineforgian

Instant Death

A simple plugin that lets you kill yourself with /kill without needing any special permissions

Загрузки
2K
Подписчики
6
Обновлён
21 декабря 2025 г.
Лицензия
GPL-3.0-or-later

Опубликован 3 февраля 2024 г.

☠️ InstantDeath

InstantDeath is a very lightweight, highly flexible and compatible Minecraft plugin that allows players to quickly and easily end their die using /kill or /suicide.


📦 Features

  • Self-Kill Support — Players can use /kill or /suicide to instantly respawn.
  • 🔐 Permission Support — Optional setting to require permission for self-kills.
  • 🗺️ Death Coordinates — Configurable setting to show the location of death.
  • 💬 Customizable Messages — All messages are configurable via config.yml.
  • 🧩 Highly Compatible — Works with Bukkit, Spigot, Paper, Purpur, Folia, and more — from Minecraft 1.6.1 through the latest versions. (Yes 1.6.1 not 1.16)

🔧 Commands

Command Description
/kill Kill yourself instantly.
/suicide Alias for /kill.
/kill <player> Kill another player (requires permission).

🛡️ Permissions

Permission Description Default
instantdeath.kill.self Allows the player to kill themselves. true
instantdeath.kill.others Allows the player to kill other players. op

Optional config toggle: You can enforce that players must have instantdeath.kill.self by setting self-kill-requires-permission: true in the config.


⚙️ Configuration

# InstantDeath plugin configuration
settings:
  # You need instantdeath.kill.self to kill yourself
  self-kill-requires-permission: false
  # If you die it tells you where you died in chat
  show-death-location-on-kill: true

messages:
  self-kill: "&cYou have died at &eX: %x%&c, &eY: %y%&c, &eZ: %z%"
  target-kill: "&cYou have killed %target%."
  death-location: "&cYou died at &eX: %x%&c, &eY: %y%&c, &eZ: %z%"
  player-not-found: "&cPlayer '%target%' not found."
  no-permission: "&cYou do not have permission to kill others."
  usage: "&cUsage: /%label% [player]"
  console-kill: "Player %target% killed from console."
  console-player-not-found: "Player '%target%' not found."
  console-usage: "Usage from console: /%label% <player>"

Ченджлог

2.0.1Релиз26.1, 26.1.1, 26.1.2 · 21 декабря 2025 г.

Added bStats Fixed Spelling and Syntax

v2.0.0Релиз1.21.9, 1.21.10, 1.21.11 · 2 августа 2025 г.

[v2.0.0] – 2025-08-02

A major rewrite and feature-rich update to the original InstantDeath plugin. This version improves customization, configuration, permission handling, and gameplay integration.


✨ New Features

  • Config File Support
    Added config.yml for customizable messages and toggles.

  • Permission Toggle for Self-Kill
    Added config option self-kill-requires-permission: true/false.

  • Death Coordinates for Self-Kill
    Displays death location when a player kills themselves.

  • Vanilla Death Mechanics for PvP
    Kills executed by other players now use damage(Float.MAX_VALUE, killer) instead of setHealth(0.0) to allow:

    • Natural death messages
    • Death event handling
    • Item drops and advancements
  • Optional Death Location Reminder on PvP Death
    When enabled (show-death-location-on-kill: true), players see their death coordinates after being killed by someone else.

  • Full Command Console Support
    Console can use /kill <player> and receive proper feedback.

  • Message Formatting & Placeholder Support All messages now support placeholders like:

    • %x%, %y%, %z%
    • %target%, %killer%
    • %label% (for usage hints)

🔧 Improvements

  • Code is now more modular and readable.
  • Messages are translatable and configurable via YAML.
  • Clean separation between console and player command handling.

🧹 Removed / Deprecated

  • ❌ Hardcoded messages.
  • ❌ Redundant coordinate formatting method.
  • ❌ Manual "You killed X!" message — replaced by better vanilla and configurable messages.
  • killed-by-other message removed (now handled by vanilla Minecraft).
  • ❌ Use of minecraft.command.kill — now uses custom instantdeath.kill.* permission nodes.
1-foliaАльфа1.21.6, 1.21.7, 1.21.8 · 1 августа 2025 г.

Made this for my server, don't expect much support until the next release

Комментарии

Загружаем…