2020-11-03 07:00:00 +11:00
|
|
|
From 3d633a0de3c5386ba621beb9fc24c932ff278cdc 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
|
2020-07-25 09:36:37 +10:00
|
|
|
index c74493f7..e43ba4c9 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
|
2020-07-25 09:36:37 +10:00
|
|
|
@@ -1354,6 +1354,13 @@ public interface Server extends PluginMessageRecipient {
|
2019-03-13 17:43:06 +11:00
|
|
|
public void broadcast(@NotNull net.md_5.bungee.api.chat.BaseComponent... components) {
|
2015-07-13 19:12:24 +10:00
|
|
|
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.");
|
|
|
|
+ }
|
|
|
|
}
|
|
|
|
|
2019-03-13 17:43:06 +11:00
|
|
|
@NotNull
|
2015-07-13 19:12:24 +10:00
|
|
|
--
|
2020-05-09 18:48:11 +10:00
|
|
|
2.25.1
|
2015-07-13 19:12:24 +10:00
|
|
|
|