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() |
YamlConfiguration |
getPaperConfig() |
YamlConfiguration |
getSpigotConfig() |
void |
restart()
Restart the server.
|
@NotNull public YamlConfiguration getConfig()
@NotNull public YamlConfiguration getBukkitConfig()
@NotNull public YamlConfiguration getSpigotConfig()
@NotNull public YamlConfiguration getPaperConfig()
public void broadcast(@NotNull net.md_5.bungee.api.chat.BaseComponent component)
component
- the components to sendpublic void broadcast(@NotNull net.md_5.bungee.api.chat.BaseComponent... components)
components
- the components to sendpublic void restart()
Copyright © 2022. All rights reserved.