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 | |
| 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')
| -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 | ||||
| -rw-r--r-- | docs/src/en/index.md | 3 | ||||
| -rw-r--r-- | docs/src/en/player-guide/about.md | 20 | ||||
| -rw-r--r-- | docs/src/en/player-guide/channel-chat/about.md | 2 | ||||
| -rw-r--r-- | docs/src/en/player-guide/channel-chat/moderation.md | 4 | ||||
| -rw-r--r-- | docs/src/en/player-guide/commands/jp.md | 4 | ||||
| -rw-r--r-- | docs/src/en/player-guide/commands/lc/channel.md | 34 | ||||
| -rw-r--r-- | docs/src/en/player-guide/commands/lc/chatmode.md | 8 | ||||
| -rw-r--r-- | docs/src/en/player-guide/commands/lc/settings.md | 14 | ||||
| -rw-r--r-- | docs/src/en/player-guide/commands/lc/status.md | 4 | ||||
| -rw-r--r-- | docs/src/en/player-guide/commands/lcv/status.md | 4 | ||||
| -rw-r--r-- | docs/src/en/player-guide/commands/notice.md | 4 | ||||
| -rw-r--r-- | docs/src/en/player-guide/commands/reply.md | 6 | ||||
| -rw-r--r-- | docs/src/en/player-guide/commands/tell.md | 4 |
18 files changed, 97 insertions, 101 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 | | diff --git a/docs/src/en/index.md b/docs/src/en/index.md index 535fa0c..63441df 100644 --- a/docs/src/en/index.md +++ b/docs/src/en/index.md @@ -3,7 +3,7 @@ layout: home hero: - name: "LunaticChat" + name: 'LunaticChat' tagline: A next-generation chat plugin for Paper, Folia and Velocity. actions: - theme: brand @@ -42,4 +42,3 @@ features: details: Reduces dependencies on other plugins, always supporting the latest Minecraft versions icon: ⛏️️ --- - diff --git a/docs/src/en/player-guide/about.md b/docs/src/en/player-guide/about.md index 388df7b..ef64e3b 100644 --- a/docs/src/en/player-guide/about.md +++ b/docs/src/en/player-guide/about.md @@ -18,16 +18,16 @@ LunaChat is no longer being developed and does not support the latest Minecraft ## Comparison -| | LunaticChat | LunaChat | -| ----- |-------------|----------------------------------------| -| Development Status | Actively Developed | Development Ended | -| Supported Platforms | Paper / Velocity | Bukkit / Spigot / BungeeCord | -| Supported Versions | 1.21.x ~ | Up to 1.16.x | -| Language | Kotlin | Java | -| Plugin Dependencies | None | EssentialsX, etc. | -| Caching | Yes | No | -| Documentation | Yes | No | -| License | GNU General Public License v3.0 | GNU Lesser General Public License v3.0 | +| | LunaticChat | LunaChat | +| ------------------- | ------------------------------- | -------------------------------------- | +| Development Status | Actively Developed | Development Ended | +| Supported Platforms | Paper / Velocity | Bukkit / Spigot / BungeeCord | +| Supported Versions | 1.21.x ~ | Up to 1.16.x | +| Language | Kotlin | Java | +| Plugin Dependencies | None | EssentialsX, etc. | +| Caching | Yes | No | +| Documentation | Yes | No | +| License | GNU General Public License v3.0 | GNU Lesser General Public License v3.0 | ## FAQ diff --git a/docs/src/en/player-guide/channel-chat/about.md b/docs/src/en/player-guide/channel-chat/about.md index 5130064..2e7ab58 100644 --- a/docs/src/en/player-guide/channel-chat/about.md +++ b/docs/src/en/player-guide/channel-chat/about.md @@ -43,7 +43,7 @@ Use the [`/lc channnel create`](../commands/lc/channel.md#lc-channel-create-chan Channel IDs must follow these requirements: - Must be between 3 and 30 characters long -- Can only contain alphanumeric characters, underscores (_), and hyphens (-) +- Can only contain alphanumeric characters, underscores (\_), and hyphens (-) ::: diff --git a/docs/src/en/player-guide/channel-chat/moderation.md b/docs/src/en/player-guide/channel-chat/moderation.md index 1867ec7..14e2c8b 100644 --- a/docs/src/en/player-guide/channel-chat/moderation.md +++ b/docs/src/en/player-guide/channel-chat/moderation.md @@ -87,8 +87,8 @@ Executing this command will transfer all owner permissions to the specified play ::: danger Important Notes on Execution - Owner permission transfer is an irreversible operation. - - Once transferred, the original owner cannot regain owner permissions unless the player with owner permissions transfers them again. - - This applies even to server administrators. + - Once transferred, the original owner cannot regain owner permissions unless the player with owner permissions transfers them again. + - This applies even to server administrators. - The recipient of owner permissions must be a member of the channel. - Owner permissions can use all moderation features and delete the channel, which is a powerful privilege. Choose carefully to whom you transfer permissions. diff --git a/docs/src/en/player-guide/commands/jp.md b/docs/src/en/player-guide/commands/jp.md index 839e6e1..3ed57aa 100644 --- a/docs/src/en/player-guide/commands/jp.md +++ b/docs/src/en/player-guide/commands/jp.md @@ -8,8 +8,8 @@ This command was deprecated in v0.5.0. Please use the [`/lc settings`](lc/settin ::: -| Permission | -|--------------------------| +| Permission | +| ------------------------ | | `lunaticchat.command.jp` | Toggles the romanization conversion setting. diff --git a/docs/src/en/player-guide/commands/lc/channel.md b/docs/src/en/player-guide/commands/lc/channel.md index 31941ca..edb33c2 100644 --- a/docs/src/en/player-guide/commands/lc/channel.md +++ b/docs/src/en/player-guide/commands/lc/channel.md @@ -2,8 +2,8 @@ ### `/lc channel create <channel-id> <channel-name> [channel-description] [private-setting]` -| Permission | -|------------------------------| +| Permission | +| --------------------------------------- | | `lunaticchat.command.lc.channel.create` | Creates a channel. @@ -11,10 +11,10 @@ Creates a channel. - `<channel-id>` specifies the channel ID. - `<channel-name>` specifies the channel name. - `[channel-description]` specifies the channel description (optional). - - The description will be displayed when viewing the channel list with the `/lc channel list` command. + - The description will be displayed when viewing the channel list with the `/lc channel list` command. - `[private-setting]` specifies the channel's privacy setting. - - If `true` is specified, it will be created as a private channel, and only invited players can join. - - If `false` is specified or omitted, it will be created as a public channel, and anyone can join. + - If `true` is specified, it will be created as a private channel, and only invited players can join. + - If `false` is specified or omitted, it will be created as a public channel, and anyone can join. ::: warning Notes on Entering Channel Names and Descriptions @@ -30,48 +30,48 @@ Example: ### `/lc channel list` -| Permission | -|---------------------------------------| +| Permission | +| ------------------------------------- | | `lunaticchat.command.lc.channel.list` | Displays the list of channels. ### `/lc channel join <channel-id>` -| Permission | -|---------------------------------------| +| Permission | +| ------------------------------------- | | `lunaticchat.command.lc.channel.join` | Joins the specified channel. ### `/lc channel leave` -| Permission | -|----------------------------------------| +| Permission | +| -------------------------------------- | | `lunaticchat.command.lc.channel.leave` | Leaves the currently active channel. ### `/lc channel switch <channel-id>` -| Permission | -|-----------------------------------------| +| Permission | +| --------------------------------------- | | `lunaticchat.command.lc.channel.switch` | Switches to the specified channel. Use this when you want to switch to another channel while in channel chat mode. ### `/lc channel status` -| Permission | -|-----------------------------------------| +| Permission | +| --------------------------------------- | | `lunaticchat.command.lc.channel.status` | Displays information about the currently joined and active channels. ### `/lc channel delete <channel-id>` -| Permission | -|-----------------------------------------| +| Permission | +| --------------------------------------- | | `lunaticchat.command.lc.channel.delete` | Deletes the specified channel. You must be the channel creator (owner). diff --git a/docs/src/en/player-guide/commands/lc/chatmode.md b/docs/src/en/player-guide/commands/lc/chatmode.md index e3f335f..97472be 100644 --- a/docs/src/en/player-guide/commands/lc/chatmode.md +++ b/docs/src/en/player-guide/commands/lc/chatmode.md @@ -2,16 +2,16 @@ ### `/lc chatmode` -| Permission | -|-----------------------------------| +| Permission | +| --------------------------------- | | `lunaticchat.command.lc.chatmode` | Displays the current chat mode. ### `/lc chatmode toggle` -| Permission | -|------------------------------------| +| Permission | +| ---------------------------------------- | | `lunaticchat.command.lc.chatmode.toggle` | Toggles the chat mode. diff --git a/docs/src/en/player-guide/commands/lc/settings.md b/docs/src/en/player-guide/commands/lc/settings.md index 8b88066..a2bf4cf 100644 --- a/docs/src/en/player-guide/commands/lc/settings.md +++ b/docs/src/en/player-guide/commands/lc/settings.md @@ -2,8 +2,8 @@ ### `/lc settings <key> [value]` -| Permission | -|-----------------------------------| +| Permission | +| --------------------------------- | | `lunaticchat.command.lc.settings` | Manages player settings for LunaticChat. If no value is specified, the current setting value will be displayed. @@ -12,8 +12,8 @@ This setting is saved by UUID, so the setting will not be lost even if you chang #### Available Keys -| Key | Description | Default Value | -|----------|----------------------------------------------------------|--------| -| `japanese` | Toggles romanization conversion on or off. | `true` | -| `notice` | Toggles whether to receive notifications when receiving direct messages via `/tell` or `/reply`. | `true` | -| `chNotice` | Toggles whether to receive notifications when receiving channel chat messages. | `true` | +| Key | Description | Default Value | +| ---------- | ------------------------------------------------------------------------------------------------ | ------------- | +| `japanese` | Toggles romanization conversion on or off. | `true` | +| `notice` | Toggles whether to receive notifications when receiving direct messages via `/tell` or `/reply`. | `true` | +| `chNotice` | Toggles whether to receive notifications when receiving channel chat messages. | `true` | diff --git a/docs/src/en/player-guide/commands/lc/status.md b/docs/src/en/player-guide/commands/lc/status.md index 1fa6a39..fe9a680 100644 --- a/docs/src/en/player-guide/commands/lc/status.md +++ b/docs/src/en/player-guide/commands/lc/status.md @@ -2,8 +2,8 @@ ### `/lc status` -| Permission | -|---------------------------------| +| Permission | +| ------------------------------- | | `lunaticchat.command.lc.status` | Displays the status of LunaticChat. diff --git a/docs/src/en/player-guide/commands/lcv/status.md b/docs/src/en/player-guide/commands/lcv/status.md index 2b85283..f54fd14 100644 --- a/docs/src/en/player-guide/commands/lcv/status.md +++ b/docs/src/en/player-guide/commands/lcv/status.md @@ -2,8 +2,8 @@ ### `/lcv status` -| Permission | -|------------------------------| +| Permission | +| -------------------------------- | | `lunaticchat.command.lcv.status` | Displays the current LunaticChat Velocity integration status. diff --git a/docs/src/en/player-guide/commands/notice.md b/docs/src/en/player-guide/commands/notice.md index 4e7f41f..fc74014 100644 --- a/docs/src/en/player-guide/commands/notice.md +++ b/docs/src/en/player-guide/commands/notice.md @@ -8,8 +8,8 @@ This command was deprecated in v0.5.0. Please use the [`/lc settings`](lc/settin ::: -| Permission | Aliases | -|-----------------------------|-------------| +| Permission | Aliases | +| ---------------------------- | ----------- | | `lunaticchat.command.notice` | `/dmnotice` | Toggles notifications for direct messages sent via [`/tell`](tell.md) or [`/reply`](reply.md) commands on or off. diff --git a/docs/src/en/player-guide/commands/reply.md b/docs/src/en/player-guide/commands/reply.md index 1b26be2..1cca973 100644 --- a/docs/src/en/player-guide/commands/reply.md +++ b/docs/src/en/player-guide/commands/reply.md @@ -2,9 +2,9 @@ ### `/reply <message>` -| Permission | Aliases | -|-----------------------------|-------| -| `lunaticchat.command.reply` | `/r` | +| Permission | Aliases | +| --------------------------- | ------- | +| `lunaticchat.command.reply` | `/r` | Replies to the player with whom you most recently communicated using [`/tell`](tell.md). diff --git a/docs/src/en/player-guide/commands/tell.md b/docs/src/en/player-guide/commands/tell.md index fb2b8e1..cde71d6 100644 --- a/docs/src/en/player-guide/commands/tell.md +++ b/docs/src/en/player-guide/commands/tell.md @@ -2,8 +2,8 @@ ### `/tell <player ID> <message>` -| Permission | Aliases | -| ---- | ---- | +| Permission | Aliases | +| -------------------------- | ------------------------------------ | | `lunaticchat.command.tell` | `/t`, `/msg`, `/m`, `/w`, `/whisper` | Sends a message to the specified player. |
