Convert to Gradle plugin, add support for modern Paper with reflection and add config.yml option to block bed usage.

This commit is contained in:
天クマ 2026-05-24 18:54:05 -03:00
commit 690fc1a4dc
39 changed files with 1062 additions and 105 deletions

View file

@ -1,4 +1,13 @@
This is a plugin for Minecraft beta that syncs the real world time with your in-game time.
## How it works
It will calculate and change the game time every second (that's 20 ticks and that can be changed in the config), it will use your computer's timezone as default if the config `timezone` value does not exist.
TimeKeeper changes the game time every tick (that can be changed in the config), using your computer timezone as default if the config `timezone` value does not exist.
## Config
```yaml
ticksBetweenUpdate: 0 # 20 ticks is 1 second
timezone: "America/Sao_Paulo" # comment this line to use system's default timezone
preventSleep: true # Players will sleep and time will sync afterwards, so it's better to disable unless you have a reason to
worlds:
- "world"
```