Class LanguageConfiguration
java.lang.Object
com.gamersafer.minecraft.auth.common.configuration.LanguageConfiguration
- Direct Known Subclasses:
ProxyLanguageConfiguration
,ServerLanguageConfiguration
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCategoryLocalizedName
(Category category) Gets the category name set in the language configuration.Gets all localized names.final void
Load the config from the file specified in the constructor.protected void
loadValues
(org.spongepowered.configurate.CommentedConfigurationNode root) Load values from a Configuration load.
-
Field Details
-
pluginPrefix
-
commandAuthDisabled
-
commandAuthEnabled
-
commandInvalidCategory
-
commandIpPunishmentsDisabled
-
commandNoReason
-
commandNoPermission
-
commandPermBanNoPermission
-
commandPermIpBanNoPermission
-
commandPermMuteNoPermission
-
commandIpBanNoAddress
-
commandConsoleOnly
-
commandPlayerNowBanned
-
commandPlayerNowBannedBroadcast
-
commandPlayerNowTempBanned
-
commandPlayerNowTempBannedBroadcast
-
commandPlayerAlreadyBanned
-
commandPlayerNowIpBanned
-
commandPlayerNowIpBannedBroadcast
-
commandPlayerNowIpTempBanned
-
commandPlayerNowIpTempBannedBroadcast
-
commandPlayerAlreadyIpBanned
-
commandIntegrationNotFound
-
commandIntegrationImported
-
commandKicked
-
commandKickedBroadcast
-
commandNotOnline
-
commandPlayerNotFound
-
commandAlreadyLinked
-
commandLinkingStarted
-
commandNotLinked
-
commandPlayerNowTempMuted
-
commandPlayerNowTempMutedBroadcast
-
commandPlayerNowMutedPermanently
-
commandPlayerNowMutedPermanentlyBroadcast
-
commandReloaded
-
commandPageNumberPositive
-
commandNoReportsServer
-
commandNoReportsPlayer
-
commandNoBansPlayer
-
commandNoWarnsPlayer
-
commandNoKicksPlayer
-
commandNoMutesPlayer
-
commandPlayerNowUnbanned
-
commandPlayerNowUnbannedBroadcast
-
commandPlayerNotBanned
-
commandPlayerNotBannedButIpBanned
-
commandPlayerNowIpUnbanned
-
commandPlayerNowIpUnbannedBroadcast
-
commandPlayerNotIpBanned
-
commandPlayerNotIpBannedButBanned
-
commandPlayerNowUnmuted
-
commandPlayerNowUnmutedBroadcast
-
commandPlayerNotMuted
-
commandPlayerNowWarned
-
commandPlayerNowWarnedBroadcast
-
commandReportHistoryHeader
-
commandReportListHeader
-
commandBanListHeader
-
commandWarnListHeader
-
commandKickListHeader
-
commandMuteListHeader
-
commandInternalError
-
commandCheckNone
-
commandCheckNoDisplayPerm
-
commandCheckHeaderGS
-
commandCheckHeaderIP
-
commandCheckEntry
-
commandCheckEntryAge
-
commandForwardNoPlayers
-
commandForwarded
-
commandGsRoomSent
-
commandGsRoomSentAlreadyLinked
-
logPlayerJoinedFirstTime
-
logPlayerJoinedHasGamersafer
-
logPlayerJoinedDoesNotHaveGamersafer
-
logPlayerLinkSuccessful
-
logPlayerLinkFailed
-
logPlayerLinkError
-
logPlayerUnlinkedSuccessful
-
logPlayerAuthSuccessful
-
logPlayerAuthFailed
-
logPlayerAuthError
-
logPlayerStillNotAuthed
-
logPlayerAddingRequiredGroups
-
logPlayerRemovingRequiredGroups
-
logPlayerAddingNotAuthedGroup
-
logPlayerRemovingNotAuthedGroup
-
logDBTypeNotImplemented
-
logDBFailedToConnect
-
logDBFailedFixup
-
logDBFailedMigration
-
logDBExecutingMigration
-
logDBFixup
-
logIntegrationLoaded
-
logIntegrationShutdownFailed
-
logIntegrationDispatchBanFailed
-
logIntegrationDispatchUnbanFailed
-
logIntegrationDispatchMuteFailed
-
logIntegrationDispatchUnmuteFailed
-
logIntegrationDispatchWarningFailed
-
logIntegrationDispatchKickFailed
-
logIntegrationImportBansFailed
-
logIntegrationImportMutesFailed
-
logIntegrationImportWarningsFailed
-
logIntegrationImportKicksFailed
-
logPermissionUsingPlugin
-
logPermissionNoPluginFound
-
logPermissionOverrideGroupNotFound
-
logPermissionUserGroupsFileFailed
-
logPermissionUserGroupsSaveFailed
-
logPermissionServerNotBlocked
-
logWebhookError
-
logWebhookStarted
-
logWebhookStartFailed
-
logWebhookTLSInit
-
logWebhookTLSFileFailed
-
logWebhookTLSOtherFailed
-
logKeyManagerLoadFailed
-
logKeyManagerImporting
-
logKeyManagerImportFailed
-
logKeyManagerLoadingKeys
-
logPluginInitFailed
-
logPluginShutdown
-
logPluginLoadedStandalone
-
logPluginLoadedWithProxy
-
logCategoryNameMissing
-
logCategoryNameDuplicate
-
logMissingApiKeyOrGuildId
-
logApiConnectionSuccessful
-
logReportsSubmitted
-
logReportsSubmitFailed
-
playerPreferencesAdultChatDisabled
-
playerPreferencesYouthChatDisabled
-
playerPreferencesMinorChatDisabled
-
snipPlayername
-
snipCategory
-
snipReason
-
snipIntegration
-
snipBy
-
categoryToName
-
-
Constructor Details
-
LanguageConfiguration
-
-
Method Details
-
loadConfig
public final void loadConfig()Load the config from the file specified in the constructor. To load additional value override theloadValues
method. -
getCommandReloaded
-
getCommandIpPunishmentsDisabled
-
loadValues
protected void loadValues(org.spongepowered.configurate.CommentedConfigurationNode root) Load values from a Configuration load. Override this method to read extra values.- Parameters:
root
- the root level node of the configuration
-
getPluginPrefix
-
getCommandNoPermission
-
getCommandPermBanNoPermission
-
getCommandPermIpBanNoPermission
-
getCommandPermMuteNoPermission
-
getCommandIpBanNoAddress
-
getCommandConsoleOnly
-
getCommandInvalidCategory
-
getCommandNoReason
-
getCommandAuthDisabled
-
getCommandAuthEnabled
-
getCommandPlayerNowBanned
-
getCommandPlayerNowBannedBroadcast
-
getCommandPlayerNowTempBanned
-
getCommandPlayerNowTempBannedBroadcast
-
getCommandPlayerAlreadyBanned
-
getCommandPlayerNowIpBanned
-
getCommandPlayerNowIpBannedBroadcast
-
getCommandPlayerNowIpTempBanned
-
getCommandPlayerNowIpTempBannedBroadcast
-
getCommandPlayerAlreadyIpBanned
-
getCommandIntegrationNotFound
-
getCommandIntegrationImported
-
getCommandKicked
-
getCommandKickedBroadcast
-
getCommandNotOnline
-
getCommandPlayerNotFound
-
getCommandAlreadyLinked
-
getCommandLinkingStarted
-
getCommandNotLinked
-
getCommandPlayerNowTempMuted
-
getCommandPlayerNowTempMutedBroadcast
-
getCommandPlayerNowMutedPermanently
-
getCommandPlayerNowMutedPermanentlyBroadcast
-
getCommandPageNumberPositive
-
getCommandNoReportsServer
-
getCommandNoReportsPlayer
-
getCommandNoBansPlayer
-
getCommandNoWarnsPlayer
-
getCommandNoKicksPlayer
-
getCommandNoMutesPlayer
-
getCommandPlayerNowUnbanned
-
getCommandPlayerNowUnbannedBroadcast
-
getCommandPlayerNotBanned
-
getCommandPlayerNotBannedButIpBanned
-
getCommandPlayerNowIpUnbanned
-
getCommandPlayerNowIpUnbannedBroadcast
-
getCommandPlayerNotIpBanned
-
getCommandPlayerNotIpBannedButBanned
-
getCommandPlayerNowUnmuted
-
getCommandPlayerNowUnmutedBroadcast
-
getCommandPlayerNotMuted
-
getCommandPlayerNowWarned
-
getCommandPlayerNowWarnedBroadcast
-
getCommandReportHistoryHeader
-
getCommandReportListHeader
-
getCommandBanListHeader
-
getCommandWarnListHeader
-
getCommandKickListHeader
-
getCommandMuteListHeader
-
getCommandInternalError
-
getCommandCheckNone
-
getCommandCheckNoDisplayPerm
-
getCommandCheckHeaderGS
-
getCommandCheckHeaderIP
-
getCommandCheckEntry
-
getCommandCheckEntryAge
-
getCommandForwardNoPlayers
-
getCommandForwarded
-
getCommandGsRoomSent
-
getCommandGsRoomSentAlreadyLinked
-
getLogPlayerJoinedFirstTime
-
getLogPlayerJoinedHasGamersafer
-
getLogPlayerJoinedDoesNotHaveGamersafer
-
getLogPlayerLinkSuccessful
-
getLogPlayerLinkFailed
-
getLogPlayerLinkError
-
getLogPlayerUnlinkedSuccessful
-
getLogPlayerAuthSuccessful
-
getLogPlayerAuthFailed
-
getLogPlayerAuthError
-
getLogPlayerStillNotAuthed
-
getLogPlayerAddingRequiredGroups
-
getLogPlayerRemovingRequiredGroups
-
getLogPlayerAddingNotAuthedGroup
-
getLogPlayerRemovingNotAuthedGroup
-
getLogDBTypeNotImplemented
-
getLogDBFailedToConnect
-
getLogDBFailedFixup
-
getLogDBFailedMigration
-
getLogDBExecutingMigration
-
getLogDBFixup
-
getLogIntegrationLoaded
-
getLogIntegrationShutdownFailed
-
getLogIntegrationDispatchBanFailed
-
getLogIntegrationDispatchUnbanFailed
-
getLogIntegrationDispatchMuteFailed
-
getLogIntegrationDispatchUnmuteFailed
-
getLogIntegrationDispatchWarningFailed
-
getLogIntegrationDispatchKickFailed
-
getLogIntegrationImportBansFailed
-
getLogIntegrationImportMutesFailed
-
getLogIntegrationImportWarningsFailed
-
getLogIntegrationImportKicksFailed
-
getLogPermissionUsingPlugin
-
getLogPermissionNoPluginFound
-
getLogPermissionOverrideGroupNotFound
-
getLogPermissionUserGroupsFileFailed
-
getLogPermissionUserGroupsSaveFailed
-
getLogPermissionServerNotBlocked
-
getLogWebhookError
-
getLogWebhookStarted
-
getLogWebhookStartFailed
-
getLogWebhookTLSInit
-
getLogWebhookTLSFileFailed
-
getLogWebhookTLSOtherFailed
-
getLogKeyManagerLoadFailed
-
getLogKeyManagerImporting
-
getLogKeyManagerImportFailed
-
getLogKeyManagerLoadingKeys
-
getLogPluginInitFailed
-
getLogPluginShutdown
-
getLogPluginLoadedStandalone
-
getLogPluginLoadedWithProxy
-
getLogCategoryNameMissing
-
getLogCategoryNameDuplicate
-
getLogMissingApiKeyOrGuildId
-
getLogApiConnectionSuccessful
-
getLogReportsSubmitted
-
getLogReportsSubmitFailed
-
getPlayerPreferencesAdultChatDisabled
-
getPlayerPreferencesYouthChatDisabled
-
getPlayerPreferencesMinorChatDisabled
-
getSnipPlayername
-
getSnipCategory
-
getSnipReason
-
getSnipIntegration
-
getSnipBy
-
getCategoryLocalizedName
Gets the category name set in the language configuration.It may contain spaces and it should be used only in messages. For internal usage please use
Category.getNames()
orCategory.getId()
.- Parameters:
category
- the category- Returns:
- the category name or its id if it's not set. See
Category.getId()
-
getCategoryToLocalizedName
Gets all localized names. Values are guaranteed to be unique.The map may contain spaces and these names should be used only in messages. For internal usage please use
Category.getNames()
orCategory.getId()
.- Returns:
- the localized names
-