Class SubPlugin
java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
net.ME1312.SubServers.Client.Bukkit.SubPlugin
- All Implemented Interfaces:
CommandExecutor
,TabCompleter
,TabExecutor
,Plugin
SubServers Client Plugin Class
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bukkit.plugin.java.JavaPlugin
getClassLoader, getCommand, getConfig, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, isEnabled, isNaggable, onCommand, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
Methods inherited from class org.bukkit.plugin.PluginBase
equals, getName, hashCode
-
Field Details
-
config
-
subprotocol
-
gui
-
signs
-
version
-
api
-
phi
-
server_address
-
-
Constructor Details
-
SubPlugin
- Throws:
Throwable
-
-
Method Details
-
onEnable
public void onEnable()Enable Plugin- Specified by:
onEnable
in interfacePlugin
- Overrides:
onEnable
in classJavaPlugin
-
reload
- Throws:
IOException
-
onDisable
public void onDisable()Disable Plugin- Specified by:
onDisable
in interfacePlugin
- Overrides:
onDisable
in classJavaPlugin
-
parseJSON
Use reflection to access Gson for parsing- Parameters:
json
- JSON to parse- Returns:
- JSON as a map
- Throws:
Throwable
-
pmc
Send a message to the BungeeCord Plugin Messaging Channel- Parameters:
player
- Player that will sendmessage
- Message contents
-