Class 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 java.lang.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

      Constructors 
      Constructor Description
      BungeePlayer​(net.md_5.bungee.api.connection.ProxiedPlayer parent, net.kyori.adventure.audience.Audience audience)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull net.kyori.adventure.audience.Audience audience()  
      me.lucyy.squirtgun.platform.Gamemode getGamemode()  
      java.lang.String getUsername()  
      java.util.UUID getUuid()  
      boolean hasPermission​(java.lang.String permission)  
      boolean isOnline()  
      void setGamemode​(me.lucyy.squirtgun.platform.Gamemode mode)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface net.kyori.adventure.audience.Audience

        openBook, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, stopSound
      • Methods 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, stopSound
      • Methods inherited from interface net.kyori.adventure.pointer.Pointered

        pointers
    • Constructor Detail

      • BungeePlayer

        public BungeePlayer​(net.md_5.bungee.api.connection.ProxiedPlayer parent,
                            net.kyori.adventure.audience.Audience audience)
    • Method Detail

      • getUuid

        public java.util.UUID getUuid()
        Specified by:
        getUuid in interface me.lucyy.squirtgun.platform.audience.SquirtgunPlayer
      • getUsername

        public java.lang.String getUsername()
        Specified by:
        getUsername in interface me.lucyy.squirtgun.platform.audience.SquirtgunPlayer
      • isOnline

        public boolean isOnline()
        Specified by:
        isOnline in interface me.lucyy.squirtgun.platform.audience.SquirtgunPlayer
      • hasPermission

        public boolean hasPermission​(java.lang.String permission)
        Specified by:
        hasPermission in interface me.lucyy.squirtgun.platform.audience.PermissionHolder
        Specified by:
        hasPermission in interface me.lucyy.squirtgun.platform.audience.SquirtgunPlayer
      • getGamemode

        public me.lucyy.squirtgun.platform.Gamemode getGamemode()
        Specified by:
        getGamemode in interface me.lucyy.squirtgun.platform.audience.SquirtgunPlayer
      • setGamemode

        public void setGamemode​(me.lucyy.squirtgun.platform.Gamemode mode)
        Specified by:
        setGamemode in interface me.lucyy.squirtgun.platform.audience.SquirtgunPlayer
      • audience

        @NotNull
        public @NotNull net.kyori.adventure.audience.Audience audience()
        Specified by:
        audience in interface net.kyori.adventure.audience.ForwardingAudience.Single