Class BungeeConsoleWrapper

java.lang.Object
me.lucyy.squirtgun.bungee.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 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

    Modifier and Type
    Method
    Description
    @NotNull net.kyori.adventure.audience.Audience
     
    boolean
    hasPermission​(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 Details

    • BungeeConsoleWrapper

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

    • hasPermission

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