Interface NicknameMessageContext
- All Superinterfaces:
MessageContext
A change to a player's nickname.
Builds on
MessageContext.-
Nested Class Summary
Nested classes/interfaces inherited from interface MessageContext
MessageContext.CacheKey -
Method Summary
Modifier and TypeMethodDescriptionstatic net.flectone.pulse.module.command.nickname.model.NicknameMessageContextImpl.NicknameMessageContextImplBuilderbuilder()Starts building this context.@NonNull Stringnickname()The new nickname.withNickname(@NonNull String nickname) Returns a copy carrying a different value.Methods inherited from interface MessageContext
addFlag, addFlags, addTagResolver, addTagResolvers, base, createCacheKey, flags, isFlag, message, receiver, sender, tagResolver, toBuilder, uuid, withBase, withFlags, withMessage, withReceiver, withSender, withTagResolver, withUuid
-
Method Details
-
builder
static net.flectone.pulse.module.command.nickname.model.NicknameMessageContextImpl.NicknameMessageContextImplBuilder builder()Starts building this context.- Returns:
- a new builder
-
nickname
-
withNickname
Returns a copy carrying a different value.- Parameters:
nickname- the new nickname- Returns:
- the copy
-