From 5d70190d5f6efef8a170aa3ab58de70c68d84edd Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot <noreply+git-bukkit@papermc.io> Date: Mon, 13 Jul 2015 19:10:15 +1000 Subject: [PATCH] Add restart API. By: md_5 <git@md-5.net> --- paper-api/src/main/java/org/bukkit/Server.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/Server.java b/paper-api/src/main/java/org/bukkit/Server.java index 704840ea10..1fb5155095 100644 --- a/paper-api/src/main/java/org/bukkit/Server.java +++ b/paper-api/src/main/java/org/bukkit/Server.java @@ -1878,6 +1878,13 @@ public interface Server extends PluginMessageRecipient { public void broadcast(@NotNull net.md_5.bungee.api.chat.BaseComponent... components) { throw new UnsupportedOperationException("Not supported yet."); } + + /** + * Restart the server. If the server administrator has not configured restarting, the server will stop. + */ + public void restart() { + throw new UnsupportedOperationException("Not supported yet."); + } } @NotNull