DayNightCicle is a lightweight Paper plugin that lets you extend day and night length in minutes via YAML and live commands with integrated AFK system.
Paper 1.21+ • Java 21
lang in config.yml to it_it or us_en.en_us is accepted and mapped to us_en./daynightcicle or /dnc - show help./daynightcicle reload - reload config./daynightcicle status - show current settings and AFK players./daynightcicle set day <min> night <min> - update and save./daynightcicle nosleeplist - show sleep override list./daynightcicle sleeplist add <player> - add a player to the sleep override list./daynightcicle sleeplist remove <player> - remove a player from the sleep override list./afk - toggle AFK status manually.lang: it_it
cycle:
day_minutes: 20
night_minutes: 10
min_minutes: 10
sleep_skip_delay_seconds: 5
afk_timeout_minutes: 5
afk:
remove_on_move: true
remove_on_chat: true
remove_on_interact: true
invulnerable: false
can_be_moved: true
ignored_by_mobs: false
counts_for_sleep: true
can_pickup_items: false
frozen: false
display_text: "AFK"
use_prefix: false
worlds: []
The plugin creates sleep-override.json in the plugin data folder. Players in this list will be counted even if another plugin marks them as sleep-ignored.
{
"players": [
"KillerItaly"
]
}
Player names are case-insensitive. If you edit the file manually, run /daynightcicle reload afterward.
The plugin includes a comprehensive AFK system that integrates with the sleep mechanics:
plugins/.plugins/DayNightCicle/config.yml./daynightcicle reload.