diff options
| author | Sho Sakuma <me@m1sk9.dev> | 2026-02-23 18:54:38 +0900 |
|---|---|---|
| committer | Sho Sakuma <me@m1sk9.dev> | 2026-02-23 18:54:38 +0900 |
| commit | 58cd5abbbf258dee0c6aa83326ebf86076efa07e (patch) | |
| tree | 70f28be9cec5a06eec88a6049fe374c85ed0f5d2 /docs/src/en/admin-guide | |
| parent | f4b57c95a1622cb009eec25e64da79b139e3dcf1 (diff) | |
| download | LunaticChat-58cd5abbbf258dee0c6aa83326ebf86076efa07e.tar.gz LunaticChat-58cd5abbbf258dee0c6aa83326ebf86076efa07e.tar.bz2 LunaticChat-58cd5abbbf258dee0c6aa83326ebf86076efa07e.zip | |
chore: Fix oxc error
Diffstat (limited to 'docs/src/en/admin-guide')
| -rw-r--r-- | docs/src/en/admin-guide/cache.md | 2 | ||||
| -rw-r--r-- | docs/src/en/admin-guide/channel-chat/logs.md | 2 | ||||
| -rw-r--r-- | docs/src/en/admin-guide/configuration.md | 14 | ||||
| -rw-r--r-- | docs/src/en/admin-guide/management-data.md | 59 | ||||
| -rw-r--r-- | docs/src/en/admin-guide/velocity.md | 10 |
5 files changed, 42 insertions, 45 deletions
diff --git a/docs/src/en/admin-guide/cache.md b/docs/src/en/admin-guide/cache.md index 1148973..5142a9e 100644 --- a/docs/src/en/admin-guide/cache.md +++ b/docs/src/en/admin-guide/cache.md @@ -37,5 +37,5 @@ The file used for disk cache includes a `version` field, which handles changes t If the version does not match, LunaticChat recognizes the cache file as **an old format cache**, ignores its contents, and recreates it in the new format. ```json -{"version":"1","entries":{}} +{ "version": "1", "entries": {} } ``` diff --git a/docs/src/en/admin-guide/channel-chat/logs.md b/docs/src/en/admin-guide/channel-chat/logs.md index b65750b..632a572 100644 --- a/docs/src/en/admin-guide/channel-chat/logs.md +++ b/docs/src/en/admin-guide/channel-chat/logs.md @@ -1,4 +1,4 @@ -# Channel Chat: Logs <Badge type="tip" text="v0.7.0" /> +# Channel Chat: Logs <Badge type="tip" text="v0.7.0" /> Channel chat logs are a record of all messages and activities that occur within the chat. diff --git a/docs/src/en/admin-guide/configuration.md b/docs/src/en/admin-guide/configuration.md index 9d77d46..61d99ef 100644 --- a/docs/src/en/admin-guide/configuration.md +++ b/docs/src/en/admin-guide/configuration.md @@ -20,13 +20,13 @@ debug: false # Path to the YAML file storing player settings -userSettingsFilePath: "player-settings.yaml" +userSettingsFilePath: 'player-settings.yaml' # If enabled, LunaticChat will check for updates on startup. checkForUpdates: true # Plugin Configuration Language. This setting applies only to player feedback and does not affect plugin logs or similar outputs. -language: "en" +language: 'en' # ---------------------------------------------- # ----------- Features Settings ------------ @@ -45,7 +45,7 @@ features: # Specify the interval (in seconds) for saving the Romanization conversion cache to disk. saveIntervalSeconds: 300 # Specify the file path where the cache for Romanization conversion is saved. - filePath: "conversion_cache.json" + filePath: 'conversion_cache.json' api: # Specify the timeout duration (in milliseconds) for API requests to the Romanization conversion service. timeout: 3000 @@ -77,7 +77,7 @@ features: crossServerGlobalChat: false # Server name to display in cross-server chat (e.g., "survival", "creative", "lobby"). # This should match the server name defined in your Velocity configuration. - serverName: "Unknown" + serverName: 'Unknown' # Size of the message deduplication cache to prevent duplicate messages from appearing. # Keeps track of the most recent N message IDs to filter out duplicates. messageDeduplicationCacheSize: 100 @@ -98,11 +98,11 @@ features: messageFormat: # Configure the format for direct messages sent via /tell or /msg - directMessageFormat: "§7[§e{sender} §7>> §e{recipient}§7] §f{message}" + directMessageFormat: '§7[§e{sender} §7>> §e{recipient}§7] §f{message}' # Configure the format for messages sent in channel chat - channelMessageFormat: "§7[§b#{channel}§7] §e{sender}: §f{message}" + channelMessageFormat: '§7[§b#{channel}§7] §e{sender}: §f{message}' # Configure the format for global chat messages in Velocity integration - crossServerGlobalChatFormat: "§7[§6{server}§7] §e{sender}: §f{message}" + crossServerGlobalChatFormat: '§7[§6{server}§7] §e{sender}: §f{message}' ``` ## General Settings diff --git a/docs/src/en/admin-guide/management-data.md b/docs/src/en/admin-guide/management-data.md index ffed59d..3f09506 100644 --- a/docs/src/en/admin-guide/management-data.md +++ b/docs/src/en/admin-guide/management-data.md @@ -27,30 +27,28 @@ The `channels.json` file stores information about channels managed by LunaticCha ```json { - "channels": { - "general-channel": { - "id": "general-channel", - "name": "General Channel", - "ownerId": "a01e3843-e521-3998-958a-f459800e4d11", - "createdAt": 1769507213150, - "bannedPlayers": [ - "ceaea267-39dd-3bac-931c-761ada671ebe" - ] - } - }, - "members": { - "general-channel": [ - { - "channelId": "test2", - "playerId": "a01e3843-e521-3998-958a-f459800e4d11", - "role": "OWNER", - "joinedAt": 1769507213150 - } - ] - }, - "activeChannels": { - "a01e3843-e521-3998-958a-f459800e4d11": "test2" + "channels": { + "general-channel": { + "id": "general-channel", + "name": "General Channel", + "ownerId": "a01e3843-e521-3998-958a-f459800e4d11", + "createdAt": 1769507213150, + "bannedPlayers": ["ceaea267-39dd-3bac-931c-761ada671ebe"] } + }, + "members": { + "general-channel": [ + { + "channelId": "test2", + "playerId": "a01e3843-e521-3998-958a-f459800e4d11", + "role": "OWNER", + "joinedAt": 1769507213150 + } + ] + }, + "activeChannels": { + "a01e3843-e521-3998-958a-f459800e4d11": "test2" + } } ``` @@ -75,9 +73,8 @@ The `conversion_cache.json` file stores cache for channel conversion. This file For more information about the cache system, see [here](./cache.md). - ```json -{"version":"1","entries":{"hi":"日"}} +{ "version": "1", "entries": { "hi": "日" } } ``` ### `player-settings.yaml` @@ -87,13 +84,13 @@ The `player-settings.yaml` file stores player-specific settings. This file conta ```yaml version: 1 japaneseConversion: - "aed5efd4-551b-3965-bc28-ae21aa072a66": false - "ceaea267-39dd-3bac-931c-761ada671ebe": false + 'aed5efd4-551b-3965-bc28-ae21aa072a66': false + 'ceaea267-39dd-3bac-931c-761ada671ebe': false directMessageNotification: - "aed5efd4-551b-3965-bc28-ae21aa072a66": true - "ceaea267-39dd-3bac-931c-761ada671ebe": true + 'aed5efd4-551b-3965-bc28-ae21aa072a66': true + 'ceaea267-39dd-3bac-931c-761ada671ebe': true channelMessageNotification: - "ceaea267-39dd-3bac-931c-761ada671ebe": true + 'ceaea267-39dd-3bac-931c-761ada671ebe': true ``` ## Cache Version @@ -103,5 +100,5 @@ Files used for disk caching include a `version` field to accommodate changes in If the version does not match, LunaticChat recognizes the cache file as **old format cache**, ignores the contents, and recreates it in the new format. ```json -{"version":"1","entries":{}} +{ "version": "1", "entries": {} } ``` diff --git a/docs/src/en/admin-guide/velocity.md b/docs/src/en/admin-guide/velocity.md index e1f9aa0..97f2a7f 100644 --- a/docs/src/en/admin-guide/velocity.md +++ b/docs/src/en/admin-guide/velocity.md @@ -71,8 +71,8 @@ When Velocity integration is enabled, chat messages are shared across all server The main features available during Velocity integration are as follows: -| | Compatibility | Behavior | Notes | -|------------| --- | --- | --- | -| Direct Messages | × | `/tell` and `/reply` commands operate only within the server | Direct messages do not support Velocity integration. | -| Channel Chat | × | Channel chat operates only within the server | Channel chat does not support Velocity integration. | -| Kana/Romanization | ◯ | Kana/Romanization works across all servers | | +| | Compatibility | Behavior | Notes | +| ----------------- | ------------- | ------------------------------------------------------------ | ---------------------------------------------------- | +| Direct Messages | × | `/tell` and `/reply` commands operate only within the server | Direct messages do not support Velocity integration. | +| Channel Chat | × | Channel chat operates only within the server | Channel chat does not support Velocity integration. | +| Kana/Romanization | ◯ | Kana/Romanization works across all servers | | |
