From 0ac0c3a9c2f5f9e8fa272e017e98934193839cc7 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 13 Jul 2015 19:10:15 +1000 Subject: [PATCH] Add restart API. diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java index bde7c164..4ba8572f 100644 --- a/src/main/java/org/bukkit/Server.java +++ b/src/main/java/org/bukkit/Server.java @@ -1361,6 +1361,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 -- 2.25.1