Class BungeecordPlayer
java.lang.Object
com.gamersafer.minecraft.auth.bungeecord.abstraction.BungeecordSender
com.gamersafer.minecraft.auth.bungeecord.abstraction.BungeecordPlayer
- All Implemented Interfaces:
- com.gamersafer.minecraft.auth.common.abstraction.IPlayer,- com.gamersafer.minecraft.auth.common.abstraction.ISender
public class BungeecordPlayer
extends BungeecordSender
implements com.gamersafer.minecraft.auth.common.abstraction.IPlayer
- 
Constructor SummaryConstructorsConstructorDescriptionBungeecordPlayer(net.md_5.bungee.api.ProxyServer server, GSAuthBungeecord plugin, com.gamersafer.minecraft.auth.common.configuration.ProxyConfiguration config, com.gamersafer.minecraft.auth.common.ephemeral.EphemeralUserReferenceManager ephemeralReferenceManager, GSAuthListener listener, net.kyori.adventure.platform.bungeecord.BungeeAudiences adventure, net.md_5.bungee.api.connection.ProxiedPlayer player) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidexecuteCommands(List<String> commands) net.md_5.bungee.api.connection.ProxiedPlayer@Nullable com.gamersafer.minecraft.auth.common.version.ServerVersionbooleanhasPermission(String perm) com.gamersafer.minecraft.auth.common.shared.model.impl.JavaUserIdentityidentity()booleanisOnline()voidkick(net.kyori.adventure.text.Component reason) voidopenBook(net.kyori.adventure.inventory.Book book) booleansame(com.gamersafer.minecraft.auth.common.abstraction.IPlayer other) voidsendActionBar(String message) voidsendActionBar(net.kyori.adventure.text.Component message) sendBossbar(String message, com.gamersafer.minecraft.auth.common.configuration.MessageConfiguration.BossBarStyle style, com.gamersafer.minecraft.auth.common.configuration.MessageConfiguration.BossBarColor color, int time) voidsendMessage(String message) voidsendMessage(net.kyori.adventure.text.Component message) Methods inherited from class com.gamersafer.minecraft.auth.bungeecord.abstraction.BungeecordSendergetCommandSenderMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gamersafer.minecraft.auth.common.abstraction.IPlayersend, send
- 
Constructor Details- 
BungeecordPlayerpublic BungeecordPlayer(net.md_5.bungee.api.ProxyServer server, GSAuthBungeecord plugin, com.gamersafer.minecraft.auth.common.configuration.ProxyConfiguration config, com.gamersafer.minecraft.auth.common.ephemeral.EphemeralUserReferenceManager ephemeralReferenceManager, GSAuthListener listener, net.kyori.adventure.platform.bungeecord.BungeeAudiences adventure, net.md_5.bungee.api.connection.ProxiedPlayer player) 
 
- 
- 
Method Details- 
getPlayerpublic net.md_5.bungee.api.connection.ProxiedPlayer getPlayer()
- 
hasPermission- Specified by:
- hasPermissionin interface- com.gamersafer.minecraft.auth.common.abstraction.ISender
 
- 
sendActionBar- Specified by:
- sendActionBarin interface- com.gamersafer.minecraft.auth.common.abstraction.IPlayer
 
- 
sendActionBarpublic void sendActionBar(net.kyori.adventure.text.Component message) - Specified by:
- sendActionBarin interface- com.gamersafer.minecraft.auth.common.abstraction.IPlayer
 
- 
sendBossbarpublic CompletableFuture<Void> sendBossbar(String message, com.gamersafer.minecraft.auth.common.configuration.MessageConfiguration.BossBarStyle style, com.gamersafer.minecraft.auth.common.configuration.MessageConfiguration.BossBarColor color, int time) - Specified by:
- sendBossbarin interface- com.gamersafer.minecraft.auth.common.abstraction.IPlayer
 
- 
sendMessage- Specified by:
- sendMessagein interface- com.gamersafer.minecraft.auth.common.abstraction.IPlayer
- Specified by:
- sendMessagein interface- com.gamersafer.minecraft.auth.common.abstraction.ISender
 
- 
sendMessagepublic void sendMessage(net.kyori.adventure.text.Component message) - Specified by:
- sendMessagein interface- com.gamersafer.minecraft.auth.common.abstraction.ISender
 
- 
sendTitle- Specified by:
- sendTitlein interface- com.gamersafer.minecraft.auth.common.abstraction.IPlayer
 
- 
openBookpublic void openBook(net.kyori.adventure.inventory.Book book) - Specified by:
- openBookin interface- com.gamersafer.minecraft.auth.common.abstraction.IPlayer
 
- 
executeCommands- Specified by:
- executeCommandsin interface- com.gamersafer.minecraft.auth.common.abstraction.IPlayer
 
- 
identitypublic com.gamersafer.minecraft.auth.common.shared.model.impl.JavaUserIdentity identity()- Specified by:
- identityin interface- com.gamersafer.minecraft.auth.common.abstraction.IPlayer
 
- 
kickpublic void kick(net.kyori.adventure.text.Component reason) - Specified by:
- kickin interface- com.gamersafer.minecraft.auth.common.abstraction.IPlayer
 
- 
samepublic boolean same(com.gamersafer.minecraft.auth.common.abstraction.IPlayer other) - Specified by:
- samein interface- com.gamersafer.minecraft.auth.common.abstraction.IPlayer
 
- 
getLocale- Specified by:
- getLocalein interface- com.gamersafer.minecraft.auth.common.abstraction.IPlayer
 
- 
getServerName- Specified by:
- getServerNamein interface- com.gamersafer.minecraft.auth.common.abstraction.IPlayer
 
- 
isOnlinepublic boolean isOnline()- Specified by:
- isOnlinein interface- com.gamersafer.minecraft.auth.common.abstraction.IPlayer
 
- 
getServerVersionpublic @Nullable com.gamersafer.minecraft.auth.common.version.ServerVersion getServerVersion()- Specified by:
- getServerVersionin interface- com.gamersafer.minecraft.auth.common.abstraction.IPlayer
 
 
-