|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
com.dillyg10.STAB.STAB
public class STAB
Main plugin class Simple Tab API for Bukkit
| Field Summary | |
|---|---|
static STAB |
stab
Instance of the class |
| Constructor Summary | |
|---|---|
STAB()
|
|
| Method Summary | |
|---|---|
static void |
clearLastTabForPlayer(org.bukkit.entity.Player p)
Clears the tab list for a player PLEASE ONLY USE WHEN NEEDED! |
static TabObject |
getTabForPlayer(org.bukkit.entity.Player p)
Get the tab object for a player |
java.util.List<TabObject> |
getTabsForPlugin(org.bukkit.plugin.Plugin p)
Get all the TabObjects associated with a pluign |
void |
onEnable()
|
static void |
sendTabToAll(TabObject o)
Send a tab object to all players |
static void |
sendTabToAllInWorld(TabObject o,
org.bukkit.World w)
Sends a tab object to all players in a specific world |
static void |
sendTabToAllInWorldWithPermission(TabObject o,
org.bukkit.World w,
java.lang.String permission)
Sends a tab object to all players with a specific permission in a specific world |
static void |
sendTabToPlayer(TabObject o,
org.bukkit.entity.Player p)
Sends a TabObject to a single player |
static void |
sentTabToAllWithPermission(TabObject o,
java.lang.String permission)
Sends all the players the tab object with a specific permission |
| Methods inherited from class org.bukkit.plugin.java.JavaPlugin |
|---|
getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getLogger, getPluginLoader, getResource, getServer, isEnabled, isInitialized, isNaggable, onCommand, onDisable, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggable, toString |
| Methods inherited from class org.bukkit.plugin.PluginBase |
|---|
equals, getName, hashCode |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static STAB stab
| Constructor Detail |
|---|
public STAB()
| Method Detail |
|---|
public void onEnable()
onEnable in interface org.bukkit.plugin.PluginonEnable in class org.bukkit.plugin.java.JavaPluginpublic java.util.List<TabObject> getTabsForPlugin(org.bukkit.plugin.Plugin p)
p - The plugin
public static TabObject getTabForPlayer(org.bukkit.entity.Player p)
p - The player
public static void sendTabToAll(TabObject o)
o - The TabObject
public static void sendTabToAllInWorld(TabObject o,
org.bukkit.World w)
o - The TabObjectw - The World
public static void sendTabToAllInWorldWithPermission(TabObject o,
org.bukkit.World w,
java.lang.String permission)
o - The TabObjectw - The Worldpermission - The permission node
public static void sentTabToAllWithPermission(TabObject o,
java.lang.String permission)
o - The TabObjectpermission - The permission nodepublic static void clearLastTabForPlayer(org.bukkit.entity.Player p)
p - The Player
public static void sendTabToPlayer(TabObject o,
org.bukkit.entity.Player p)
o - The TabObjectp - The Player
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||