Class FancyClickEvent
- java.lang.Object
-
- me.bimmr.bimmcore.messages.fancymessage.FancyClickEvent
-
public abstract class FancyClickEvent extends java.lang.Object
A FancyMessage's ClickEvent
-
-
Constructor Summary
Constructors Constructor Description FancyClickEvent()
Default Constructor By default will self delete after 5 minutes from first message.FancyClickEvent(boolean removeAfter5Min)
Constructor to remove the "removeAfter5Min"
-
Method Summary
Modifier and Type Method Description org.bukkit.entity.Player
getPlayer()
java.util.UUID
getUUID()
abstract void
onClick()
Abstract CallBackvoid
setPlayer(org.bukkit.entity.Player player)
Set the playervoid
startRemoval()
Remove the Event
-
-
-
Constructor Detail
-
FancyClickEvent
public FancyClickEvent()
Default Constructor By default will self delete after 5 minutes from first message. Resets if clicked again within the time
-
FancyClickEvent
public FancyClickEvent(boolean removeAfter5Min)
Constructor to remove the "removeAfter5Min"- Parameters:
removeAfter5Min
- If the FancyClick is auto removed after 5 minutes
-
-
Method Detail
-
getPlayer
public org.bukkit.entity.Player getPlayer()
- Returns:
- Get the Player
-
setPlayer
public void setPlayer(org.bukkit.entity.Player player)
Set the player- Parameters:
player
- The Player
-
getUUID
public java.util.UUID getUUID()
- Returns:
- Get the UUID
-
onClick
public abstract void onClick()
Abstract CallBack
-
startRemoval
public void startRemoval()
Remove the Event
-
-