2024-01-07 08:59:57 +11:00
|
|
|
From cd46fa86aca2a569faeb5ca1da9becead709694d 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
|
2023-12-17 10:26:51 +11:00
|
|
|
index e419d575..c394954c 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
|
2023-12-17 10:26:51 +11:00
|
|
|
@@ -1812,6 +1812,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
|
|
|
--
|
2023-12-06 03:40:00 +11:00
|
|
|
2.43.0
|
2015-07-13 19:12:24 +10:00
|
|
|
|