Перейти к содержимому
Mineforgian

CustomDayNightTime

Precise server time control allowing independent day and night duration settings in real-time seconds.

Загрузки
124
Подписчики
0
Обновлён
25 ноября 2025 г.
Лицензия
CC-BY-NC-4.0

Опубликован 25 ноября 2025 г.

⚠️ Compatibility Note: This plugin is built for Minecraft 1.21.5 Purpur. I tested it on Purpur 1.21.5 and Spigot 1.21.1. It should work on 1.21.1-1.21.5 Spigot/Purpur/Paper/Bukkit.

If you want to report a bug or suggest a new plugin, join my Discord server.

This is a cut-out and improved fragment of my SmpMechanics plugin and forms a harmonious whole with Cozy Campfire and BetterSleep.

⏳ CustomDayNightTime

Take full control of time on your server!

CustomDayNightTime allows you to precisely define the duration of the day and night independently. Whether you want a 30-minute day for exploration and a 5-minute night for safety, or a realistic 24-hour cycle, this plugin handles it smoothly. It is designed to work flawlessly alongside BetterSleep, ensuring no time-skipping glitches occur.

✨ Key Features

  • ⏱️ Precision Time Control: Set the duration of Day and Night separately using real-time seconds.
    • Example: Make days last 20 minutes (1200s) and nights just 5 minutes (300s).
  • 🤝 Seamless Integration: Built to detect the BetterSleep plugin automatically. If players start sleeping (fast-forwarding time), this plugin pauses its own timer to prevent "rubber-banding" or time conflicts.
  • 🌍 Per-Player Language: Full support for English and Polish. Players can switch their interface language via /ct language, and the choice is saved permanently.
  • 🧠 Smart Tab-Completion: The command system is intelligent. When typing /ct day or /ct night, the autocomplete suggests the currently set value first, making adjustments incredibly fast.
  • 💾 Persistent Data: All settings are saved to config.yml instantly. No data loss on restarts.

Here are the updated, English command and permission tables, ready to be pasted into your plugin description page.


⏳ CustomDayNightTime - Commands & Permissions

Main command: /ct (or /customtime)

Command Description Permission Default
--- PLAYER ---
/ct Displays current time settings (Status). customtime.help ✅ Everyone
/ct help Displays the list of available commands. customtime.help ✅ Everyone
/ct language <pl/en> Change your personal interface language. customtime.language ✅ Everyone
--- ADMIN ---
/ct day <seconds> Set the duration of the day (in seconds). customtime.day ❌ OP
/ct night <seconds> Set the duration of the night (in seconds). customtime.night ❌ OP
/ct reload Reloads configuration and language files. customtime.reload ❌ OP
  • Wildcard Permission: customtime.* (Grants full access).

🚀 Installation

  1. Download the .jar file.
  2. Place it in the /plugins/ folder of your server (Spigot/Paper/Purpur 1.21.x).
  3. Restart the server.
  4. (Optional) Install BetterSleep for the ultimate time-management experience.

Ченджлог

v1.0Релиз1.21.3, 1.21.4, 1.21.5 · 25 ноября 2025 г.

✨ CustomDayNightTime v1.0 - Complete Feature List

  • ⏱️ Precise Time Control: Define the exact duration of Day and Night independently using real-time seconds. Whether you want a 30-minute day or a 1-hour night, you have full control.
  • 🤝 Seamless Cross-Compatibility: Designed to work perfectly with BetterSleep. The plugin automatically detects when the night is being fast-forwarded and pauses its own timer to prevent time glitches or "rubber-banding."
  • 🌍 Per-Player Language System: Full support for English and Polish. Players can toggle their personal interface language anytime via /ct lang, with preferences saved permanently.
  • 🧠 Smart UX & TabCompletion: The command system is intuitive. When typing /ct day or /ct night, the autocomplete suggests the currently set value first, making adjustments incredibly fast.
  • ⚙️ Live In-Game Config: Use /ct day <seconds> or /ct night <seconds> to apply changes instantly without needing a server restart.
  • 💾 Persistent Data: All settings are saved to config.yml, and player language preferences are stored using the PersistentDataContainer API.

Комментарии

Загружаем…