Package org.bukkit
Class Server.Spigot
java.lang.Object
org.bukkit.Server.Spigot
- Enclosing interface:
- Server
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
broadcast(@NotNull BaseComponent... components)
Deprecated.void
broadcast(BaseComponent component)
Deprecated.void
restart()
Restart the server.
-
Constructor Details
-
Spigot
public Spigot()
-
-
Method Details
-
getConfig
-
getBukkitConfig
-
getSpigotConfig
-
getPaperConfig
-
broadcast
Deprecated.Sends the component to the player- Parameters:
component
- the components to send
-
broadcast
Deprecated.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.
-
Server.broadcast(net.kyori.adventure.text.Component)