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 intACCOUNT_PREFIX_PRIORITYstatic intDEFAULT_PREFIX_PRIORITYstatic intPERMISSION_PLUGIN_PREFIX_PRIORITY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddHook(String name, BungeeChatHook hook)static StringgetFullDisplayName(BungeeChatAccount account)static StringgetFullName(BungeeChatAccount account)static StringgetPrefix(BungeeChatAccount account)static StringgetSuffix(BungeeChatAccount account)static BungeeChatHookremoveHook(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)
-
-