Description:
DaylightCycleToggle is a Bukkit/Spigot plugin designed for Mohist servers that automates the doDaylightCycle game rule based on player activity. When no players are online, the plugin disables the daylight cycle to save resources and maintain the current time. When the first player joins the server, the daylight cycle is re-enabled, ensuring a dynamic and engaging gameplay experience.
doDaylightCycle game rule based on player presence.The plugin includes a config.yml file with the following setting:
logToConsole: Set to true or false to enable or disable logging in the console.plugins folder.config.yml if needed.Note: This plugin was tested on Minecraft version 1.20.1. It may work on other versions, but compatibility should be tested on each specific version.