Package org.bukkit
Class Server.Spigot
java.lang.Object
org.bukkit.Server.Spigot
- Enclosing interface:
- Server
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidbroadcast(net.md_5.bungee.api.chat.BaseComponent component) Sends the component to the playervoidbroadcast(net.md_5.bungee.api.chat.BaseComponent... components) Sends an array of components as a single message to the playervoidrestart()Restart the server.
- 
Constructor Details- 
Spigotpublic Spigot()
 
- 
- 
Method Details- 
getConfig
- 
broadcastpublic void broadcast(@NotNull net.md_5.bungee.api.chat.BaseComponent component) Sends the component to the player- Parameters:
- component- the components to send
 
- 
broadcastpublic void broadcast(@NotNull net.md_5.bungee.api.chat.BaseComponent... components) Sends an array of components as a single message to the player- Parameters:
- components- the components to send
 
- 
restartpublic void restart()Restart the server. If the server administrator has not configured restarting, the server will stop.
 
-