Package dev.aura.bungeechat.api.hook
Class HookManager
- java.lang.Object
-
- dev.aura.bungeechat.api.hook.HookManager
-
public final class HookManager extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
ACCOUNT_PREFIX_PRIORITY
static int
DEFAULT_PREFIX_PRIORITY
static int
PERMISSION_PLUGIN_PREFIX_PRIORITY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addHook(String name, BungeeChatHook hook)
static String
getFullDisplayName(BungeeChatAccount account)
static String
getFullName(BungeeChatAccount account)
static String
getPrefix(BungeeChatAccount account)
static String
getSuffix(BungeeChatAccount account)
static BungeeChatHook
removeHook(String name)
-
-
-
Field Detail
-
DEFAULT_PREFIX_PRIORITY
public static final int DEFAULT_PREFIX_PRIORITY
- See Also:
- Constant Field Values
-
PERMISSION_PLUGIN_PREFIX_PRIORITY
public static final int PERMISSION_PLUGIN_PREFIX_PRIORITY
- See Also:
- Constant Field Values
-
ACCOUNT_PREFIX_PRIORITY
public static final int ACCOUNT_PREFIX_PRIORITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
addHook
public static void addHook(String name, BungeeChatHook hook)
-
removeHook
public static BungeeChatHook removeHook(String name)
-
getPrefix
public static String getPrefix(BungeeChatAccount account)
-
getSuffix
public static String getSuffix(BungeeChatAccount account)
-
getFullName
public static String getFullName(BungeeChatAccount account)
-
getFullDisplayName
public static String getFullDisplayName(BungeeChatAccount account)
-
-