Getting Started
Requirements
Section titled “Requirements”MF-AutoRestart is configured for:
- Minecraft
26.2 - Paper
26.2 - Java
25 - Maven for source builds
No external plugin is required for core restart scheduling. PlaceholderAPI is optional. Proxy handoff is also optional; without a compatible proxy/channel setup, players that remain connected are handled by the configured fallback kick after the grace period.
SQLite JDBC is declared in plugin.yml as a Paper runtime library. The server resolves that library for the plugin; there is no separate SQLite plugin to install.
Installation
Section titled “Installation”- Verify the server is using Paper 26.2 and Java 25.
- Place the MF-AutoRestart JAR in
plugins/. - Start the server normally.
- Confirm the plugin reaches the ready state in the console.
- Review
plugins/MF-AutoRestart/config.yml. - If PlaceholderAPI is installed, MF-AutoRestart registers its expansion after the plugin becomes ready.
Hot-loading and server-wide /reload are not documented as supported lifecycle workflows. Use a normal server start for verification.
First Start
Section titled “First Start”On startup, MF-AutoRestart prepares configuration and language data, opens SQLite asynchronously, verifies rollback-journal DELETE mode, loads persistent dynamic schedules, then enables the schedule checker and public API service.
Commands are registered during startup, but they return a not-ready message until bootstrap finishes successfully.
Initial Configuration
Section titled “Initial Configuration”The shipped configuration contains a daily schedule at 07:00 in Asia/Jakarta and a default countdown of 300 seconds. Schedule times represent countdown start time, not the final process restart time.
Review at least:
settings.timezonesettings.lobby-serversettings.redirection-grace-periodschedulesdefault-countdownwarning-intervalspre-restart-commands
See Configuration for the exact shipped file and valid values.
Startup Verification
Section titled “Startup Verification”Useful checks after startup:
/ar status/ar schedule list/ar status shows the active restart phase, timezone, next schedule, and loaded schedules.
Restart Mechanism
Section titled “Restart Mechanism”At the end of a committed restart flow, MF-AutoRestart calls Paper’s server restart API. The server owner must configure the surrounding Paper/process restart mechanism appropriately for the server to come back online. The exact process supervisor or hosting-panel setup is environment-specific and is not configured by this plugin.
Updating
Section titled “Updating”The delivered source defines schema version 1. It contains no separate general-purpose update or downgrade migration command.
If an existing data.db is in SQLite WAL mode, startup asks SQLite to checkpoint it and switch to journal_mode=DELETE before runtime readiness. See Storage.