Package dev.hypera.chameleon.user
Interface ServerUser
-
- All Superinterfaces:
net.kyori.adventure.audience.Audience,ChatUser,net.kyori.adventure.identity.Identified,MetadataHolder,PermissionHolder,net.kyori.adventure.pointer.Pointered,User
@NonExtendable public interface ServerUser extends User
Represents a connected Minecraft player on a server.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull GameModegetGameMode()Get the current game mode of this user.voidsetGameMode(@NotNull GameMode gameMode)Change the game mode of this user.-
Methods inherited from interface net.kyori.adventure.audience.Audience
clearTitle, deleteMessage, deleteMessage, filterAudience, forEachAudience, hideBossBar, openBook, openBook, playSound, playSound, playSound, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, sendTitlePart, showBossBar, showTitle, stopSound, stopSound
-
Methods inherited from interface dev.hypera.chameleon.user.ChatUser
getName, hasInteractiveChat
-
Methods inherited from interface dev.hypera.chameleon.meta.MetadataHolder
getMetadata, removeMetadata, setDynamicMetadata, setMetadata
-
Methods inherited from interface dev.hypera.chameleon.user.PermissionHolder
hasPermission
-
Methods inherited from interface net.kyori.adventure.pointer.Pointered
get, getOrDefault, getOrDefaultFrom, pointers
-
Methods inherited from interface dev.hypera.chameleon.user.User
disconnect, getAddress, getId, getLatency, identity, sendData
-
-