Constructor | Description |
---|---|
Spigot() |
Modifier and Type | Method | Description |
---|---|---|
void |
broadcast(net.md_5.bungee.api.chat.BaseComponent component) |
Sends the component to the player
|
void |
broadcast(net.md_5.bungee.api.chat.BaseComponent... components) |
Sends an array of components as a single message 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 © 2020. All rights reserved.