class NotificationsListener
extends java.lang.Object
implements org.bukkit.event.Listener
| Modifier and Type | Field and Description |
|---|---|
private Notifications |
plugin
The instance of the Notifications plugin
|
| Constructor and Description |
|---|
NotificationsListener(Notifications plugin)
Constructs a NotificationsListener
|
| Modifier and Type | Method and Description |
|---|---|
void |
onPlayerJoin(org.bukkit.event.player.PlayerJoinEvent event)
Called when a player joins
|
void |
onPlayerQuit(org.bukkit.event.player.PlayerQuitEvent event)
Called when a player joins
|
private Notifications plugin
NotificationsListener(Notifications plugin)
plugin - The instance of the Notifications pluginpublic void onPlayerJoin(org.bukkit.event.player.PlayerJoinEvent event)
event - The eventpublic void onPlayerQuit(org.bukkit.event.player.PlayerQuitEvent event)
event - The event