Featureful update and /dragonrespawn command
Overview
A long-awaited feature has been added to DragonEggDrop through a pull request (thank you @Photon-GitHub) and later improved by myself, I'm sure most will appreciate this functionality. That being said, it is worth noting that before using this build, you MUST update your version of CraftBukkit / Spigot to the latest 1.13.2 build. This version of DragonEggDrop utilizes some of the newer changes in the server jar, therefore errors will be thrown in your console on dragon spawn if you do not update.
! IMPORTANT
This version will not support Minecraft 1.9.x - 1.12.x. If you are looking for the 1.9.x - 1.12.x version, please see release 1.5.0-legacy. Upon the coming of 2019, the legacy
branch and builds will be unsupported entirely. At which point I ask you to please consider updating your server.
Again, this build will only work on more recent versions of Spigot 1.13.2. It does not support Spigot 1.13 - 1.13.1. Please consider updating your server before running this build.
Changelog
- Added a /dragonrespawn command to better control how the respawn process works
/dragonrespawn <stop|interrupt|cancel> [world]
will cancel any current respawn countdown either in the world in which the command is executed, or the specified world/dragonrespawn <start> [time] [template] [world]
will start a new respawn countdown for x amount of time (defaults to 5m) with the specified template (defaults to a random template) in the given world (defaults to the world in which the command is executed)/dragonrespawn template get [world]
will check which template will be spawned for the current respawn countdown/dragonrespawn template set <template> [world]
will set the next dragon to be spawned for the current respawn countdown- All of these commands have tab completion to make better sense of it all if you are confused
- Command tab completion will now remove any suggestions that no longer make sense (i.e.
/dragontemplate st
will now only suggeststop
instead of all 5 options) - Item loot parsing is now MUCH more featureful. Far more options are available. See below for an example of all possible options (#14)
- Update the version checker to that used in VeinMiner. More information is now provided
- Dragon templates are now determined when the respawn countdown starts rather than when it finishes
- Dragon egg loot should now be more consistent in the end (it will be properly named)
- If the
Particles.type
configuration option is unknown, the plugin will now default toFLAME
instead of shutting down entirely - Dropped support for any Minecraft version lower than 1.13.2
- Miscellaneous formatting and code cleanup throughout the entire project
New Item Parsing Options
loot:
'1':
weight: 1.0
type: stick
damage: 1
amount: 1
display-name: '&bExample Item'
lore:
- '&6Configure me'
- '&6to any item'
enchantments:
unbreaking: 1
banner-patterns:
bricks: red
bri: purple
book-data:
author: 2008Choco
title: The Best Book Ever!
generation: original
pages:
- "This is the first page of the book. Turn the page for an awesome surprise!"
- "SURPRISE!"
knowledge-book-recipes:
- "minecraft:crafting_table"
leather-color:
r: 255
g: 0
b: 255
potion:
color:
r: 255
g: 255
b: 255
base:
potion-type: speed
extended: true
upgraded: false
custom-effects:
'1':
effect: speed
duration: 600
amplifier: 1
ambient: true
particles: false
icon: false
'2':
effect: strength
duration: 300
amplifier: 2
ambient: false
particles: true
icon: true
skull-owner: 2008Choco
fish-bucket-data:
pattern: spotty
pattern-color: red
body-color: black