Skip to content
ID

Getting Started

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.

  1. Verify the server is using Paper 26.2 and Java 25.
  2. Place the MF-AutoRestart JAR in plugins/.
  3. Start the server normally.
  4. Confirm the plugin reaches the ready state in the console.
  5. Review plugins/MF-AutoRestart/config.yml.
  6. 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.

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.

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.timezone
  • settings.lobby-server
  • settings.redirection-grace-period
  • schedules
  • default-countdown
  • warning-intervals
  • pre-restart-commands

See Configuration for the exact shipped file and valid values.

Useful checks after startup:

/ar status
/ar schedule list

/ar status shows the active restart phase, timezone, next schedule, and loaded schedules.

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.

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.