Package me.lucyy.squirtgun.bungee
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 java.lang.Object implements me.lucyy.squirtgun.platform.audience.SquirtgunUser, net.kyori.adventure.audience.ForwardingAudience.SingleCommandSender wrapper for the console.
-
-
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.Audienceaudience()booleanhasPermission(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
-
-
-
-
Method Detail
-
hasPermission
public boolean hasPermission(java.lang.String permission)
- Specified by:
hasPermissionin interfaceme.lucyy.squirtgun.platform.audience.PermissionHolder
-
audience
@NotNull public @NotNull net.kyori.adventure.audience.Audience audience()
- Specified by:
audiencein interfacenet.kyori.adventure.audience.ForwardingAudience.Single
-
-