velocityrestart
PluginMIT

velocityrestart

A Velocity plugin that provides a restart command with countdown and boss bar.

28
Downloads
1
Followers
4 months ago
Updated
📦
1
Versions

📖About velocityrestart

VelocityRestart Plugin

A Velocity plugin that provides a restart command with countdown and boss bar.
It is based on the automatic restart mechanism of the hosting system when the server is shut down.

Features

  • /restartvelocity command to start a 60-second restart countdown
  • Chat announcements (configurable)
  • Optional boss bar showing countdown progress to all players
  • Automatic restart after a configurable number of hours
  • Fully configurable texts via config.properties

Commands

  • /restartvelocity - Starts the restart countdown (requires velocityrestart.restart permission)

Configuration

The plugin creates a config.properties file in the plugin's data directory.

Settings

  • enableBossBar=true - Whether to show the boss bar during countdown
  • enableAutoRestart=false - Whether to enable automatic restarts
  • autoRestartHours=26 - Hours after which to automatically start the countdown
  • bossBarTitle=Proxy Restart - Title of the boss bar
  • startAnnouncement=Proxy restart in 60 seconds! - Announcement when countdown starts
  • countdownAnnouncement=Proxy restart in {remaining} seconds! - Announcement during countdown (use {remaining} as placeholder)
  • bossBarCountdown=Proxy Restart in {remaining} seconds - Text shown in boss bar during countdown
  • shutdownMessage=Server is restarting... - Message when server shuts down

Permissions

  • velocityrestart.restart - Permission to use the /restartvelocity command