2015-07-27 14:20:54 +02:00
|
|
|
From 5fd845e883d1a8bdb75272d43f02cf42786f9bb3 Mon Sep 17 00:00:00 2001
|
2015-07-13 11:12:24 +02:00
|
|
|
From: md_5 <git@md-5.net>
|
|
|
|
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 20edb77..d9ad0ca 100644
|
|
|
|
--- a/src/main/java/org/bukkit/Server.java
|
|
|
|
+++ b/src/main/java/org/bukkit/Server.java
|
|
|
|
@@ -937,6 +937,13 @@ public interface Server extends PluginMessageRecipient {
|
|
|
|
public void broadcast(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.");
|
|
|
|
+ }
|
|
|
|
}
|
|
|
|
|
|
|
|
Spigot spigot();
|
|
|
|
--
|
|
|
|
2.1.4
|
|
|
|
|