Package dev.aura.bungeechat.account
Class Account
- java.lang.Object
-
- dev.aura.bungeechat.account.Account
-
- All Implemented Interfaces:
dev.aura.bungeechat.api.account.BungeeChatAccount
public class Account extends Object implements dev.aura.bungeechat.api.account.BungeeChatAccount
-
-
Field Summary
Fields Modifier and Type Field Description protected static dev.aura.bungeechat.api.enums.ChannelTypedefaultChannelType
-
Constructor Summary
Constructors Modifier Constructor Description protectedAccount(UUID uuid)protectedAccount(UUID uuid, dev.aura.bungeechat.api.enums.ChannelType channelType, boolean vanished, boolean messenger, boolean socialSpy, boolean localSpy, BlockingQueue<UUID> ignored, Timestamp mutedUntil, Optional<String> storedPrefix, Optional<String> storedSuffix)protectedAccount(ProxiedPlayer player)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddIgnore(UUID uuid)voidaddIgnore(ProxiedPlayer player)protected booleancanEqual(Object other)booleanequals(Object o)dev.aura.bungeechat.api.enums.ChannelTypegetChannelType()dev.aura.bungeechat.api.enums.ChannelTypegetDefaultChannelType()StringgetDisplayName()BlockingQueue<UUID>getIgnored()TimestampgetMutedUntil()StringgetName()intgetPing()ProxiedPlayergetProxiedPlayer()StringgetServerIP()StringgetServerName()Optional<String>getStoredPrefix()Optional<String>getStoredSuffix()UUIDgetUniqueId()inthashCode()booleanhasIgnored(ProxiedPlayer player)booleanhasLocalSpyEnabled()booleanhasMessengerEnabled()booleanhasSocialSpyEnabled()booleanisVanished()voidremoveIgnore(UUID uuid)voidremoveIgnore(ProxiedPlayer player)voidsetChannelType(dev.aura.bungeechat.api.enums.ChannelType channelType)voidsetDefaultChannelType(dev.aura.bungeechat.api.enums.ChannelType channelType)voidsetLocalSpy(boolean localSpy)voidsetMessenger(boolean messenger)voidsetMutedUntil(Timestamp mutedUntil)voidsetSocialSpy(boolean socialSpy)voidsetStoredPrefix(Optional<String> storedPrefix)voidsetStoredSuffix(Optional<String> storedSuffix)voidsetVanished(boolean vanished)static voidstaticSetDefaultChannelType(dev.aura.bungeechat.api.enums.ChannelType channelType)StringtoString()
-
-
-
Constructor Detail
-
Account
protected Account(ProxiedPlayer player)
-
Account
protected Account(UUID uuid)
-
-
Method Detail
-
getUniqueId
public UUID getUniqueId()
- Specified by:
getUniqueIdin interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
getDefaultChannelType
public dev.aura.bungeechat.api.enums.ChannelType getDefaultChannelType()
- Specified by:
getDefaultChannelTypein interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
isVanished
public boolean isVanished()
- Specified by:
isVanishedin interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
hasMessengerEnabled
public boolean hasMessengerEnabled()
- Specified by:
hasMessengerEnabledin interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
hasSocialSpyEnabled
public boolean hasSocialSpyEnabled()
- Specified by:
hasSocialSpyEnabledin interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
hasLocalSpyEnabled
public boolean hasLocalSpyEnabled()
- Specified by:
hasLocalSpyEnabledin interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
getIgnored
public BlockingQueue<UUID> getIgnored()
- Specified by:
getIgnoredin interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
hasIgnored
public boolean hasIgnored(ProxiedPlayer player)
-
addIgnore
public void addIgnore(UUID uuid)
- Specified by:
addIgnorein interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
addIgnore
public void addIgnore(ProxiedPlayer player)
-
removeIgnore
public void removeIgnore(UUID uuid)
- Specified by:
removeIgnorein interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
removeIgnore
public void removeIgnore(ProxiedPlayer player)
-
getName
public String getName()
- Specified by:
getNamein interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
getPing
public int getPing()
- Specified by:
getPingin interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
getServerName
public String getServerName()
- Specified by:
getServerNamein interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
getServerIP
public String getServerIP()
- Specified by:
getServerIPin interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
setDefaultChannelType
public void setDefaultChannelType(dev.aura.bungeechat.api.enums.ChannelType channelType)
- Specified by:
setDefaultChannelTypein interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
staticSetDefaultChannelType
public static void staticSetDefaultChannelType(dev.aura.bungeechat.api.enums.ChannelType channelType)
-
getChannelType
public dev.aura.bungeechat.api.enums.ChannelType getChannelType()
- Specified by:
getChannelTypein interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
getMutedUntil
public Timestamp getMutedUntil()
- Specified by:
getMutedUntilin interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
getStoredPrefix
public Optional<String> getStoredPrefix()
- Specified by:
getStoredPrefixin interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
getStoredSuffix
public Optional<String> getStoredSuffix()
- Specified by:
getStoredSuffixin interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
setChannelType
public void setChannelType(dev.aura.bungeechat.api.enums.ChannelType channelType)
- Specified by:
setChannelTypein interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
setVanished
public void setVanished(boolean vanished)
- Specified by:
setVanishedin interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
setMessenger
public void setMessenger(boolean messenger)
- Specified by:
setMessengerin interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
setSocialSpy
public void setSocialSpy(boolean socialSpy)
- Specified by:
setSocialSpyin interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
setLocalSpy
public void setLocalSpy(boolean localSpy)
- Specified by:
setLocalSpyin interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
setMutedUntil
public void setMutedUntil(Timestamp mutedUntil)
- Specified by:
setMutedUntilin interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
setStoredPrefix
public void setStoredPrefix(Optional<String> storedPrefix)
- Specified by:
setStoredPrefixin interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
setStoredSuffix
public void setStoredSuffix(Optional<String> storedSuffix)
- Specified by:
setStoredSuffixin interfacedev.aura.bungeechat.api.account.BungeeChatAccount
-
canEqual
protected boolean canEqual(Object other)
-
getProxiedPlayer
public ProxiedPlayer getProxiedPlayer()
-
-