Add restart API.

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2015-07-13 19:10:15 +10:00
parent 28e80d52a4
commit 5d70190d5f

View file

@ -1878,6 +1878,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