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
  • 1.0K
    Downloads

More from Darkikos