javaminecraftbukkitbungeecord

Java - BungeeCord shutdown


I tried to shutdown my BungeeCord-/Proxy-Server using a plugin. But I can't find something like Bukkit.shutdown(); or Bukkit.dispatchCommand();, which can be used to stop a Bukkit-/Spigot-Server.

Sorry for my bad English and thanks for your help :)


Solution

  • To stop a Bungeecord server, you should call ProxyServer.getInstance().stop().