An open API service indexing awesome lists of open source software.

https://github.com/sirdanieliii/deathbolt

A Minecraft Spigot plugin that strikes lightning upon player death.
https://github.com/sirdanieliii/deathbolt

minecraft minecraft-plugin spigot spigot-plugin spigotmc

Last synced: about 1 month ago
JSON representation

A Minecraft Spigot plugin that strikes lightning upon player death.

Awesome Lists containing this project

README

          

# ⚑ DeathBolt

A lightweight Spigot plugin that strikes **lightning** at the location of a player’s death.

When a player dies, a bolt of divine punishment (or comedic timing) strikes their last known location. By default, it **destroys your loot**, as God didn't really like how
you looked at that blade of grass.

![grass.png](media/grass.png)

### πŸ§ͺ Version Compatibility

**Tested Minecraft Versions:**

```
1.16.5 β†’ 1.21.5
```

βœ… Compatible with **Spigot**, **Paper**, and other Spigot-based forks.

---

## πŸ”§ Configuration

You can fine-tune the plugin's behavior in `config.yml`:

```yaml
# --- DO NOT TOUCH THIS ----------------
config-version: 1
# --------------------------------------

# Whether DeathBolt should activate at all on player death
# Set false to completely disable the lightning effect
enabled: true

# If true, lightning will destroy any dropped items at the death location on impact
# Set false to keep dropped items intact
destroy_items: true

# Chance (in percent) that lightning will strike on player death
# Use any value from 0 to 100 (e.g., 50 = 50% chance)
# Any invalid number will default to 0% or 100%
strike_chance: 100

# Delay before lightning strikes after player death (in ticks)
# 20 ticks = 1 second (so 40 = 2 seconds)
# Any negative number will be set to 0
strike_delay: 10
```

---

## πŸ›  Example Setups

* **Default Configuration**

```yaml
destroy_items: true
strike_chance: 100
strike_delay: 10
```
* Has a funny comedic pause before the lightning strike.

* **PVP Configuration**

```yaml
destroy_items: false
strike_chance: 100
strike_delay: 0
```

* Keeps items for loot.
* Instant strike makes it more satisfying for PVP.

* **Gambler's Mindset**

```yaml
destroy_items: true
strike_chance: 50
strike_delay: 10
```

* 50-50 YOU WON'T.

---

## βœ… Features

* Plug-and-play functionality
* Simple config system
* Low performance impact
* Includes user-friendly `/deathbolt` command
* Supports permission-based access for reloading
* No dependencies required

---

## βŒ› Commands

* `/deathbolt` β€” View current configuration values
* `/deathbolt reload` β€” Reloads the plugin's configuration

---

## πŸ”’ Permissions

* `deathbolt.reload` β€” Allows non-op players to use `/deathbolt reload`

---

## πŸ“¦ Installation

1. Drop the `DeathBolt-1.0.0.jar` into your server’s `plugins/` folder.
2. Restart or reload the server.
3. Customize `config.yml` as needed.
4. Run `/deathbolt reload` if needed.
5. Now you shall be struck by lightning upon death.