Package org.bukkit

Class Server.Spigot

  • Enclosing interface:
    Server

    public static class Server.Spigot
    extends Object
    • Constructor Detail

      • Spigot

        public Spigot()
    • Method Detail

      • broadcast

        public void broadcast​(@NotNull
                              BaseComponent component)
        Sends the component to the player
        Parameters:
        component - the components to send
      • broadcast

        public void broadcast​(@NotNull
                              @NotNull BaseComponent... components)
        Sends an array of components as a single message to the player
        Parameters:
        components - the components to send
      • restart

        public void restart()
        Restart the server. If the server administrator has not configured restarting, the server will stop.