public class Util extends JavaPlugin
| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAchievements(Player player) |
void |
enchant(Player p)
This function is called when the user run's a command to god an item it
then get's the meta of the item and set's a lore and name.
|
void |
loadConfiguration() |
void |
logText(java.lang.String text) |
void |
playerText(Player player,
java.lang.String text,
ChatColor color) |
void |
removeItemName(Player p) |
void |
removeLore(Player p) |
void |
unEnchant(Player p) |
getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, isEnabled, isInitialized, isNaggable, onCommand, onDisable, onEnable, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggable, toStringequals, getName, hashCodepublic void enchant(Player p)
p - This is the player that issued the command.public void unEnchant(Player p)
public void removeItemName(Player p)
public void removeLore(Player p)
public void addAchievements(Player player)
public void logText(java.lang.String text)
public void loadConfiguration()