public class chatJoinLeaveClicks
extends java.lang.Object
implements org.bukkit.event.Listener
| Constructor and Description |
|---|
chatJoinLeaveClicks(org.bukkit.plugin.Plugin aa)
Constructor, stores instance of AdminAnything for further use.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addJoinMessage(org.bukkit.event.player.PlayerJoinEvent e)
Adds clickable links after join message to everyone with the right permission.
|
void |
addLeaveMessage(org.bukkit.event.player.PlayerQuitEvent e)
Adds clickable pardon links after leave message to everyone with the right permission.
|
public chatJoinLeaveClicks(org.bukkit.plugin.Plugin aa)
aa - Instance of AdminAnything.public void addJoinMessage(org.bukkit.event.player.PlayerJoinEvent e)
e - The actual join event to work with.public void addLeaveMessage(org.bukkit.event.player.PlayerQuitEvent e)
e - The actual event to work with.