mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-15 14:13:56 +01:00
Add restart API.
By: md_5 <git@md-5.net>
This commit is contained in:
parent
28e80d52a4
commit
5d70190d5f
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue