Particle files, safeguards, respawn message improvements & more...
BE SURE TO UPDATE YOUR CONFIGURATION FILE
Some options were relocated and will use plugin-defined defaults if you do not update your config.yml
Default config file: https://github.com/2008Choco/DragonEggDrop/blob/master/src/main/resources/config.yml
Changelog
- Completely overhaul the death particle system! Death particles may now be defined by piecewise functions in JSON files under the
particles
directory- Removed the
Particles
section from the config.yml - Added a new
particles
option to every dragon template. The value is the name of the json file (without the .json extension) of the particle effect to use. Example:particles: "helix"
- Each JSON file defines an array of equations which will be selected under a set of conditions, as well as arguments provided to the particles themselves
- Default particle equations for
ball
,helix
andopen_ended_helix
are generated by default, as well aspossible_conditions.json
to demonstrate all the possible conditions
- Removed the
- Restructured the announcement messages for dragons in the config.yml:
- Added a new configuration section,
respawn-messages
- Removed
announce-messages
andannounce-message-radius
. Replaced withrespawn-messages.messages
andrespawn-messages.radius
- Added
respawn-messages.condensed
to change the format of the %dragoneggdrop_respawn_time% placeholder to use single-letter suffixes (i.e. 1w instead of 1 week) - Added
respawn-messages.omit-time-units
, a list of time units to omit from the %dragoneggdrop_respawn_time% placeholder
- Added a new configuration section,
- Removed
lightning-amount
, replaced with new category,lightning.amount
- Add
lightning.damage-entities
configuration option to determine whether the spawned lightning will inflict damage to nearby entities - Update Placeholder API 2.10.8. If you have not yet updated, consider doing so
- Smarter tab completion for time units in
/dragonrespawn
- A warning will now be displaying when attempting to kill the dragon with the
/kill
command. Confirmation is required. This is not a supported way to kill the dragon... - Fixed tab completion displaying subcommands to which players do not have access
- (#35) Fixed error tracking player damage
- Fixed malformatted JSON in default loot tables
- Fixed potions not loading correctly from loot tables
- Fixed
custom_model_data
not being loaded from loot tables
API Changelog
DragonTemplate
is now immutable. AddedDragonTemplateBuilder
instead to construct instances- Renamed the root package from
com.ninjaguild
towtf.choco