AutoRoutine

AutoRoutine is a Minecraft plugin that automatically restarts your server on a schedule, with chat, bossbar, and actionbar notifications, sound alerts, and HEX color support.

18

Quick challenge

How far can you run before the mobs catch you?

AutoRoutine

AutoRoutine

AutoRoutine is a Minecraft server plugin that automates server restarts on a fixed schedule or at a manually planned time. It helps keep your server stable by regularly restarting it while clearly notifying players in advance.

The plugin provides multiple notification methods (bossbar, actionbar), sound alerts, and full HEX color support for message customization.

Features

- Automatic scheduled server restarts (24h format)

- Manual restart planning via command

- Countdown before restart

- Bossbar and actionbar notifications

- Sound notifications at different restart stages

- HEX color support (#RRGGBB)

- Fully configurable via config.yml

Commands

`/autoroutine reload` — reloads the plugin configuration.

`/autoroutine plan <time>` — plans a server restart at a specific time. Example: /autoroutine plan 09:50 ##

Permissions

`autoroutine.reload` — allows reloading the config

`autoroutine.plan` — allows planning restarts

Configuration Example

```

AutoRoutine Configuration

Plugin for automatic server restarts

Times for server restart (24-hour format)

restart-times: - "00:00" - "06:00" - "12:00" - "18:00"

Commands to execute on restart

You can use the 'sleep' command to add delays between commands (e.g., "sleep 5" for 5 seconds)

restart-commands: - "say Server is restarting!" - "sleep 5" - "kickall &cServer restart"

Countdown start time (minutes before restart)

countdown-start-minutes: 30

Notifications

notifications: bossbar: enabled: true text: "#C7A3D1Server restart in #FFFF55%time%"

Available colors: PINK, BLUE, RED, GREEN, YELLOW, PURPLE, WHITE

Available styles: SOLID, SEGMENTED_6, SEGMENTED_10, SEGMENTED_12, SEGMENTED_20

You can also use HEX colors in the text (e.g., #FF5555)

color: "WHITE" style: "SEGMENTED_20" actionbar: enabled: true text: "#C7A3D1Restart in #FFFF55%time%" chat: enabled: true text: "#FF5555Server will restart in #FFFF55%time%" interval-minutes: 10

Messages

messages: usage: "#FF5555Usage: /autoroutine reload|plan <time>" usage-example: "#AAAAAAExample: /autoroutine plan 9:50" plan-usage: "#FF5555Usage: /autoroutine plan <time>" plan-usage-example: "#AAAAAAExample: /autoroutine plan 9:50 or /autoroutine plan 09:50" restart-planned: "#55FF55Restart planned for %time%" no-permission-reload: "#FF5555You don't have permission to reload the config!" no-permission-plan: "#FF5555You don't have permission to plan a restart!" config-reloaded: "#C7A3D1AutoRoutine config reloaded!"

Sounds

sounds: start: sound: "ENTITY_EXPERIENCE_ORB_PICKUP" enabled: true notify: sound: "BLOCK_NOTE_BLOCK_PLING" enabled: true ten-seconds: sound: "ENTITY_PLAYER_LEVELUP" enabled: true restart: sound: "ENTITY_ENDER_DRAGON_GROWL" enabled: true volume: 1.0 pitch: 1.0 ```

ADS