Package | Description |
---|---|
com.codelanx.codelanxlib.econ | |
com.codelanx.codelanxlib.listener |
Modifier and Type | Class and Description |
---|---|
class |
VaultProxyListener
Listens for when Vault registers its
Economy service provider and
replaces it with a VaultProxy |
Modifier and Type | Method and Description |
---|---|
static <S extends SubListener<? extends Plugin>> |
ListenerManager.getListener(Class<S> listener)
Gets a listener by its string name.
|
static <P extends Plugin,S extends SubListener<P>> |
ListenerManager.getRegisteringPlugin(Class<S> listener)
Returns the
Plugin relevant to the passed SubListener
class |
static <T extends SubListener<?>> |
ListenerManager.isRegistered(Class<T> listener)
Returns whether or not a listener is registered under the relevant
listener key
|
static <S extends SubListener<?>> |
ListenerManager.registerListener(S listener)
Registers a listener through Bukkit and
ListenerManager |
static <T extends SubListener<?>> |
ListenerManager.registerListeners(T... listeners)
Calls
ListenerManager.registerListener(SubListener) for every
passed listener. |
Modifier and Type | Method and Description |
---|---|
static <T extends SubListener<?>> |
ListenerManager.registerListeners(T... listeners)
Calls
ListenerManager.registerListener(SubListener) for every
passed listener. |
Modifier and Type | Method and Description |
---|---|
static void |
ListenerManager.unregisterListener(Class<? extends SubListener<?>> listener)
Unregisters a specific
SubListener from both CodelanxLib and
Bukkit |
Copyright © 2017. All rights reserved.