Package de.simonsator.partyandfriendsgui
Class Main
- java.lang.Object
-
- org.bukkit.plugin.PluginBase
-
- org.bukkit.plugin.java.JavaPlugin
-
- de.simonsator.partyandfriendsgui.Main
-
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor
,org.bukkit.command.TabCompleter
,org.bukkit.command.TabExecutor
,org.bukkit.plugin.Plugin
public class Main extends org.bukkit.plugin.java.JavaPlugin
The main class of the GUI. Here gets everything initialized
-
-
Constructor Summary
Constructors Constructor Description Main()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.bukkit.inventory.ItemStack
blockOutput(int itemNumber, int inventoryNumber)
Deprecated.java.lang.String
getColor(int colorNumber)
static Main
getInstance()
org.bukkit.inventory.ItemStack
getLoamStackWithName(TextIdentifier pIdentifier, short pShort)
Deprecated.org.bukkit.inventory.ItemStack
getLoamStackWithName112(TextIdentifier pIdentifier, short pShort)
void
loadConfig()
void
onDisable()
void
onEnable()
Will be executed on enablevoid
registerCommand(org.bukkit.command.defaults.BukkitCommand pCommand, org.bukkit.plugin.java.JavaPlugin pPlugin)
-
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
-
-
-
-
Method Detail
-
getInstance
public static Main getInstance()
-
onEnable
public void onEnable()
Will be executed on enable- Specified by:
onEnable
in interfaceorg.bukkit.plugin.Plugin
- Overrides:
onEnable
in classorg.bukkit.plugin.java.JavaPlugin
-
onDisable
public void onDisable()
- Specified by:
onDisable
in interfaceorg.bukkit.plugin.Plugin
- Overrides:
onDisable
in classorg.bukkit.plugin.java.JavaPlugin
-
loadConfig
public void loadConfig()
-
getColor
public java.lang.String getColor(int colorNumber)
-
blockOutput
@Deprecated public org.bukkit.inventory.ItemStack blockOutput(int itemNumber, int inventoryNumber)
Deprecated.Outputs a block.- Parameters:
itemNumber
- The item number of the searched iteminventoryNumber
- The inventory number, where the the item can be found- Returns:
- Returns the searched item (makes it easier for changes)
-
getLoamStackWithName
@Deprecated public org.bukkit.inventory.ItemStack getLoamStackWithName(TextIdentifier pIdentifier, short pShort)
Deprecated.
-
getLoamStackWithName112
public org.bukkit.inventory.ItemStack getLoamStackWithName112(TextIdentifier pIdentifier, short pShort)
-
registerCommand
public void registerCommand(org.bukkit.command.defaults.BukkitCommand pCommand, org.bukkit.plugin.java.JavaPlugin pPlugin)
-
-