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 protected
ConsoleAccount()
-
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:
getUniqueId
in interfaceBungeeChatAccount
-
getAccountType
public AccountType getAccountType()
- Specified by:
getAccountType
in interfaceBungeeChatAccount
-
getChannelType
public ChannelType getChannelType()
- Specified by:
getChannelType
in interfaceBungeeChatAccount
-
getDefaultChannelType
public ChannelType getDefaultChannelType()
Description copied from interface:BungeeChatAccount
Returns the global default channel type for all players!!- Specified by:
getDefaultChannelType
in interfaceBungeeChatAccount
- Returns:
- default channel type
-
isVanished
public boolean isVanished()
- Specified by:
isVanished
in interfaceBungeeChatAccount
-
hasMessengerEnabled
public boolean hasMessengerEnabled()
- Specified by:
hasMessengerEnabled
in interfaceBungeeChatAccount
-
hasSocialSpyEnabled
public boolean hasSocialSpyEnabled()
- Specified by:
hasSocialSpyEnabled
in interfaceBungeeChatAccount
-
hasLocalSpyEnabled
public boolean hasLocalSpyEnabled()
- Specified by:
hasLocalSpyEnabled
in interfaceBungeeChatAccount
-
getIgnored
public BlockingQueue<UUID> getIgnored()
- Specified by:
getIgnored
in interfaceBungeeChatAccount
-
hasIgnored
public boolean hasIgnored(UUID uuid)
- Specified by:
hasIgnored
in interfaceBungeeChatAccount
-
getName
public String getName()
- Specified by:
getName
in interfaceBungeeChatAccount
-
getPing
public int getPing()
- Specified by:
getPing
in interfaceBungeeChatAccount
-
getServerName
public String getServerName()
- Specified by:
getServerName
in interfaceBungeeChatAccount
-
getServerIP
public String getServerIP()
- Specified by:
getServerIP
in interfaceBungeeChatAccount
-
getMutedUntil
public Timestamp getMutedUntil()
- Specified by:
getMutedUntil
in interfaceBungeeChatAccount
-
setChannelType
public void setChannelType(ChannelType channelType)
- Specified by:
setChannelType
in interfaceBungeeChatAccount
-
setDefaultChannelType
public void setDefaultChannelType(ChannelType channelType)
Description copied from interface:BungeeChatAccount
Sets the global default channel type for all players!!- Specified by:
setDefaultChannelType
in interfaceBungeeChatAccount
- Parameters:
channelType
- new default channel type
-
setVanished
public void setVanished(boolean vanished)
- Specified by:
setVanished
in interfaceBungeeChatAccount
-
setMessenger
public void setMessenger(boolean messenger)
- Specified by:
setMessenger
in interfaceBungeeChatAccount
-
setSocialSpy
public void setSocialSpy(boolean socialSpy)
- Specified by:
setSocialSpy
in interfaceBungeeChatAccount
-
setLocalSpy
public void setLocalSpy(boolean localSpy)
- Specified by:
setLocalSpy
in interfaceBungeeChatAccount
-
addIgnore
public void addIgnore(UUID uuid)
- Specified by:
addIgnore
in interfaceBungeeChatAccount
-
removeIgnore
public void removeIgnore(UUID uuid)
- Specified by:
removeIgnore
in interfaceBungeeChatAccount
-
setMutedUntil
public void setMutedUntil(Timestamp mutedUntil)
- Specified by:
setMutedUntil
in interfaceBungeeChatAccount
-
getStoredPrefix
public Optional<String> getStoredPrefix()
- Specified by:
getStoredPrefix
in interfaceBungeeChatAccount
-
setStoredPrefix
public void setStoredPrefix(Optional<String> storedPrefix)
- Specified by:
setStoredPrefix
in interfaceBungeeChatAccount
-
getStoredSuffix
public Optional<String> getStoredSuffix()
- Specified by:
getStoredSuffix
in interfaceBungeeChatAccount
-
setStoredSuffix
public void setStoredSuffix(Optional<String> storedSuffix)
- Specified by:
setStoredSuffix
in interfaceBungeeChatAccount
-
-