-
Notifications
You must be signed in to change notification settings - Fork 1
Configuration
Cyrusbye720 edited this page Apr 14, 2026
·
7 revisions
This page documents the main plugin configuration and the shared backend configuration.
For Bukkit-family and Folia builds, the main file is:
plugins/RedstoneReboot/config.yml
Mod loaders (Fabric, Forge, NeoForge) expose equivalent values through config/redstonereboot.properties.
general:
plugin-prefix: "&8[&cRedstone&8] &aReboot"
debug-mode: false
strict-validation: true-
plugin-prefix: prefix used in command and alert messages -
debug-mode: enables extra logging where supported -
strict-validation: fails startup on invalid config values
scheduled-restarts:
enabled: true
times:
- "06:00"
- "12:00"
- "18:00"
- "00:00"
timezone: "Asia/Kolkata"
days:
- "ALL"
warning-time: 300-
times:HH:MMin 24-hour format -
timezone: any valid JavaZoneId -
days:ALLor weekday names such asMONDAY -
warning-time: how early the countdown can begin
alerts:
enabled: true
warning-times: [3600, 1800, 900, 600, 300, 180, 120, 60, 30, 15, 10, 5, 4, 3, 2, 1]
chat:
enabled: true
format: "&8[&cRedstone&8] &eServer will restart in &c{time}&e!"
title:
enabled: true
main-title: "&cServer Restart"
sub-title: "&ein &c{time}"
actionbar:
enabled: true
format: "&8[&cRedstone&8] &eRestart in: &c{time}"
sound:
enabled: true
sound-name: "BLOCK_NOTE_BLOCK_PLING"monitoring:
enabled: true
tps-threshold: 18.0
memory-threshold: 85.0
check-interval: 30
consecutive-checks: 3When enabled, RedstoneReboot samples server health and can trigger restart flows after repeated bad readings.
emergency:
enabled: true
tps-threshold: 12.0
memory-threshold: 95.0
delay: 30permissions:
luckperms:
integration-enabled: true
default-permission: "redstonereboot.use"
admin-permission: "redstonereboot.admin"
fallback:
use-op-as-admin: true
default-level: 2-
default-levelis primarily relevant for non-Bukkit command environments
placeholders:
enabled: trueOnly Bukkit-family plugin deployments use PlaceholderAPI integration.
advanced:
async-operations: true
thread-pool-size: 2
metrics-enabled: true
shutdown-delay-ticks: 60-
metrics-enabled: enables anonymous usage statistics via bStats (Bukkit builds only). Set tofalseto opt out. -
shutdown-delay-ticks: ticks to wait after saving worlds before executing the shutdown sequence. -
async-operationsandthread-pool-sizeare reserved for broader runtime behavior and future expansion.
Backend handoff uses a separate file named:
restart-backends.properties
Example:
active-backend=SHUTDOWN_ONLY
lockout-duration-seconds=300
ptero-url=
ptero-token=
ptero-id=
systemd-service=minecraft
localscript-file=start.shSHUTDOWN_ONLYPTERODACTYLSYSTEMDDOCKERLOCALSCRIPT
-
lockout-duration-secondsis used when backend state becomes uncertain and RedstoneReboot temporarily suppresses new restart requests. -
systemd-serviceis used by theSYSTEMDbackend. -
localscript-fileis used by theLOCALSCRIPTbackend. - Pterodactyl requires the URL, token, and server identifier properties.
If backend behavior is unclear, run /reboot doctor and compare the reported backend state with the detected environment.