0.8.1 (internal) World-Refresh!
- Internal code optimisations and improvements.
- World Refresh by resetting the crystals etc. (as an alternative to the full world-reset!)
-->Info: With this feature enabled portal stacking might happen again.
This is done by Minecraft itself (worldgenerator), and depends on the version (spigot 1.13+)
(it seems this only happens with old worlds ...?)
-->If world-refesh is in use and a player cancels the refresh by destroying the crystals and 'nomcdragonrespawn' is set true the next dragon respawn is canceled ! even if it's a timer that tries to spawn a dragon -> 'trydragonautofix' should be set true!
0.8.2 (internal) Code cleanup!
- Changes in Dragon-counting-logic... 'count' in config is not used anymore!!
- New internal logic for 'trydragonautofix' to fix missing dragons (if any) by starting additional timers...
- Added internal possibility to check remaining duration for timers (when next spawn will happen...)
0.8.3 (internal) The Display!
- Added Timer Dispays.... and 3 new config vars
- New config var 'timerfunc':
-- 0 = Timer Display deactivated for that world
-- 1 = value in the 2nd line shows the countdown's seconds
-- 2 = value in 2nd line shows the number of running respawn timers (default)
- New message texts 'timertext' and 'timerline':
timertext is the first line, timerline is the 2nd.
if 'timerline' is empty internal default values will be used.
config defaults are as follows:
Code (Text):
timertext: 'Next Respawn in:'
timerline: '$days Days, $hours:$minutes:$seconds, #'
Both lines accept placeholders: $days, $hours, $minutes and $seconds!
With the defaults it will display two lines with the countdown in the second line and the number of running timers for that world after the '#' .
You can change this to your needs...
f.e.:
Code (Text):
timertext: 'Next Respawn: Days:$days, $hours:$minutes'
timerline: 'Seconds:'
with timerfunc set to '1' this will have the contdown in the first line and only the seconds in the second line...
- placeholder changes:
%dragonslayer_timer% -> will return the next time for a dragon respawn in the player's world ... (and that world's name)
If the player is not in an end world (or in an end world without a respawn timer...), the placeholder shows the world and time for the first spawn of any world..
%dragonslayer_nexttime% returns the remaining time for next respawn in the player's world. Or the next spawn in any world if the player is not in an end-world or in an end world without a running timer...
%dragonslayer_nextmap% always returns the world with the first next spawn...
0.8.4 More Values!
- fix for using multiple dragon names when resetting worlds
- fixed forcerespawn command (if the world for respawn is given as 2nd argument)
- code cleanups...
- added possibility for multiple values for health, damage, experience and reward when multiple names are in use
f.e.: A dragon with its name set in 'name' will have the default values as before...
A dragon with its name set in 'name_1' or 'name_2'(etc) will have the health and damage set in 'health_1' and 'damage_1' or 'health_2' and 'damage_2' etc, if available...
Same for experience and reward --> experience_1, reward_1.
If a value is missing in config the default is used.
You need to set this up by hand, if you want to use this MultiValues-Feature!
OK.... i've changed quite a few routines... so please report any bugs
