Package net.essentialsx.discord
Class DiscordSettings
java.lang.Object
net.essentialsx.discord.DiscordSettings
- All Implemented Interfaces:
com.earth2me.essentials.IConf
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetActionFormat
(Player player) getAdvancementFormat
(Player player) getAfkFormat
(Player player) long
getChannelId
(String key) int
getCommandAdminSnowflakes
(String command) getCommandSnowflakes
(String command) org.apache.logging.log4j.Level
int
getDeathFormat
(Player player) getFirstJoinFormat
(Player player) long
getJoinFormat
(Player player) getKeysFromChannelId
(long channelId) getMcToDiscordFormat
(Player player) getMcToDiscordFormat
(Player player, net.essentialsx.api.v2.ChatType chatType) getMcToDiscordNameFormat
(Player player) getMessageChannel
(String key) long
getQuitFormat
(Player player) getRoleAlias
(net.dv8tion.jda.api.entities.Role role) net.dv8tion.jda.api.OnlineStatus
net.dv8tion.jda.api.entities.Activity
getUnAfkFormat
(Player player) boolean
boolean
boolean
isCommandEnabled
(String command) boolean
isCommandEphemeral
(String command) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
-
Constructor Details
-
DiscordSettings
-
-
Method Details
-
getBotToken
-
getGuildId
public long getGuildId() -
getDiscordUrl
-
getPrimaryChannelId
public long getPrimaryChannelId() -
getChannelId
-
getChannelNames
-
getKeysFromChannelId
-
getMessageChannel
-
isShowDiscordAttachments
public boolean isShowDiscordAttachments() -
getDiscordRolesBlacklist
-
getInvertDiscordRoleBlacklist
-
getRoleAlias
-
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
-
isShowWebhookMessages
public boolean isShowWebhookMessages() -
isShowBotMessages
public boolean isShowBotMessages() -
isShowAllChat
public boolean isShowAllChat() -
getRelayToConsoleList
-
getConsoleChannelDef
-
getConsoleFormat
-
getConsoleWebhookName
-
isConsoleCommandRelay
public boolean isConsoleCommandRelay() -
isConsoleBotCommandRelay
public boolean isConsoleBotCommandRelay() -
getConsoleLogLevel
public org.apache.logging.log4j.Level getConsoleLogLevel() -
getConsoleFilters
-
getConsoleSkipDelay
public int getConsoleSkipDelay() -
isShowAvatar
public boolean isShowAvatar() -
isShowName
public boolean isShowName() -
isShowDisplayName
public boolean isShowDisplayName() -
getAvatarURL
-
isVanishFakeJoinLeave
public boolean isVanishFakeJoinLeave() -
isVanishHideMessages
public boolean isVanishHideMessages() -
isCommandEnabled
-
isCommandEphemeral
-
getCommandSnowflakes
-
getCommandAdminSnowflakes
-
getDiscordToMcFormat
-
getMcToDiscordFormat
-
getMcToDiscordFormat
-
getLegacyNameFormat
-
getMcToDiscordNameFormat
-
getTempMuteFormat
-
getTempMuteReasonFormat
-
getPermMuteFormat
-
getPermMuteReasonFormat
-
getUnmuteFormat
-
getJoinFormat
-
getFirstJoinFormat
-
getQuitFormat
-
getDeathFormat
-
getAfkFormat
-
getUnAfkFormat
-
getAdvancementFormat
-
getActionFormat
-
getStartMessage
-
getStopMessage
-
getKickFormat
-
reloadConfig
public void reloadConfig()- Specified by:
reloadConfig
in interfacecom.earth2me.essentials.IConf
-