Package org.bukkit
Class Server.Spigot
java.lang.Object
org.bukkit.Server.Spigot
- Enclosing interface:
- Server
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidbroadcast(BaseComponent component) Sends the component to the playervoidbroadcast(BaseComponent... components) Sends an array of components as a single message to the playervoidrestart()Restart the server.
- 
Constructor Details- 
Spigotpublic Spigot()
 
- 
- 
Method Details- 
getConfig
- 
broadcastSends the component to the player- Parameters:
- component- the components to send
 
- 
broadcastSends 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.
 
-