Package dev.aura.bungeechat.api.account
Class ConsoleAccount
- java.lang.Object
-
- dev.aura.bungeechat.api.account.ConsoleAccount
-
- All Implemented Interfaces:
BungeeChatAccount
public class ConsoleAccount extends Object implements BungeeChatAccount
-
-
Field Summary
-
Fields inherited from interface dev.aura.bungeechat.api.account.BungeeChatAccount
unknownServer
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedConsoleAccount()
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface dev.aura.bungeechat.api.account.BungeeChatAccount
addIgnore, getDisplayName, hasIgnored, isMuted, muteFor, mutePermanently, removeIgnore, setMutedUntil, toggleLocalSpy, toggleMessenger, toggleSocialSpy, toggleVanished, unmute
-
-
-
-
Method Detail
-
getUniqueId
public UUID getUniqueId()
- Specified by:
getUniqueIdin interfaceBungeeChatAccount
-
getAccountType
public AccountType getAccountType()
- Specified by:
getAccountTypein interfaceBungeeChatAccount
-
getChannelType
public ChannelType getChannelType()
- Specified by:
getChannelTypein interfaceBungeeChatAccount
-
getDefaultChannelType
public ChannelType getDefaultChannelType()
Description copied from interface:BungeeChatAccountReturns the global default channel type for all players!!- Specified by:
getDefaultChannelTypein interfaceBungeeChatAccount- Returns:
- default channel type
-
isVanished
public boolean isVanished()
- Specified by:
isVanishedin interfaceBungeeChatAccount
-
hasMessengerEnabled
public boolean hasMessengerEnabled()
- Specified by:
hasMessengerEnabledin interfaceBungeeChatAccount
-
hasSocialSpyEnabled
public boolean hasSocialSpyEnabled()
- Specified by:
hasSocialSpyEnabledin interfaceBungeeChatAccount
-
hasLocalSpyEnabled
public boolean hasLocalSpyEnabled()
- Specified by:
hasLocalSpyEnabledin interfaceBungeeChatAccount
-
getIgnored
public BlockingQueue<UUID> getIgnored()
- Specified by:
getIgnoredin interfaceBungeeChatAccount
-
hasIgnored
public boolean hasIgnored(UUID uuid)
- Specified by:
hasIgnoredin interfaceBungeeChatAccount
-
getName
public String getName()
- Specified by:
getNamein interfaceBungeeChatAccount
-
getPing
public int getPing()
- Specified by:
getPingin interfaceBungeeChatAccount
-
getServerName
public String getServerName()
- Specified by:
getServerNamein interfaceBungeeChatAccount
-
getServerIP
public String getServerIP()
- Specified by:
getServerIPin interfaceBungeeChatAccount
-
getMutedUntil
public Timestamp getMutedUntil()
- Specified by:
getMutedUntilin interfaceBungeeChatAccount
-
setChannelType
public void setChannelType(ChannelType channelType)
- Specified by:
setChannelTypein interfaceBungeeChatAccount
-
setDefaultChannelType
public void setDefaultChannelType(ChannelType channelType)
Description copied from interface:BungeeChatAccountSets the global default channel type for all players!!- Specified by:
setDefaultChannelTypein interfaceBungeeChatAccount- Parameters:
channelType- new default channel type
-
setVanished
public void setVanished(boolean vanished)
- Specified by:
setVanishedin interfaceBungeeChatAccount
-
setMessenger
public void setMessenger(boolean messenger)
- Specified by:
setMessengerin interfaceBungeeChatAccount
-
setSocialSpy
public void setSocialSpy(boolean socialSpy)
- Specified by:
setSocialSpyin interfaceBungeeChatAccount
-
setLocalSpy
public void setLocalSpy(boolean localSpy)
- Specified by:
setLocalSpyin interfaceBungeeChatAccount
-
addIgnore
public void addIgnore(UUID uuid)
- Specified by:
addIgnorein interfaceBungeeChatAccount
-
removeIgnore
public void removeIgnore(UUID uuid)
- Specified by:
removeIgnorein interfaceBungeeChatAccount
-
setMutedUntil
public void setMutedUntil(Timestamp mutedUntil)
- Specified by:
setMutedUntilin interfaceBungeeChatAccount
-
getStoredPrefix
public Optional<String> getStoredPrefix()
- Specified by:
getStoredPrefixin interfaceBungeeChatAccount
-
setStoredPrefix
public void setStoredPrefix(Optional<String> storedPrefix)
- Specified by:
setStoredPrefixin interfaceBungeeChatAccount
-
getStoredSuffix
public Optional<String> getStoredSuffix()
- Specified by:
getStoredSuffixin interfaceBungeeChatAccount
-
setStoredSuffix
public void setStoredSuffix(Optional<String> storedSuffix)
- Specified by:
setStoredSuffixin interfaceBungeeChatAccount
-
-