Skip to content

PlayerChatEvent

Package: com.hypixel.hytale.server.core.event.events.player

Type: class

Implements: IAsyncEvent, ICancellable

Constructors

java
public PlayerChatEvent(@Nonnull PlayerRef sender, @Nonnull List targets, @Nonnull String content)

Static Fields

NameType
DEFAULT_FORMATTERFormatter

Fields

NameType
senderPlayerRef
targetsList
contentString
formatterFormatter
cancelledboolean

Methods

MethodReturns
getSender()PlayerRef
setSender(@Nonnull PlayerRef sender)void
getTargets()List
setTargets(@Nonnull List targets)void
getContent()String
setContent(@Nonnull String content)void
getFormatter()Formatter
setFormatter(@Nonnull Formatter formatter)void
isCancelled()boolean
setCancelled(boolean cancelled)void
toString()String
format(@Nonnull PlayerRef var1, @Nonnull String var2)Message

Unofficial documentation · Any questions? Found a mistake? Have something you want documented? Join the Discord server at the top and let us know in #hytale!