promotional bannermobile promotional banner

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.

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.

The Daylight Cycle Toggle Team

profile avatar
  • 1
    Followers
  • 4
    Projects
  • 562
    Downloads

More from Darkikos

  • Dynamic Trees: Sapling and seeds project image

    Dynamic Trees: Sapling and seeds

    • 301
    • Mods

    Convert saplings into seeds and vice versa; only recipes have been added.

    • 301
    • May 14, 2026
    • Mods
    • +1
  • Xinelada Lendaria project image

    Xinelada Lendaria

    • 212
    • Modpacks

    +300 mods to improve vanilla game building, exploration and adventure, with performance!

    • 212
    • May 2, 2026
    • Modpacks
    • +3
  • RunCommandsInHighRamUsage project image

    RunCommandsInHighRamUsage

    • 22
    • Bukkit Plugins

    **RunCommandsInHighRamUsage** is a Bukkit/Spigot plugin that monitors server RAM usage and executes custom commands when RAM exceeds a specified limit. It includes logging, player notifications, and dynamic command management.

    • 22
    • February 27, 2025
    • Bukkit Plugins
    • +4
  • Dynamic Trees: Sapling and seeds project image

    Dynamic Trees: Sapling and seeds

    • 301
    • Mods

    Convert saplings into seeds and vice versa; only recipes have been added.

    • 301
    • May 14, 2026
    • Mods
    • +1
  • Xinelada Lendaria project image

    Xinelada Lendaria

    • 212
    • Modpacks

    +300 mods to improve vanilla game building, exploration and adventure, with performance!

    • 212
    • May 2, 2026
    • Modpacks
    • +3
  • RunCommandsInHighRamUsage project image

    RunCommandsInHighRamUsage

    • 22
    • Bukkit Plugins

    **RunCommandsInHighRamUsage** is a Bukkit/Spigot plugin that monitors server RAM usage and executes custom commands when RAM exceeds a specified limit. It includes logging, player notifications, and dynamic command management.

    • 22
    • February 27, 2025
    • Bukkit Plugins
    • +4