TimeControl [1.13.X - 1.20.X] icon

TimeControl [1.13.X - 1.20.X] -----

Control the length of day and night separately for each world! How much players have to sleep?



Thunder-Sleeping, MC 1.15, Debug Mode
Changelog v3.6.0:

#Added: hidden debug mode. To enable debug mode add "debug: true" at the bottom of the config.
#Added: official support for Minecraft version 1.15
#Added: sleep mechanics can now be applied to (thunder-)storms at daytime.
#Added: option storm-time-subtrahend (default 500) to set how much ticks should be subtracted from the remaining storm duration !AT DAYTIME ONLY!. This value will be plain subtracted every speed-tick. (set in config)
#Added: permission timecontrol.change.stormtimesubtrahend (default: op)

#Changed: native Minecraft version to 1.15
#Changed: updated commons code to v1.7.1. This slightly improves performance of console messages and might change their appearance a bit.
#Changed: missing values while deserializing will now be replaced with default values set in config (getting data from worldConfigurations.yml)


IMPORTANT: This update needs an addition to the current config. So please add the following code within the "default_world_settings"-section (preferably at the bottom) of the config file OR just move the file out of the plugin's folder in order to get recreated. You can always compare the config with the one on the plugin's main page.

Code (YAML):
storm-time-subtrahend : 500

So your configuration section should look something like this:
Code (YAML):
default_world_settings:
  minecraft-day-start-tick
: 0
  minecraft-day-length
: 12000
  day-length
: 24000
  night-length
: 7000
  needed-sleep-percentage
: 0.5
  sleeping-time-multiplier
: 20
  storm-time-subtrahend
: 500

A note to the added option:
The option was added to give needed-sleep-percentage also an influence if it is thundering at daytime because in the vanilla game thunder can be skipped by sleeping also at daytime.

Therefore storm-time-subtrahend will have no effect if players sleep at nighttime! It will only take influence if enough players (needed-sleep-percentage) are sleeping at daytime. In this case the value of storm-time-subtrahend will be flat subtracted from the remaining storm duration. While testing the vanilla duration of a storm was about 17000 ticks.

In conclusion a storm-time-subtrahend of 0 will have no effect. If you want to disable this feature completely (i. e. vanilla behavior) set the value to -1.

Best regards
Alex_qp
----------, Dec 14, 2019
Resource Information
Author:
----------
Total Downloads: 97
First Release: Sep 22, 2019
Last Update: May 30, 2024
Category: ---------------
All-Time Rating:
4 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings