2018-09-26 17:19:21 +10:00
|
|
|
From d1a6486d4bd3a2217ab0bf09bda3a09464c7ab4e Mon Sep 17 00:00:00 2001
|
2015-07-13 19:12:24 +10: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
|
2018-09-26 17:19:21 +10:00
|
|
|
index 21f64cdb..da4ced2d 100644
|
2015-07-13 19:12:24 +10:00
|
|
|
--- a/src/main/java/org/bukkit/Server.java
|
|
|
|
+++ b/src/main/java/org/bukkit/Server.java
|
2018-09-26 17:19:21 +10:00
|
|
|
@@ -1106,6 +1106,13 @@ public interface Server extends PluginMessageRecipient {
|
2015-07-13 19:12:24 +10:00
|
|
|
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();
|
|
|
|
--
|
2018-07-15 10:00:00 +10:00
|
|
|
2.17.1
|
2015-07-13 19:12:24 +10:00
|
|
|
|