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/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/admin-guide')
| -rw-r--r-- | docs/src/admin-guide/channel-chat/logs.md | 2 | ||||
| -rw-r--r-- | docs/src/admin-guide/configuration.md | 14 | ||||
| -rw-r--r-- | docs/src/admin-guide/management-data.md | 59 | ||||
| -rw-r--r-- | docs/src/admin-guide/velocity.md | 10 |
4 files changed, 41 insertions, 44 deletions
diff --git a/docs/src/admin-guide/channel-chat/logs.md b/docs/src/admin-guide/channel-chat/logs.md index 9b88bdd..df09169 100644 --- a/docs/src/admin-guide/channel-chat/logs.md +++ b/docs/src/admin-guide/channel-chat/logs.md @@ -1,4 +1,4 @@ -# チャンネルチャット: ログ <Badge type="tip" text="v0.7.0" /> +# チャンネルチャット: ログ <Badge type="tip" text="v0.7.0" /> チャンネルチャットのログは,チャット内で行われたすべてのメッセージとアクティビティの記録です. diff --git a/docs/src/admin-guide/configuration.md b/docs/src/admin-guide/configuration.md index 0d62646..dfe8094 100644 --- a/docs/src/admin-guide/configuration.md +++ b/docs/src/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/admin-guide/management-data.md b/docs/src/admin-guide/management-data.md index 5527ffa..e557894 100644 --- a/docs/src/admin-guide/management-data.md +++ b/docs/src/admin-guide/management-data.md @@ -27,30 +27,28 @@ LunaticChat のデータの安全性を確保するために,定期的にバ ```json { - "channels": { - "general-channel": { - "id": "general-channel", - "name": "一般チャンネル", - "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": "一般チャンネル", + "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 @@ LunaticChat のデータの安全性を確保するために,定期的にバ キャッシュシステムに関する詳細は [こちら](./cache.md) をご覧ください. - ```json -{"version":"1","entries":{"hi":"日"}} +{ "version": "1", "entries": { "hi": "日" } } ``` ### `player-settings.yaml` @@ -87,13 +84,13 @@ LunaticChat のデータの安全性を確保するために,定期的にバ ```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 ``` ## キャッシュバージョン @@ -103,5 +100,5 @@ channelMessageNotification: バージョンが不一致の場合,LunaticChat はキャッシュファイルを **古い形式のキャッシュ** として認識し,内容を無視して新しい形式で再作成します. ```json -{"version":"1","entries":{}} +{ "version": "1", "entries": {} } ``` diff --git a/docs/src/admin-guide/velocity.md b/docs/src/admin-guide/velocity.md index 862b529..b3652de 100644 --- a/docs/src/admin-guide/velocity.md +++ b/docs/src/admin-guide/velocity.md @@ -80,8 +80,8 @@ Velocity 連携が有効化されている場合,プロキシサーバーを Velocity 連携中に利用可能な主な機能は以下の通りです: -| | 互換性の有無 | 挙動 | 備考 | -|------------|--------|-----------------------------------|-----------------------------------| -| ダイレクトメッセージ | × | `/tell`, `/reply` コマンドはサーバー内限定で動作 | ダイレクトメッセージは Velocity 連携に対応していません. | -| チャンネルチャット | × | チャンネルチャットはサーバー内限定で動作 | チャンネルチャットは Velocity 連携に対応していません. | -| かな・ローマ字変換 | ◯ | かな・ローマ字変換は全サーバーで動作 | | +| | 互換性の有無 | 挙動 | 備考 | +| -------------------- | ------------ | ------------------------------------------------ | -------------------------------------------------------- | +| ダイレクトメッセージ | × | `/tell`, `/reply` コマンドはサーバー内限定で動作 | ダイレクトメッセージは Velocity 連携に対応していません. | +| チャンネルチャット | × | チャンネルチャットはサーバー内限定で動作 | チャンネルチャットは Velocity 連携に対応していません. | +| かな・ローマ字変換 | ◯ | かな・ローマ字変換は全サーバーで動作 | | |
