Package me.lucyy.squirtgun.bungee
Class BungeePlayer
java.lang.Object
me.lucyy.squirtgun.bungee.BungeePlayer
- All Implemented Interfaces:
me.lucyy.squirtgun.platform.audience.PermissionHolder,me.lucyy.squirtgun.platform.audience.SquirtgunPlayer,me.lucyy.squirtgun.platform.audience.SquirtgunUser,net.kyori.adventure.audience.Audience,net.kyori.adventure.audience.ForwardingAudience,net.kyori.adventure.audience.ForwardingAudience.Single,net.kyori.adventure.pointer.Pointered
public class BungeePlayer
extends Object
implements me.lucyy.squirtgun.platform.audience.SquirtgunPlayer, net.kyori.adventure.audience.ForwardingAudience.Single
SquirtgunPlayer implementation for Bukkit.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.kyori.adventure.audience.ForwardingAudience
net.kyori.adventure.audience.ForwardingAudience.Single -
Constructor Summary
ConstructorsConstructorDescriptionBungeePlayer(net.md_5.bungee.api.connection.ProxiedPlayer parent, net.kyori.adventure.audience.Audience audience) -
Method Summary
Modifier and TypeMethodDescription@NotNull net.kyori.adventure.audience.Audienceaudience()me.lucyy.squirtgun.platform.GamemodegetUuid()booleanhasPermission(String permission)booleanisOnline()voidsetGamemode(me.lucyy.squirtgun.platform.Gamemode mode)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.kyori.adventure.audience.Audience
openBook, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, stopSoundMethods inherited from interface net.kyori.adventure.audience.ForwardingAudience.Single
audiences, clearTitle, get, getOrDefault, getOrDefaultFrom, hideBossBar, openBook, playSound, playSound, playSound, resetTitle, sendActionBar, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, showBossBar, showTitle, stopSoundMethods inherited from interface net.kyori.adventure.pointer.Pointered
pointers
-
Constructor Details
-
BungeePlayer
public BungeePlayer(net.md_5.bungee.api.connection.ProxiedPlayer parent, net.kyori.adventure.audience.Audience audience)
-
-
Method Details
-
getUuid
- Specified by:
getUuidin interfaceme.lucyy.squirtgun.platform.audience.SquirtgunPlayer
-
getUsername
- Specified by:
getUsernamein interfaceme.lucyy.squirtgun.platform.audience.SquirtgunPlayer
-
isOnline
public boolean isOnline()- Specified by:
isOnlinein interfaceme.lucyy.squirtgun.platform.audience.SquirtgunPlayer
-
hasPermission
- Specified by:
hasPermissionin interfaceme.lucyy.squirtgun.platform.audience.PermissionHolder- Specified by:
hasPermissionin interfaceme.lucyy.squirtgun.platform.audience.SquirtgunPlayer
-
getGamemode
public me.lucyy.squirtgun.platform.Gamemode getGamemode()- Specified by:
getGamemodein interfaceme.lucyy.squirtgun.platform.audience.SquirtgunPlayer
-
setGamemode
public void setGamemode(me.lucyy.squirtgun.platform.Gamemode mode)- Specified by:
setGamemodein interfaceme.lucyy.squirtgun.platform.audience.SquirtgunPlayer
-
audience
@NotNull public @NotNull net.kyori.adventure.audience.Audience audience()- Specified by:
audiencein interfacenet.kyori.adventure.audience.ForwardingAudience.Single
-