
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
/restartvelocitycommand 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 (requiresvelocityrestart.restartpermission)
Configuration
The plugin creates a config.properties file in the plugin's data directory.
Settings
enableBossBar=true- Whether to show the boss bar during countdownenableAutoRestart=false- Whether to enable automatic restartsautoRestartHours=26- Hours after which to automatically start the countdownbossBarTitle=Proxy Restart- Title of the boss barstartAnnouncement=Proxy restart in 60 seconds!- Announcement when countdown startscountdownAnnouncement=Proxy restart in {remaining} seconds!- Announcement during countdown (use {remaining} as placeholder)bossBarCountdown=Proxy Restart in {remaining} seconds- Text shown in boss bar during countdownshutdownMessage=Server is restarting...- Message when server shuts down
Permissions
velocityrestart.restart- Permission to use the /restartvelocity command