Class DiscordSettings

java.lang.Object
net.essentialsx.discord.DiscordSettings
All Implemented Interfaces:
com.earth2me.essentials.IConf

public class DiscordSettings extends Object implements com.earth2me.essentials.IConf
  • Constructor Details

  • Method Details

    • getBotToken

      public String getBotToken()
    • getGuildId

      public long getGuildId()
    • getDiscordUrl

      public String getDiscordUrl()
    • getPrimaryChannelId

      public long getPrimaryChannelId()
    • getChannelId

      public long getChannelId(String key)
    • getChannelNames

      public List<String> getChannelNames()
    • getKeysFromChannelId

      public List<String> getKeysFromChannelId(long channelId)
    • getMessageChannel

      public String getMessageChannel(String key)
    • isShowDiscordAttachments

      public boolean isShowDiscordAttachments()
    • getDiscordRolesBlacklist

      public List<String> getDiscordRolesBlacklist()
    • getInvertDiscordRoleBlacklist

      public Boolean getInvertDiscordRoleBlacklist()
    • getRoleAlias

      public String getRoleAlias(net.dv8tion.jda.api.entities.Role role)
    • getPermittedFormattingRoles

      public List<String> getPermittedFormattingRoles()
    • getStatus

      public net.dv8tion.jda.api.OnlineStatus getStatus()
    • getStatusActivity

      public net.dv8tion.jda.api.entities.Activity getStatusActivity()
    • isAlwaysReceivePrimary

      public boolean isAlwaysReceivePrimary()
    • isUseEssentialsEvents

      public boolean isUseEssentialsEvents()
    • getChatDiscordMaxLength

      public int getChatDiscordMaxLength()
    • isChatFilterNewlines

      public boolean isChatFilterNewlines()
    • getDiscordFilters

      public List<Pattern> getDiscordFilters()
    • isShowWebhookMessages

      public boolean isShowWebhookMessages()
    • isShowBotMessages

      public boolean isShowBotMessages()
    • isShowAllChat

      public boolean isShowAllChat()
    • getRelayToConsoleList

      public List<String> getRelayToConsoleList()
    • getConsoleChannelDef

      public String getConsoleChannelDef()
    • getConsoleFormat

      public MessageFormat getConsoleFormat()
    • getConsoleWebhookName

      public String getConsoleWebhookName()
    • isConsoleCommandRelay

      public boolean isConsoleCommandRelay()
    • isConsoleBotCommandRelay

      public boolean isConsoleBotCommandRelay()
    • getConsoleLogLevel

      public org.apache.logging.log4j.Level getConsoleLogLevel()
    • getConsoleFilters

      public List<Pattern> getConsoleFilters()
    • getConsoleSkipDelay

      public int getConsoleSkipDelay()
    • isShowAvatar

      public boolean isShowAvatar()
    • isShowName

      public boolean isShowName()
    • isShowDisplayName

      public boolean isShowDisplayName()
    • getAvatarURL

      public String getAvatarURL()
    • isVanishFakeJoinLeave

      public boolean isVanishFakeJoinLeave()
    • isVanishHideMessages

      public boolean isVanishHideMessages()
    • isCommandEnabled

      public boolean isCommandEnabled(String command)
    • isCommandEphemeral

      public boolean isCommandEphemeral(String command)
    • getCommandSnowflakes

      public List<String> getCommandSnowflakes(String command)
    • getCommandAdminSnowflakes

      public List<String> getCommandAdminSnowflakes(String command)
    • getDiscordToMcFormat

      public MessageFormat getDiscordToMcFormat()
    • getMcToDiscordFormat

      public MessageFormat getMcToDiscordFormat(Player player)
    • getMcToDiscordFormat

      public MessageFormat getMcToDiscordFormat(Player player, net.essentialsx.api.v2.ChatType chatType)
    • getLegacyNameFormat

      public String getLegacyNameFormat()
    • getMcToDiscordNameFormat

      public MessageFormat getMcToDiscordNameFormat(Player player)
    • getTempMuteFormat

      public MessageFormat getTempMuteFormat()
    • getTempMuteReasonFormat

      public MessageFormat getTempMuteReasonFormat()
    • getPermMuteFormat

      public MessageFormat getPermMuteFormat()
    • getPermMuteReasonFormat

      public MessageFormat getPermMuteReasonFormat()
    • getUnmuteFormat

      public MessageFormat getUnmuteFormat()
    • getJoinFormat

      public MessageFormat getJoinFormat(Player player)
    • getFirstJoinFormat

      public MessageFormat getFirstJoinFormat(Player player)
    • getQuitFormat

      public MessageFormat getQuitFormat(Player player)
    • getDeathFormat

      public MessageFormat getDeathFormat(Player player)
    • getAfkFormat

      public MessageFormat getAfkFormat(Player player)
    • getUnAfkFormat

      public MessageFormat getUnAfkFormat(Player player)
    • getAdvancementFormat

      public MessageFormat getAdvancementFormat(Player player)
    • getActionFormat

      public MessageFormat getActionFormat(Player player)
    • getStartMessage

      public String getStartMessage()
    • getStopMessage

      public String getStopMessage()
    • getKickFormat

      public MessageFormat getKickFormat()
    • reloadConfig

      public void reloadConfig()
      Specified by:
      reloadConfig in interface com.earth2me.essentials.IConf