public class RadioBoard
extends org.bukkit.plugin.java.JavaPlugin
Constructor and Description |
---|
RadioBoard() |
Modifier and Type | Method and Description |
---|---|
static java.io.File |
getCanvasFile(java.lang.String canvas)
Get a file located in the canvas folder for this plugin
|
java.util.Set<java.lang.String> |
getCoreBoards()
Get a list of this plugin's boards that were loaded from the boards.yml
|
static java.io.File |
getImageFile(java.lang.String image)
Get a file located in the image folder for this plugin
|
static RadioBoard |
getInstance() |
PacketHandler |
getPacketHandler()
Get the NMS implementation for sending map updates and stuff
|
io.github.bananapuncher714.radioboard.tinyprotocol.TinyProtocol |
getProtocol() |
void |
onDisable() |
void |
onEnable() |
void |
updateDisplaysFor(org.bukkit.entity.Player player)
Update all default displays for a given player
|
getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, isEnabled, isNaggable, onCommand, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggable, toString
public void onEnable()
onEnable
in interface org.bukkit.plugin.Plugin
onEnable
in class org.bukkit.plugin.java.JavaPlugin
public void onDisable()
onDisable
in interface org.bukkit.plugin.Plugin
onDisable
in class org.bukkit.plugin.java.JavaPlugin
public java.util.Set<java.lang.String> getCoreBoards()
public void updateDisplaysFor(org.bukkit.entity.Player player)
player
- Player to update forpublic PacketHandler getPacketHandler()
public io.github.bananapuncher714.radioboard.tinyprotocol.TinyProtocol getProtocol()
public static java.io.File getImageFile(java.lang.String image)
image
- The name of a filepublic static java.io.File getCanvasFile(java.lang.String canvas)
canvas
- The name of a filepublic static RadioBoard getInstance()