
Dragon Egg Keep-Away (DEKA)!
DEKA is a simple datapack made for my SMP that makes it easier to keep track of who has the server's Dragon Egg. When a player picks up the Dragon Egg, it is announced in chat who took it, where it is, and plays a hard-to-ignore dragon roar to get everyone's attention.
DEKA remembers the culprit. If the player who last held the Dragon Egg removes it from their inventory and picks it up again, no announcement will be made.However, if a different player picks it up and gives it up, both players will sound the alarm.
DEKA is multiplayer safe, ignoring offline players when announcing a hand-off, and silently removing them from the list next time they are online while a hand-off occurs.
To manually remove a player from the list or reset the game, anyone with administrator permissions can type /tag @p or @a remove currentholder. To edit the effects or language DEKA uses, navigate to DEKA>data>deka>function>newholder.mcfunction.
Future updates (no promises)
- Craftable "Egg Tracker" compass
- Players holding Dragon Egg highlighted
Important Notes:
While DEKA can track multiple eggs should duplicates exist, it cannot distinguish between them. This may lead to confusion.
