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

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

    Modifier and Type
    Method
    Description
    @NotNull net.kyori.adventure.audience.Audience
     
    me.lucyy.squirtgun.platform.Gamemode
     
     
     
    boolean
    hasPermission​(String permission)
     
    boolean
     
    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 Details

    • BungeePlayer

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

    • getUuid

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

      public 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(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