Package org.bukkit
Class Server.Spigot
java.lang.Object
org.bukkit.Server.Spigot
- Enclosing interface:
Server
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
broadcast
(net.md_5.bungee.api.chat.BaseComponent component) Deprecated.void
broadcast
(net.md_5.bungee.api.chat.BaseComponent... components) Deprecated.Deprecated, for removal: This API element is subject to removal in a future version.Server config options may be renamed or removed without notice.Deprecated, for removal: This API element is subject to removal in a future version.Server config options may be renamed or removed without notice.Deprecated, for removal: This API element is subject to removal in a future version.Server config options may be renamed or removed without notice.Deprecated, for removal: This API element is subject to removal in a future version.Server config options may be renamed or removed without notice.void
restart()
Deprecated, for removal: This API element is subject to removal in a future version.UseServer.restart()
instead.
-
Constructor Details
-
Spigot
public Spigot()
-
-
Method Details
-
getConfig
Deprecated, for removal: This API element is subject to removal in a future version.Server config options may be renamed or removed without notice. Prefer using existing API wherever possible, rather than directly reading from a server config.- Returns:
- The server's spigot config.
-
getBukkitConfig
Deprecated, for removal: This API element is subject to removal in a future version.Server config options may be renamed or removed without notice. Prefer using existing API wherever possible, rather than directly reading from a server config.- Returns:
- The server's bukkit config.
-
getSpigotConfig
Deprecated, for removal: This API element is subject to removal in a future version.Server config options may be renamed or removed without notice. Prefer using existing API wherever possible, rather than directly reading from a server config.- Returns:
- The server's spigot config.
-
getPaperConfig
Deprecated, for removal: This API element is subject to removal in a future version.Server config options may be renamed or removed without notice. Prefer using existing API wherever possible, rather than directly reading from a server config.- Returns:
- The server's paper config.
-
getDaydreamConfig
-
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
Deprecated, for removal: This API element is subject to removal in a future version.UseServer.restart()
instead.Restart the server. If the server administrator has not configured restarting, the server will stop.
-
Server.broadcast(net.kyori.adventure.text.Component)