Class SimpleMessageEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
de.simonsator.partyandfriends.api.events.message.SimpleMessageEvent
- All Implemented Interfaces:
net.md_5.bungee.api.plugin.Cancellable
- Direct Known Subclasses:
FriendMessageEvent
,PartyMessageEvent
public abstract class SimpleMessageEvent
extends net.md_5.bungee.api.plugin.Event
implements net.md_5.bungee.api.plugin.Cancellable
-
Constructor Summary
ModifierConstructorDescriptionprotected
SimpleMessageEvent
(OnlinePAFPlayer pSender, String pMessage) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setCancelled
(boolean b) void
setMessage
(String pMessage) Methods inherited from class net.md_5.bungee.api.plugin.Event
postCall
-
Constructor Details
-
SimpleMessageEvent
-
-
Method Details
-
getSender
-
getMessage
-
setMessage
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfacenet.md_5.bungee.api.plugin.Cancellable
-
setCancelled
public void setCancelled(boolean b) - Specified by:
setCancelled
in interfacenet.md_5.bungee.api.plugin.Cancellable
-