Constructor and Description |
---|
Spigot() |
Modifier and Type | Method and Description |
---|---|
void |
broadcast(net.md_5.bungee.api.chat.BaseComponent... components)
Sends an array of components as a single message to the player
|
void |
broadcast(net.md_5.bungee.api.chat.BaseComponent component)
Sends the component to the player
|
YamlConfiguration |
getBukkitConfig() |
YamlConfiguration |
getConfig()
Deprecated.
|
YamlConfiguration |
getPaperSpigotConfig() |
YamlConfiguration |
getSpigotConfig() |
double[] |
getTPS() |
void |
restart()
Restart the server.
|
@Deprecated public YamlConfiguration getConfig()
public YamlConfiguration getBukkitConfig()
public YamlConfiguration getSpigotConfig()
public YamlConfiguration getPaperSpigotConfig()
public void broadcast(net.md_5.bungee.api.chat.BaseComponent component)
component
- the components to sendpublic void broadcast(net.md_5.bungee.api.chat.BaseComponent... components)
components
- the components to sendpublic void restart()
public double[] getTPS()
Copyright © 2022. All rights reserved.