⚙️ Features
- Killer Reward: 5 bread instantly on player kill.
- Respawn Reward: 5 bread after death, upon respawn.
- Modular Design: Easy to extend with lore, effects, or config.
📦 Installation
- Clone the plugin source from GitHub.
- Run
mvn clean package
to build. - Place the generated
.jar
in your server’splugins/
folder. - Start or reload your server.
🧠 How It Works
The plugin listens for player death and respawn events:
PlayerDeathEvent
: Rewards the killer and tracks the victim.PlayerRespawnEvent
: Rewards the victim after respawn.
A UUID set ensures bread is only given once per death cycle.
🛠️ Extending the Plugin
- Add particle effects or sound on kill/respawn.
- Customize bread with lore or enchantments.
- Make bread quantity configurable via
config.yml
. - Trigger messages like “The Bread Gods smile upon you.”
🤝 Contributing
Pull requests welcome! Fork the repo and help us mythify the carbs.