Class BungeeConsoleWrapper

  • All Implemented Interfaces:
    me.lucyy.squirtgun.platform.audience.PermissionHolder, 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 BungeeConsoleWrapper
    extends java.lang.Object
    implements me.lucyy.squirtgun.platform.audience.SquirtgunUser, net.kyori.adventure.audience.ForwardingAudience.Single
    CommandSender wrapper for the console.
    • 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
      BungeeConsoleWrapper​(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()  
      boolean hasPermission​(java.lang.String permission)  
      • 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

      • BungeeConsoleWrapper

        public BungeeConsoleWrapper​(net.kyori.adventure.audience.Audience audience)
    • Method Detail

      • hasPermission

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

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