public class PowerNBT
extends org.bukkit.plugin.java.JavaPlugin
Modifier and Type | Field and Description |
---|---|
static Charset |
charset |
static PowerNBT |
plugin |
Constructor and Description |
---|
PowerNBT() |
Modifier and Type | Method and Description |
---|---|
static NBTManager |
getApi()
Get PowerNBT API
|
me.dpohvar.powernbt.utils.Caller |
getCaller(org.bukkit.command.CommandSender sender) |
String |
getErrorPrefix() |
File |
getLangFolder() |
File |
getNBTFilesFolder()
Get the folder where are stored saved files
This files are used for command:
/nbt $filename |
String |
getPrefix() |
File |
getTemplateFolder() |
me.dpohvar.powernbt.utils.Tokenizer |
getTokenizer() |
me.dpohvar.powernbt.completer.TypeCompleter |
getTypeCompleter() |
boolean |
isDebug()
Get plugin debug mode
|
void |
onEnable() |
void |
onLoad() |
void |
setDebug(boolean val)
Set plugin debug mode
|
String |
translate(String key) |
String |
translate(String key,
Object... values) |
getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, isEnabled, isInitialized, isNaggable, onCommand, onDisable, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggable, toString
public File getNBTFilesFolder()
/nbt $filename
public me.dpohvar.powernbt.utils.Caller getCaller(org.bukkit.command.CommandSender sender)
public File getLangFolder()
public File getTemplateFolder()
public me.dpohvar.powernbt.utils.Tokenizer getTokenizer()
public String getPrefix()
public String getErrorPrefix()
public boolean isDebug()
public void setDebug(boolean val)
val
- true to enable debug modepublic void onLoad()
onLoad
in interface org.bukkit.plugin.Plugin
onLoad
in class org.bukkit.plugin.java.JavaPlugin
public void onEnable()
onEnable
in interface org.bukkit.plugin.Plugin
onEnable
in class org.bukkit.plugin.java.JavaPlugin
public me.dpohvar.powernbt.completer.TypeCompleter getTypeCompleter()
public static NBTManager getApi()
Copyright © 2017. All rights reserved.