Mineuniverse
Log in Register
Plugins

Daylight Cycle Toggle

A plugin for Mohist servers that automates the doDaylightCycle game rule based on player presence. It disables the daylight cycle when no players are online and re-enables it when the first player joins. Configurable logging is available.
by Darkikos
Download Claim this project
36 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Admin Tools General Mechanics World Editing and Management

DaylightCycleToggle

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.

Features

  • Automatically toggles the doDaylightCycle game rule based on player presence.
  • Applies the game rule to all worlds on the server.
  • Configurable logging to the console, allowing administrators to monitor the plugin's activity.

Configuration

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.

How to Use

  1. Download the plugin and place the JAR file in your server's plugins folder.
  2. Restart the server to generate the configuration file.
  3. Adjust the settings in config.yml if needed.
  4. Enjoy an automated daylight cycle management system based on player activity!


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.

DaylightCycleToggle-1.0.jar
MC 1.20.1
Release 2025-02-18 Get

More from Darkikos

Dynamic Trees: Sapling and seeds
543
RunCommandsInHighRamUsage
30

You Might Also Like

LegendaryMessages
Custom Join Messages
963,227
NoPhantom
Disables and prevents phantom spawning with minimal configuration, removing them from the server
998
Player Profile
Player Profile
996
HubClear
Plugin Request by: LightZz123 -- Clears player's inventory on command /lobby then teleports them to the hub
988
kCmds
kCmds - kCommands
986
PingMe
Legit just a /ping command.
986