- Optimizations. BETA!
- Removed duplicated code
- Optimizations (new interfaces and abstract classes, this is internally, you won't notice!)
- Commands are not supported! BETA!
- Add up to 54 commands. (without items selected)
- Commands can ONLY be edited in config file. (Not in-game)
✅ Config has been modified. This should be updated automatically.
Make sure you have "Auto-update-configuration" enabled.
✅ To use commands in eggs loot just add the section.
If you don't want commands simply remove the section or use " Commands: [] "
Format is: "Displayname | command"
where displayname is the name it will be shown in the loot gui.
Code (YAML):
egg-identifier
:
[
...
]
Gui-displayname
: '&d&lFood Egg'
Permission
: bettereggs.egg.food-egg
Commands
:
#<----- This section
-
"&a&l$100,000|eco give {PLAYER} 100000"
-
"&4&lReceive OP!|op {PLAYER}"
# <--- Caution, this is an example, don't add it.
-
"&a&lAnother egg!bettereggs give {PLAYER} {EGG_TYPE} 10000"
Available placeholders:
{PLAYER} replaced with player name
{WORLD} replaced with player world name
{BLOCKS} replaced with the amount of blocks the egg required to hatch.
{EGG_TYPE} replaced with egg type (identifier)