Dragon Egg Game
A Minecraft mod that adds a small, capture the flag-like minigame to your SMP, making use of the otherwise rarely used Dragon Egg.
Trivia
On our SMP Server, we never had any use for the Dragon Egg. After we defeat the Ender Dragon, someone would usually just take the Dragon Egg, put it in their Ender Chest and leave it there until the end of time. This way the Dragon Egg, which there exists only one of, never had the opportunity to be used for something bigger. So, after seeing something similar on another SMP, we decided to make a minigame out of it. This way the Dragon Egg would always be in play and also encourage some player interaction. This mod helped us enforce the rules of the game and made it easier to play. Now we want to share it with you!
Rules
These are the rules we came up with for our server. Of course, you can change them however you like!
- Whoever is in possession of the dragon egg, has to place it somewhere accessible in their base.
- Everyone else can now try to steal the dragon egg and then has to place it in their own base, and so on.
- Stealing the egg is only allowed if the current bearer is online or has been offline for at least 3 days.
- It is allowed to hide the egg or protect it from getting stolen but one should be able to obtain it without breaking blocks or any massive technical knowledge.
- It's supposed to be fun, so don't take it too seriously!
Features
- Automatic and recursive tracking of the Dragon Egg (even in shulker boxes inside chests)
- Dragon Egg cannot be destroyed
- Dragon Egg may teleport to spawn, when trying to destroy it or if it is otherwise lost or too far from a player
- Commands for information about the game, the current bearer and the egg's (approximate) location
- Global message when the egg is stolen
- Extensive customization options
- Per state (e.g. held by player, in chest, etc.) customization of egg visibility
- All messages can be customized and support placeholders and the QuickText format
- Run Actions based on events (e.g. when the egg placed)
- Customizable BlueMap marker
- Prevent the egg from entering Ender Chests or Shulker Boxes and Bundles
- BlueMap integration. Discord integration is also planned in the far future
- Custom Placeholders
- A rudimentary API (ask on Discord or look on GitHub for usage)
- IMPORTANT: It breaks when there is more than one Dragon Egg!
Commands
| Command | Description | Permission | OP Level | Default |
|---|---|---|---|---|
/dragon_egg bearer |
Info about the current bearer and the egg's location | deg.bearer |
ALL (0) |
✅ |
/dragon_egg info |
Info about the game | deg.info |
ALL (0) |
✅ |
/dragon_egg help |
List available commands | deg.help |
ALL (0) |
✅ |
/deg |
Mod info | deg.admin.info |
OWNER (4) |
❌ |
/deg reload |
Reloads the config | deg.admin.reload |
OWNER (4) |
❌ |
Placeholders
Placeholder format: %placeholder%
| Placeholder | Description | Permission | OP Level | Default |
|---|---|---|---|---|
deg:bearer |
The current bearer of the egg | ✅ | ||
deg:pos |
The current location of the egg, respecting visibility settings | ✅ | ||
deg:exact_pos |
The exact current location of the egg | deg.placeholders.exact_pos |
OWNER (4) |
❌ |
deg:randomized_pos |
The randomized current location of the egg | deg.placeholders.randomized_pos |
OWNER (4) |
❌ |
deg:item |
A hover text displaying the Dragon Egg | ✅ |
Predicates
The mod provides predicates that can be used in commands (also in-game).
| Predicate | Description |
|---|---|
deg:is_bearer |
Matches the current bearer of the egg. |
deg:is_nearby |
Matches players within the reward range of the egg. |
Example: /execute as @a if predicate deg:is_bearer run say I am the bearer!
Actions
Since version 2.0 you can specify Actions that are triggered on
certain events and executed if the condition is met.
Originally designed as a way to add rewards, Actions evolved into a flexible and powerful event-based system that lets
you add basically any functionality you want, however you want it. Actions allow you to do anything from
sending announcements to giving rewards (e.g. effects) for having the egg. They will even let you give better rewards
based on the time a player holds the egg.
Currently, an Action is a Minecraft command that is executed by the server, if a condition is met. You can use any
valid Minecraft command, including commands added by other mods.
You can read more about how to use Actions and what you can do with them in
the wiki!
Default Configs
The config files are too long to be included here. You can find the default configs for different mod versions here:
Tips
- If the mod says that the egg is in a player's inventory, but it is not, it is most likely in the player's Ender Chest.
How to Install Dragon Egg Game (Mod)
Dragon Egg Game by arvitus is verified for Fabric across Minecraft versions 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5 (latest release: 2.4.0, file size: 1.1 MB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded Dragon Egg Game file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 5mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 8mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 11mo ago | 1 | ||||
| 11mo ago | 1 | ||||
| 11mo ago | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 |
- This is especially useful in combination with claiming mods, but you might need to add the Dragon Egg to an interaction whitelist in their config
- added
deg:bearer_changedtrigger for actions - has additional placeholders
old_bearerandold_bearer_id - added
/deg teleportcommand to teleport to Dragon Egg - requires permission
deg.admin.teleport
- added
deg:bearer_changedtrigger for actions - has additional placeholders
old_bearerandold_bearer_id - added
/deg teleportcommand to teleport to Dragon Egg - requires permission
deg.admin.teleport
- added
deg:bearer_changedtrigger for actions - has additional placeholders
old_bearerandold_bearer_id - added
/deg teleportcommand to teleport to Dragon Egg - requires permission
deg.admin.teleport
- Fixed an issue where the Dragon Egg would not be properly dectected, when picked up by a player
- Fixed all items being blocked from entering containers, not just the Dragon Egg
- Fixed an issue where the Dragon Egg would not be properly dectected, when picked up by a player
- Fixed all items being blocked from entering containers, not just the Dragon Egg
- added a
helpcommand to list available commands - changed the permission for the
/degcommand fromdeg.admintodeg.admin.info
- added a
helpcommand to list available commands - changed the permission for the
/degcommand fromdeg.admintodeg.admin.info