promotional bannermobile promotional banner

CustomTime

Control how long day and night last.
Back to Files

CustomTime 2.0

File nameCustomTime-2.0.jar
Uploader
jcv8000jcv8000
Uploaded
Jul 12, 2020
Downloads
5.1K
Size
26.5 KB
File ID
3002701
Type
R
Release
Supported game versions
  • 1.16

What's new

The config.yml structure has been completely changed, so I would recommend deleting it and manually setting your previous day/night cycle settings manually with the new version

I rewrote the whole plugin from scratch with a lot more knowledge about programming this time, and fixed a lot of problems.

The command structure has been greatly simplified and reduced the command logic from about 720 lines of code to about 250 lines. The plugin no longer has separate permissions for setting/reading which makes it a little more straightforward. The repeating function that applies time changes has been optimized.

One problem I realized was probably happening was that, if you have multiple worlds using slowed-down time, they would not be moving at the correct pace. This time each world in effect of the plugin has their own separate variable to keep track of when they need to increase time, so this should work fine now.

Sleeping should also work now, and it will wait a few seconds before changing to the morning like vanilla does.

I also added autocomplete to the /ct command, so when using the command in game it will show what values can be put where.

This mod has no related projects