LsKillGui
A lightweight and configurable confirmation GUI for the /kill command.
Features
• Confirmation GUI when using /kill
• Optional GUI for /kill <player>
• Fully configurable GUI items
• Support for player heads in the GUI
• Supports hex colors (&#ffffff) and normal color codes (&)
• Placeholder support for %player% and %target%
• Tab completion for commands
• Lightweight and dependency-free
Commands
/kill
Opens the confirmation GUI to kill yourself.
/kill <player>
Kills another player (requires permission).
/killgui reload
Reloads the plugin configuration.
Permissions
killgui.use
Allows use of /kill.
killgui.other
Allows use of /kill <player>.
killgui.reload
Allows use of /killgui reload.
All permissions default to
OP.
Configuration
Example config.yml:
Code (Text):
other-gui: true
menus:
self:
items:
cancel:
item: RED_WOOL
name: "&c&lCancel"
lore:
- "&7Close this menu."
info:
item: SELF_HEAD
name: "&e&lConfirm Suicide"
lore:
- "&7You are about to kill yourself."
confirm:
item: LIME_WOOL
name: "&a&lYes"
lore:
- "&7Kill yourself instantly."
Special Item Types
SELF_HEAD
Shows the head of the player opening the menu.
TARGET_HEAD
Shows the head of the selected player in /kill <player>.
Compatibility
• Paper
• Spigot
• Purpur
Minecraft
1.21+
Installation
1. Download the plugin jar
2. Place it inside your server's plugins folder
3. Restart the server
4. Configure config.yml if desired