
# DeathSync
## Experience death with friends; one died, so everyone does.
---
**DeathSync** is a Minecraft plugin that treats any death as a team defeat: when a player dies, the entire server receives a defeat notification, and everyone is killed after a short delay.
### Features
- detects when a player dies and identifies the cause (player, entity, projectile, or generic cause)
- sends a message and a title to all players, and destroy the group
- manages texts and labels through a translation system that you can modify
- (optional) mute chat if you want more challenge
- (optional) sends a **Discord** notification via webhook
### Discord notifications
In the chat room of your choice, create a webhook in the integration settings and paste the link in the config file.
### Restart
If you've been defeated and want to start over, it depends on your hardcore mode setting:
- **Hardcore** : stop your server, delete your world files, start your server
- **Normal** : use the `deathsync restart` command
### Permissions
- `deathsync.reload` : allow to use the reload subcommand (default: op)
- `deathsync.restart` : allow to use the restart subcommand (default: op)
- `deathsync.mute` : allow to use the mute subcommand (default: op)
### Commands
- `deathsync reload` : reloads the configuration
- `deathsync restart` : restart the challenge
- `deathsync mute` : mute/unmute the chat
### TODO
- Improve the death cause identification (example: when a player is thrown into the air by a monster, display the monster responsible in the message)
- Auto restart for normal mode
- Manage Worlds for hardcore mode: Creates a new world when the group fails and teleports players into it. Avoids having to delete the world and manually restart the server.
### Development transparency
This project was developed with the help of *AI*. However, a *human* reviewed, tested, and validated the code.
DeathSync is a free Minecraft Java mod. Compatible with Minecraft 26.1.2, 26.2. Downloaded 3 times (via Hangar). Download it and open it directly in the game.
Explore more