public class EventAPI
extends java.lang.Object
| Constructor and Description |
|---|
EventAPI() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
triggerEvent(Plugin plugin,
Player player,
java.lang.String action,
boolean enable)
Trigger an event on another plugin
|
public static boolean triggerEvent(Plugin plugin, Player player, java.lang.String action, boolean enable)
plugin - Plugin instance (FeatherBoard, AnimatedNames,...) not your pluginplayer - Player to trigger the action foraction - Action to trigger(scoreboard, group ,...)enable - Enable or disable event?