

ShutDown is a lightweight and powerful plugin which was mainly designed to
help your Users preparing themselves for the server stop.
server.shutdown
/shutdown:
This Command starts an 10 second timer after which the Server is being
stopped
/shutdown [>=10]:
This Command is similar to the first one but it takes one Argument which defines the time in seconds in which the the server will be stopped.
E.g. /shutdown 60 will stop the server after 60 seconds
/shutdown now:
This Command is just like /stop but the users will receive your defined kickmessage
/shutdown help:
Displays the plugin help page
/shutdown reload:
Reloads the config.yml and the messages.yml
/shutdown version:
Shows you the current version and checks for Updates
/shutdown terminate:
Cancels a ongoing ShutDown
settings:
permission: server.shutdown
updateChecker: true
default_timer: 10
debug: false
auto_shutdown: false
auto_shutdown_time: 00:00
last_auto_shutdown: MM-dd-yyyy
metrics: true

console:
prefix: '&7[&cShutDown&7] '
chat:
prefix: '&7[&bServer&7] '
broadcastmsg: '&bServer ShutDown in: &c%s%'
premessage: '&bThe Server is stopping in&c %s% &bseconds!'
kickmsg: "&bYOURSERVER.COM \n &cYOU GOT KICKED FROM THE SERVER! \n &bREASON: &cSERVER\
\ STOP!"
stoppingin: Server is stopping in %s% seconds
stoppingnow: Server is stopping now
configreloaded: The config was reloaded
numbererror: The first argument has to be a number
terminating: Terminating ShutDown
canceled: '&aThe ShutDown was canceled!'
version: 'The current version: %ver% Checking for Update: %check%'
version-cooldown: ยงc/version has a built in cooldown to prevent SpigotMC from rate
limiting
command:
noperm: '&cYou have no permission to perform this Command!'

The API is currently just one event (ServerShutDownEvent)
How to use:
- add ShutDown to your plugins dependencies
Spigot:
plugin.yml
name: YourPluginName
author: YourName
version: 1.0-SNAPSHOT
depend: [ShutDown]
Listener Class
import de.flubio.shutdown.spigot.api.ServerShutDownEvent;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
public class ExampleListener implements Listener {
@EventHandler
public void onShutDown(ServerShutDownEvent event){
/*
* YOUR CODE
* */
}
}
BungeeCord:
plugin.yml
name: YourPluginName
author: YourName
version: 1.0-SNAPSHOT
depends: [ShutDown]
Listener Class
import de.flubio.shutdown.bungee.api.ServerShutDownEvent;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
public class ExampleListener implements Listener {
@EventHandler
public void onShutDown(ServerShutDownEvent event){
/*
* YOUR CODE
* */
}
}
INFO
This Plugin sends usage-information such as Players, ServerType(Spigot, BungeeCord), JavaVersion, etc. to the Creator of this Plugin to determine the general use of it, in order to decide if it is still worth to continue the work on it.
You consent to this by downloading
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta