public abstract class MPlugin
extends org.bukkit.plugin.java.JavaPlugin
Modifier and Type | Field and Description |
---|---|
com.google.gson.Gson |
gson |
protected boolean |
loadSuccessful |
PermUtil |
perm |
Persist |
persist |
java.util.Map<java.lang.String,java.lang.String> |
rawTags |
java.lang.String |
refCommand |
java.util.Map<java.util.UUID,java.lang.Integer> |
stuckMap |
TextUtil |
txt |
Constructor and Description |
---|
MPlugin() |
Modifier and Type | Method and Description |
---|---|
void |
addRawTags() |
boolean |
getAutoSave() |
java.util.List<MCommand<?>> |
getBaseCommands() |
com.google.gson.GsonBuilder |
getGsonBuilder() |
java.util.Map<java.util.UUID,java.lang.Integer> |
getStuckMap() |
java.util.Map<java.util.UUID,java.lang.Long> |
getTimers() |
boolean |
handleCommand(org.bukkit.command.CommandSender sender,
java.lang.String commandString) |
boolean |
handleCommand(org.bukkit.command.CommandSender sender,
java.lang.String commandString,
boolean testOnly) |
boolean |
handleCommand(org.bukkit.command.CommandSender sender,
java.lang.String commandString,
boolean testOnly,
boolean async) |
void |
initTXT() |
void |
loadLang() |
void |
log(java.util.logging.Level level,
java.lang.Object msg) |
void |
log(java.util.logging.Level level,
java.lang.String str,
java.lang.Object... args) |
void |
log(java.lang.Object msg) |
void |
log(java.lang.String str,
java.lang.Object... args) |
boolean |
logPlayerCommands() |
void |
onDisable() |
void |
postAutoSave() |
void |
postEnable() |
void |
preAutoSave() |
boolean |
preEnable() |
void |
setAutoSave(boolean val) |
void |
suicide() |
getClassLoader, getCommand, getConfig, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, isEnabled, isNaggable, onCommand, onEnable, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toString
public final com.google.gson.Gson gson
public Persist persist
public TextUtil txt
public PermUtil perm
public java.lang.String refCommand
public java.util.Map<java.util.UUID,java.lang.Integer> stuckMap
public java.util.Map<java.lang.String,java.lang.String> rawTags
protected boolean loadSuccessful
public boolean getAutoSave()
public void setAutoSave(boolean val)
public java.util.List<MCommand<?>> getBaseCommands()
public boolean preEnable()
public void postEnable()
public void loadLang()
public void onDisable()
onDisable
in interface org.bukkit.plugin.Plugin
onDisable
in class org.bukkit.plugin.java.JavaPlugin
public void suicide()
public com.google.gson.GsonBuilder getGsonBuilder()
public void addRawTags()
public void initTXT()
public boolean logPlayerCommands()
public boolean handleCommand(org.bukkit.command.CommandSender sender, java.lang.String commandString, boolean testOnly)
public boolean handleCommand(org.bukkit.command.CommandSender sender, java.lang.String commandString, boolean testOnly, boolean async)
public boolean handleCommand(org.bukkit.command.CommandSender sender, java.lang.String commandString)
public void preAutoSave()
public void postAutoSave()
public java.util.Map<java.util.UUID,java.lang.Integer> getStuckMap()
public java.util.Map<java.util.UUID,java.lang.Long> getTimers()
public void log(java.lang.Object msg)
public void log(java.lang.String str, java.lang.Object... args)
public void log(java.util.logging.Level level, java.lang.String str, java.lang.Object... args)
public void log(java.util.logging.Level level, java.lang.Object msg)