public class Banana
extends org.bukkit.plugin.java.JavaPlugin
| Constructor and Description |
|---|
Banana() |
| Modifier and Type | Method and Description |
|---|---|
static BanCache |
getBanCache()
Used to get the BanCache
|
static DatabaseManager |
getDatabaseManager()
Used to get the database for updating...
|
org.bukkit.configuration.file.YamlConfiguration |
getLang()
Used to get the parsed YAML from the language file
|
java.io.File |
getLangFile()
Get the language.yml file.
|
static MuteCache |
getMuteCache()
Used to get the mute cache
|
static PlayerCache |
getPlayerCache()
Used to get the player cache
|
static WarnCache |
getWarnCache()
Used to get the warncache
|
static boolean |
isStaffMode()
Used to determine if the server should be put into staff mode
|
void |
loadLang()
Used to load all the language values from the language.yml file.
|
void |
onDisable() |
void |
onEnable() |
static void |
setStaffMode(boolean b)
Used to set the server's staff mode status
|
getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, isEnabled, isInitialized, isNaggable, onCommand, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggable, toStringpublic void onEnable()
onEnable in interface org.bukkit.plugin.PluginonEnable in class org.bukkit.plugin.java.JavaPluginpublic void onDisable()
onDisable in interface org.bukkit.plugin.PluginonDisable in class org.bukkit.plugin.java.JavaPluginpublic static BanCache getBanCache()
public static DatabaseManager getDatabaseManager()
public static WarnCache getWarnCache()
public static PlayerCache getPlayerCache()
public static MuteCache getMuteCache()
public void loadLang()
public java.io.File getLangFile()
public org.bukkit.configuration.file.YamlConfiguration getLang()
public static boolean isStaffMode()
public static void setStaffMode(boolean b)
b - The new status of staff mode