Skip to content

Configuration

LunaticChat's configuration is managed in plugins/LunaticChat/config.yml. A default configuration file is generated on the server's first startup.

Global Settings

KeyTypeDefaultDescription
debugBooleanfalseEnable debug logging
userSettingsFilePathString"player-settings.yaml"Path to the player settings file
checkForUpdatesBooleantrueCheck for updates on startup
languageString"en"Plugin language (en / ja)

Feature Settings (features)

Quick Replies (features.quickReplies)

KeyTypeDefaultDescription
enabledBooleantrueEnable the /reply command

Japanese Conversion (features.japaneseConversion)

KeyTypeDefaultDescription
enabledBooleanfalseEnable romaji-to-hiragana conversion
cache.maxEntriesInt500Maximum number of conversion cache entries
cache.saveIntervalSecondsInt300Interval (in seconds) for saving cache to disk
cache.filePathString"conversion_cache.json"Path to the cache file
api.timeoutLong3000API request timeout (in milliseconds)
api.retryAttemptsInt2Number of retries on API request failure

Channel Chat (features.channelChat)

KeyTypeDefaultDescription
enabledBooleanfalseEnable the channel chat feature
maxChannelsPerServerInt0Maximum channels per server (0 = unlimited)
maxMembersPerChannelInt0Maximum members per channel (0 = unlimited)
maxMembershipPerPlayerInt0Maximum channel memberships per player (0 = unlimited)

Message Logging (features.channelChat.messageLogging)

KeyTypeDefaultDescription
enabledBooleantrueLog channel messages to an NDJSON file
retentionDaysInt30Log file retention period in days (0 = indefinite)
maxFileSizeMBInt100Maximum size of a single log file (MB)

Velocity Integration (features.velocityIntegration)

KeyTypeDefaultDescription
enabledBooleanfalseEnable integration with the Velocity proxy
crossServerGlobalChatBooleanfalseEnable cross-server global chat
crossServerDirectMessageBooleanfalseEnable cross-server direct messaging
serverNameString"Unknown"Server name displayed in cross-server chat
messageDeduplicationCacheSizeInt100Size of the message deduplication cache

Message Format (messageFormat)

KeyDefaultAvailable Placeholders
directMessageFormat§7[§e{sender} §7>> §e{recipient}§7] §f{message}{sender}, {recipient}, {message}
channelMessageFormat§7[§b#{channel}§7] §e{sender}: §f{message}{sender}, {message}, {channel}
crossServerGlobalChatFormat§7[§6{server}§7] §e{sender}: §f{message}{sender}, {message}, {server}

Default Configuration File

View on GitHub