diff options
| author | Sho Sakuma <me@m1sk9.dev> | 2026-02-23 18:57:05 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-23 18:57:05 +0900 |
| commit | f56d42a478c0dfefe8b2a5d73e483d0ad11e1e89 (patch) | |
| tree | 70f28be9cec5a06eec88a6049fe374c85ed0f5d2 | |
| parent | 59a7e742fe52afba246ff2e4dce9753dd1468e05 (diff) | |
| parent | 58cd5abbbf258dee0c6aa83326ebf86076efa07e (diff) | |
| download | LunaticChat-f56d42a478c0dfefe8b2a5d73e483d0ad11e1e89.tar.gz LunaticChat-f56d42a478c0dfefe8b2a5d73e483d0ad11e1e89.tar.bz2 LunaticChat-f56d42a478c0dfefe8b2a5d73e483d0ad11e1e89.zip | |
Merge pull request #115 from m1sk9/docs/replace-oxc_and_folia
docs: Replace oxc, Add Folia guide
| -rw-r--r-- | .github/workflows/ci.yaml | 3 | ||||
| -rw-r--r-- | README.md | 16 | ||||
| -rw-r--r-- | docs/.oxfmtrc.json | 6 | ||||
| -rw-r--r-- | docs/.oxlintrc.json | 17 | ||||
| -rw-r--r-- | docs/.vitepress/config.mts | 40 | ||||
| -rw-r--r-- | docs/.vitepress/config/en.ts | 146 | ||||
| -rw-r--r-- | docs/.vitepress/config/ja.ts | 150 | ||||
| -rw-r--r-- | docs/biome.jsonc | 50 | ||||
| -rw-r--r-- | docs/bun.lock | 106 | ||||
| -rw-r--r-- | docs/package.json | 12 | ||||
| -rw-r--r-- | docs/src/admin-guide/cache.md (renamed from docs/src/guide/admin/cache.md) | 2 | ||||
| -rw-r--r-- | docs/src/admin-guide/channel-chat/introduction.md (renamed from docs/src/guide/admin/channel-chat/introduction.md) | 4 | ||||
| -rw-r--r-- | docs/src/admin-guide/channel-chat/logs.md (renamed from docs/src/guide/admin/channel-chat/logs.md) | 2 | ||||
| -rw-r--r-- | docs/src/admin-guide/configuration.md (renamed from docs/src/guide/admin/configuration.md) | 20 | ||||
| -rw-r--r-- | docs/src/admin-guide/getting-started.md (renamed from docs/src/guide/getting-started.md) | 28 | ||||
| -rw-r--r-- | docs/src/admin-guide/management-data.md (renamed from docs/src/guide/admin/management-data.md) | 59 | ||||
| -rw-r--r-- | docs/src/admin-guide/permissions.md | 179 | ||||
| -rw-r--r-- | docs/src/admin-guide/velocity.md (renamed from docs/src/guide/admin/velocity.md) | 18 | ||||
| -rw-r--r-- | docs/src/en/admin-guide/cache.md (renamed from docs/src/en/guide/admin/cache.md) | 4 | ||||
| -rw-r--r-- | docs/src/en/admin-guide/channel-chat/introduction.md (renamed from docs/src/en/guide/admin/channel-chat/introduction.md) | 4 | ||||
| -rw-r--r-- | docs/src/en/admin-guide/channel-chat/logs.md (renamed from docs/src/en/guide/admin/channel-chat/logs.md) | 2 | ||||
| -rw-r--r-- | docs/src/en/admin-guide/configuration.md (renamed from docs/src/en/guide/admin/configuration.md) | 20 | ||||
| -rw-r--r-- | docs/src/en/admin-guide/getting-started.md (renamed from docs/src/en/guide/getting-started.md) | 14 | ||||
| -rw-r--r-- | docs/src/en/admin-guide/management-data.md (renamed from docs/src/en/guide/admin/management-data.md) | 59 | ||||
| -rw-r--r-- | docs/src/en/admin-guide/permissions.md | 179 | ||||
| -rw-r--r-- | docs/src/en/admin-guide/velocity.md (renamed from docs/src/en/guide/admin/velocity.md) | 10 | ||||
| -rw-r--r-- | docs/src/en/guide/player/channel-chat.md | 13 | ||||
| -rw-r--r-- | docs/src/en/index.md | 18 | ||||
| -rw-r--r-- | docs/src/en/player-guide/about.md (renamed from docs/src/en/guide/about.md) | 20 | ||||
| -rw-r--r-- | docs/src/en/player-guide/channel-chat/about.md (renamed from docs/src/en/guide/player/channel-chat/about.md) | 12 | ||||
| -rw-r--r-- | docs/src/en/player-guide/channel-chat/chatmode.md (renamed from docs/src/en/guide/player/channel-chat/chatmode.md) | 0 | ||||
| -rw-r--r-- | docs/src/en/player-guide/channel-chat/moderation.md (renamed from docs/src/en/guide/player/channel-chat/moderation.md) | 14 | ||||
| -rw-r--r-- | docs/src/en/player-guide/channel-chat/private-channel.md (renamed from docs/src/en/guide/player/channel-chat/private-channel.md) | 4 | ||||
| -rw-r--r-- | docs/src/en/player-guide/commands/jp.md (renamed from docs/src/en/reference/commands/jp.md) | 4 | ||||
| -rw-r--r-- | docs/src/en/player-guide/commands/lc/channel.md (renamed from docs/src/en/reference/commands/lc/channel.md) | 34 | ||||
| -rw-r--r-- | docs/src/en/player-guide/commands/lc/chatmode.md (renamed from docs/src/en/reference/commands/lc/chatmode.md) | 8 | ||||
| -rw-r--r-- | docs/src/en/player-guide/commands/lc/settings.md | 19 | ||||
| -rw-r--r-- | docs/src/en/player-guide/commands/lc/status.md (renamed from docs/src/en/reference/commands/lc/status.md) | 4 | ||||
| -rw-r--r-- | docs/src/en/player-guide/commands/lcv/status.md (renamed from docs/src/en/reference/commands/lcv/status.md) | 4 | ||||
| -rw-r--r-- | docs/src/en/player-guide/commands/notice.md (renamed from docs/src/en/reference/commands/notice.md) | 4 | ||||
| -rw-r--r-- | docs/src/en/player-guide/commands/reply.md (renamed from docs/src/en/reference/commands/reply.md) | 6 | ||||
| -rw-r--r-- | docs/src/en/player-guide/commands/tell.md (renamed from docs/src/en/reference/commands/tell.md) | 4 | ||||
| -rw-r--r-- | docs/src/en/player-guide/direct-message.md (renamed from docs/src/en/guide/player/direct-message.md) | 8 | ||||
| -rw-r--r-- | docs/src/en/player-guide/getting-started.md | 77 | ||||
| -rw-r--r-- | docs/src/en/player-guide/index.md (renamed from docs/src/en/reference/index.md) | 2 | ||||
| -rw-r--r-- | docs/src/en/player-guide/japanese-romanization.md (renamed from docs/src/en/guide/player/japanese-romanization.md) | 4 | ||||
| -rw-r--r-- | docs/src/en/reference/commands/lc/settings.md | 19 | ||||
| -rw-r--r-- | docs/src/en/reference/permissions.md | 179 | ||||
| -rw-r--r-- | docs/src/index.md | 18 | ||||
| -rw-r--r-- | docs/src/player-guide/about.md (renamed from docs/src/guide/about.md) | 20 | ||||
| -rw-r--r-- | docs/src/player-guide/channel-chat/about.md (renamed from docs/src/guide/player/channel-chat/about.md) | 12 | ||||
| -rw-r--r-- | docs/src/player-guide/channel-chat/chatmode.md (renamed from docs/src/guide/player/channel-chat/chatmode.md) | 0 | ||||
| -rw-r--r-- | docs/src/player-guide/channel-chat/moderation.md (renamed from docs/src/guide/player/channel-chat/moderation.md) | 16 | ||||
| -rw-r--r-- | docs/src/player-guide/channel-chat/private-channel.md (renamed from docs/src/guide/player/channel-chat/private-channel.md) | 4 | ||||
| -rw-r--r-- | docs/src/player-guide/commands/lc/channel.md (renamed from docs/src/reference/commands/lc/channel.md) | 64 | ||||
| -rw-r--r-- | docs/src/player-guide/commands/lc/chatmode.md (renamed from docs/src/reference/commands/lc/chatmode.md) | 10 | ||||
| -rw-r--r-- | docs/src/player-guide/commands/lc/settings.md (renamed from docs/src/reference/commands/lc/settings.md) | 16 | ||||
| -rw-r--r-- | docs/src/player-guide/commands/lc/status.md (renamed from docs/src/reference/commands/lc/status.md) | 6 | ||||
| -rw-r--r-- | docs/src/player-guide/commands/lcv/status.md (renamed from docs/src/reference/commands/lcv/status.md) | 4 | ||||
| -rw-r--r-- | docs/src/player-guide/commands/reply.md (renamed from docs/src/reference/commands/reply.md) | 10 | ||||
| -rw-r--r-- | docs/src/player-guide/commands/tell.md (renamed from docs/src/reference/commands/tell.md) | 6 | ||||
| -rw-r--r-- | docs/src/player-guide/direct-message.md (renamed from docs/src/guide/player/direct-message.md) | 8 | ||||
| -rw-r--r-- | docs/src/player-guide/getting-started.md | 77 | ||||
| -rw-r--r-- | docs/src/player-guide/index.md (renamed from docs/src/reference/index.md) | 3 | ||||
| -rw-r--r-- | docs/src/player-guide/japanese-romanization.md (renamed from docs/src/guide/player/japanese-romanization.md) | 4 | ||||
| -rw-r--r-- | docs/src/reference/commands/jp.md | 17 | ||||
| -rw-r--r-- | docs/src/reference/commands/notice.md | 17 | ||||
| -rw-r--r-- | docs/src/reference/permissions.md | 179 | ||||
| -rw-r--r-- | docs/wrangler.jsonc | 4 | ||||
| -rw-r--r-- | platform-paper/src/main/resources/config.yml | 4 | ||||
| -rw-r--r-- | platform-paper/src/main/resources/languages/ja.yml | 1 |
71 files changed, 1115 insertions, 992 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5ddd4d4..2f3a9e8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -73,6 +73,9 @@ jobs: - name: Install dependencies run: bun install + - name: Check formats + run: bun run format:check + - name: Check lints run: bun run lint @@ -6,7 +6,7 @@ [](https://github.com/m1sk9/LunaticChat/blob/main/LICENSE)  -Next-generation channel chat plugin for Paper/Velocity. +A next-generation chat plugin for Paper, Folia and Velocity. - [Documentation](https://lc.m1sk9.dev) - [API Documentation](https://lc.api.m1sk9.dev) @@ -18,17 +18,21 @@ cd LunaticChat ./gradlew shadowJar ``` -_[Supports Minecraft 1.21.X](https://minecraft.wiki/w/Java_Edition_version_history#1.21) | [Requires Java 21+ and Gradle 9+](.github/CONTRIBUTING.md#開発環境)_ +_[Supports Minecraft 1.21.11](https://minecraft.wiki/w/Java_Edition_version_history#1.21) | [Requires Java 21+ and Gradle 9+](.github/CONTRIBUTING.md#開発環境)_ ## Installation -LunaticChat can be obtained from: +LunaticChat is compatible with the following platforms: + +- Paper +- Velocity +- Folia + +Pre-built artifacts can be installed from the following locations. Place the downloaded plugin file in your server's `plugins` folder and restart the server. - [GitHub](https://github.com/m1sk9/LunaticChat/releases) - [Modrinth](https://modrinth.com/project/lunaticchat) -Place the downloaded plugin file in your server's `plugins` folder and restart the server. - See the [Documentation](https://lc.m1sk9.dev/guide/getting-started). ## Features @@ -37,7 +41,7 @@ See the [Documentation](https://lc.m1sk9.dev/guide/getting-started). - Quick Reply Functionality (`/reply`) - Romaji to Japanese Conversion - Channel Chat System -- Multi-platform support (Paper, Velocity) +- Multi-platform support (Paper, Folia, Velocity) ## License diff --git a/docs/.oxfmtrc.json b/docs/.oxfmtrc.json new file mode 100644 index 0000000..df89d4a --- /dev/null +++ b/docs/.oxfmtrc.json @@ -0,0 +1,6 @@ +{ + "$schema": "./node_modules/oxfmt/configuration_schema.json", + "printWidth": 80, + "singleQuote": true, + "ignorePatterns": [] +} diff --git a/docs/.oxlintrc.json b/docs/.oxlintrc.json new file mode 100644 index 0000000..16df457 --- /dev/null +++ b/docs/.oxlintrc.json @@ -0,0 +1,17 @@ +{ + "$schema": "./node_modules/oxlint/configuration_schema.json", + "plugins": ["typescript"], + "categories": { + "correctness": "error", + "suspicious": "warn", + "style": "warn" + }, + "rules": { + "eslint/no-shadow-restricted-names": "off", + "eslint/no-param-reassign": "error", + "eslint/default-param-last": "error", + "eslint/no-else-return": "error", + "typescript/no-inferrable-types": "error" + }, + "ignorePatterns": [] +} diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 9e1f90f..c96f8b6 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -1,34 +1,34 @@ import { defineConfig } from 'vitepress'; -import { ja } from './config/ja'; import { en } from './config/en'; +import { ja } from './config/ja'; export default defineConfig({ - title: 'LunaticChat Docs', - titleTemplate: 'LunaticChat', - description: 'Next-generation channel chat plugin for Paper/Velocity', cleanUrls: true, - srcDir: './src', - outDir: './dist', - vite: { - publicDir: '../.vitepress/public', - }, - head: [['link', { rel: 'icon', href: '/favicon.ico' }]], - themeConfig: { - socialLinks: [ - { icon: 'github', link: 'https://github.com/m1sk9/LunaticChat' }, - ], - }, + description: 'Next-generation channel chat plugin for Paper/Velocity', + head: [['link', { href: '/favicon.ico', rel: 'icon' }]], locales: { - root: { - label: '日本語', - lang: 'ja-JP', - themeConfig: ja, - }, en: { label: 'English', lang: 'en-US', link: '/en/', themeConfig: en, }, + root: { + label: '日本語', + lang: 'ja-JP', + themeConfig: ja, + }, + }, + outDir: './dist', + srcDir: './src', + themeConfig: { + socialLinks: [ + { icon: 'github', link: 'https://github.com/m1sk9/LunaticChat' }, + ], + }, + title: 'LunaticChat Docs', + titleTemplate: 'LunaticChat', + vite: { + publicDir: '../.vitepress/public', }, }); diff --git a/docs/.vitepress/config/en.ts b/docs/.vitepress/config/en.ts index 1669fbb..6d2068d 100644 --- a/docs/.vitepress/config/en.ts +++ b/docs/.vitepress/config/en.ts @@ -1,149 +1,143 @@ import type { DefaultTheme } from 'vitepress'; export const en: DefaultTheme.Config = { + editLink: { + pattern: 'https://github.com/m1sk9/LunaticChat/edit/main/docs/src/:path', + text: 'Edit this page on GitHub', + }, + footer: { + copyright: 'Copyright © 2026 m1sk9', + }, nav: [ - { text: 'Guide', link: '/en/guide/getting-started' }, - { text: 'Reference', link: '/en/reference' }, + { link: '/en/player-guide/getting-started', text: 'Player Guide' }, + { link: '/en/admin-guide/getting-started', text: 'Admin Guide' }, ], sidebar: { - '/en/guide/': [ + '/en/admin-guide/': [ { + link: '/en/admin-guide/getting-started', text: 'Getting Started', - link: '/en/guide/getting-started', }, { - text: 'About LunaticChat', - link: '/en/guide/about', + link: '/en/admin-guide/configuration', + text: 'Configuration', + }, + { + link: '/en/admin-guide/permissions', + text: 'Permissions', }, { - text: 'For Server Administrators', items: [ { - text: 'Channel Chat', - items: [ - { - text: 'Deployment Guide', - link: '/en/guide/admin/channel-chat/introduction', - }, - { - text: 'Logs', - link: '/en/guide/admin/channel-chat/logs', - }, - ], - }, - { - text: 'Cache System', - link: '/en/guide/admin/cache', - }, - { - text: 'Configuration', - link: '/en/guide/admin/configuration', - }, - { - text: 'Velocity Integration', - link: '/en/guide/admin/velocity', + link: '/en/admin-guide/channel-chat/introduction', + text: 'Deployment Guide', }, { - text: 'Data Management', - link: '/en/guide/admin/management-data', + link: '/en/admin-guide/channel-chat/logs', + text: 'Logs', }, ], + text: 'Channel Chat', + }, + { + link: '/en/admin-guide/velocity', + text: 'Velocity Integration', + }, + { + link: '/en/admin-guide/cache', + text: 'Cache System', + }, + { + link: '/en/admin-guide/management-data', + text: 'Data Management', + }, + ], + '/en/player-guide/': [ + { + link: '/en/player-guide/getting-started', + text: 'Getting Started', + }, + { + link: '/en/player-guide/about', + text: 'About LunaticChat', }, { - text: 'For Players', items: [ { - text: 'Channel Chat', - link: '/en/guide/player/channel-chat/about', - items: [ - { - text: 'Chat Mode', - link: '/en/guide/player/channel-chat/chatmode', - }, - { - text: 'Private Channel', - link: '/en/guide/player/channel-chat/private-channel', - }, - { - text: 'Moderation', - link: '/en/guide/player/channel-chat/moderation', - }, - ], + link: '/en/player-guide/channel-chat/chatmode', + text: 'Chat Mode', }, { - text: 'Direct Messages', - link: '/en/guide/player/direct-message', + link: '/en/player-guide/channel-chat/private-channel', + text: 'Private Channel', }, { - text: 'Romanization Conversion', - link: '/en/guide/player/japanese-romanization', + link: '/en/player-guide/channel-chat/moderation', + text: 'Moderation', }, ], + link: '/en/player-guide/channel-chat/about', + text: 'Channel Chat', }, - ], - '/en/reference/': [ { - text: 'Permissions', - link: '/en/reference/permissions', + link: '/en/player-guide/direct-message', + text: 'Direct Messages', + }, + { + link: '/en/player-guide/japanese-romanization', + text: 'Romanization Conversion', }, { - text: 'Commands', items: [ { + link: '/en/player-guide/commands/tell', text: '/tell', - link: '/en/reference/commands/tell', }, { + link: '/en/player-guide/commands/reply', text: '/reply', - link: '/en/reference/commands/reply', }, { + link: '/en/player-guide/commands/jp', text: '/jp', - link: '/en/reference/commands/jp', }, { + link: '/en/player-guide/commands/notice', text: '/notice', - link: '/en/reference/commands/notice', }, { - text: '/lc', items: [ { + link: '/en/player-guide/commands/lc/settings', text: '/lc settings', - link: '/en/reference/commands/lc/settings', }, { + link: '/en/player-guide/commands/lc/status', text: '/lc status', - link: '/en/reference/commands/lc/status', }, { + link: '/en/player-guide/commands/lc/channel', text: '/lc channel', - link: '/en/reference/commands/lc/channel', }, { + link: '/en/player-guide/commands/lc/chatmode', text: '/lc chatmode', - link: '/en/reference/commands/lc/chatmode', }, ], + text: '/lc', }, { - text: '/lcv', items: [ { + link: '/en/player-guide/commands/lcv/status', text: '/lcv status', - link: '/en/reference/commands/lcv/status', }, ], + text: '/lcv', }, ], + text: 'Commands', }, ], }, - editLink: { - pattern: 'https://github.com/m1sk9/LunaticChat/edit/main/docs/src/:path', - text: 'Edit this page on GitHub', - }, - footer: { - copyright: 'Copyright © 2026 m1sk9', - }, }; diff --git a/docs/.vitepress/config/ja.ts b/docs/.vitepress/config/ja.ts index 0e3e467..ee4a03c 100644 --- a/docs/.vitepress/config/ja.ts +++ b/docs/.vitepress/config/ja.ts @@ -1,149 +1,135 @@ import type { DefaultTheme } from 'vitepress'; export const ja: DefaultTheme.Config = { + editLink: { + pattern: 'https://github.com/m1sk9/LunaticChat/edit/main/docs/src/:path', + text: 'GitHub で編集', + }, + footer: { + copyright: 'Copyright © 2026 m1sk9', + }, nav: [ - { text: 'ガイド', link: '/guide/getting-started' }, - { text: 'リファレンス', link: '/reference' }, + { link: '/player-guide/getting-started', text: 'プレイヤーガイド' }, + { link: '/admin-guide/getting-started', text: '管理者ガイド' }, ], sidebar: { - '/guide/': [ + '/admin-guide/': [ { + link: '/admin-guide/getting-started', text: 'はじめる', - link: '/guide/getting-started', }, { - text: 'LunaticChat について', - link: '/guide/about', + link: '/admin-guide/configuration', + text: '設定', + }, + { + link: '/admin-guide/permissions', + text: 'パーミッション', }, { - text: 'サーバー管理者向け', items: [ { - text: 'チャンネルチャット', - items: [ - { - text: '展開ガイド', - link: '/guide/admin/channel-chat/introduction', - }, - { - text: 'ログ', - link: '/guide/admin/channel-chat/logs', - }, - ], + link: '/admin-guide/channel-chat/introduction', + text: '展開ガイド', }, { - text: 'キャッシュシステム', - link: '/guide/admin/cache', - }, - { - text: '設定', - link: '/guide/admin/configuration', - }, - { - text: 'Velocity 連携', - link: '/guide/admin/velocity', - }, - { - text: 'データの管理', - link: '/guide/admin/management-data', + link: '/admin-guide/channel-chat/logs', + text: 'ログ', }, ], + text: 'チャンネルチャット', + }, + { + link: '/admin-guide/velocity', + text: 'Velocity 連携', + }, + { + link: '/admin-guide/cache', + text: 'キャッシュシステム', + }, + { + link: '/admin-guide/management-data', + text: 'データの管理', + }, + ], + '/player-guide/': [ + { + link: '/player-guide/getting-started', + text: 'はじめる', + }, + { + link: '/player-guide/about', + text: 'LunaticChat について', }, { - text: 'プレイヤー向け', items: [ { - text: 'チャンネルチャット', - link: '/guide/player/channel-chat/about', - items: [ - { - text: 'チャットモード', - link: '/guide/player/channel-chat/chatmode', - }, - { - text: 'プライベートチャンネル', - link: '/guide/player/channel-chat/private-channel', - }, - { - text: 'モデレーション', - link: '/guide/player/channel-chat/moderation', - }, - ], + link: '/player-guide/channel-chat/chatmode', + text: 'チャットモード', }, { - text: 'ダイレクトメッセージ', - link: '/guide/player/direct-message', + link: '/player-guide/channel-chat/private-channel', + text: 'プライベートチャンネル', }, { - text: 'ローマ字変換', - link: '/guide/player/japanese-romanization', + link: '/player-guide/channel-chat/moderation', + text: 'モデレーション', }, ], + link: '/player-guide/channel-chat/about', + text: 'チャンネルチャット', }, - ], - '/reference/': [ { - text: 'パーミッション', - link: '/reference/permissions', + link: '/player-guide/direct-message', + text: 'ダイレクトメッセージ', + }, + { + link: '/player-guide/japanese-romanization', + text: 'ローマ字変換', }, { - text: 'コマンド', items: [ { + link: '/player-guide/commands/tell', text: '/tell', - link: '/reference/commands/tell', }, { + link: '/player-guide/commands/reply', text: '/reply', - link: '/reference/commands/reply', }, { - text: '/jp', - link: '/reference/commands/jp', - }, - { - text: '/notice', - link: '/reference/commands/notice', - }, - { - text: '/lc', items: [ { + link: '/player-guide/commands/lc/settings', text: '/lc settings', - link: '/reference/commands/lc/settings', }, { + link: '/player-guide/commands/lc/status', text: '/lc status', - link: '/reference/commands/lc/status', }, { + link: '/player-guide/commands/lc/channel', text: '/lc channel', - link: '/reference/commands/lc/channel', }, { + link: '/player-guide/commands/lc/chatmode', text: '/lc chatmode', - link: '/reference/commands/lc/chatmode', }, ], + text: '/lc', }, { - text: '/lcv', items: [ { + link: '/player-guide/commands/lcv/status', text: '/lcv status', - link: '/reference/commands/lcv/status', }, ], + text: '/lcv', }, ], + text: 'コマンド', }, ], }, - editLink: { - pattern: 'https://github.com/m1sk9/LunaticChat/edit/main/docs/src/:path', - text: 'GitHub で編集', - }, - footer: { - copyright: 'Copyright © 2026 m1sk9', - }, }; diff --git a/docs/biome.jsonc b/docs/biome.jsonc deleted file mode 100644 index fef79f9..0000000 --- a/docs/biome.jsonc +++ /dev/null @@ -1,50 +0,0 @@ -{ - "$schema": "https://biomejs.dev/schemas/2.4.4/schema.json", - "files": { - "ignoreUnknown": true, - "includes": [".vitepress/config.mts", "biome.jsonc", ".vitepress/config/**"] - }, - "formatter": { - "enabled": true, - "formatWithErrors": false, - "indentStyle": "space", - "indentWidth": 2, - "lineEnding": "lf", - "lineWidth": 80, - "attributePosition": "auto" - }, - "javascript": { - "formatter": { - "jsxQuoteStyle": "double", - "quoteProperties": "asNeeded", - "trailingCommas": "all", - "semicolons": "always", - "arrowParentheses": "always", - "bracketSpacing": true, - "bracketSameLine": false, - "quoteStyle": "single", - "attributePosition": "auto" - } - }, - "linter": { - "enabled": true, - "rules": { - "recommended": true, - "suspicious": { - "noShadowRestrictedNames": "off" - }, - "style": { - "noParameterAssign": "error", - "useAsConstAssertion": "error", - "useDefaultParameterLast": "error", - "useEnumInitializers": "error", - "useSelfClosingElements": "error", - "useSingleVarDeclarator": "error", - "noUnusedTemplateLiteral": "error", - "useNumberNamespace": "error", - "noInferrableTypes": "error", - "noUselessElse": "error" - } - } - } -} diff --git a/docs/bun.lock b/docs/bun.lock index 1dd49a3..3ea41b0 100644 --- a/docs/bun.lock +++ b/docs/bun.lock @@ -4,7 +4,9 @@ "workspaces": { "": { "devDependencies": { - "@biomejs/biome": "2.4.4", + "husky": "^9.1.7", + "oxfmt": "^0.34.0", + "oxlint": "^1.49.0", "vitepress": "^1.6.4", }, }, @@ -54,24 +56,6 @@ "@babel/types": ["@babel/types@7.28.6", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.28.5" } }, "sha512-0ZrskXVEHSWIqZM/sQZ4EV3jZJXRkio/WCxaqKZP1g//CEWEPSfeZFcms4XeKBCHU0ZKnIkdJeU/kF+eRp5lBg=="], - "@biomejs/biome": ["@biomejs/biome@2.4.4", "", { "optionalDependencies": { "@biomejs/cli-darwin-arm64": "2.4.4", "@biomejs/cli-darwin-x64": "2.4.4", "@biomejs/cli-linux-arm64": "2.4.4", "@biomejs/cli-linux-arm64-musl": "2.4.4", "@biomejs/cli-linux-x64": "2.4.4", "@biomejs/cli-linux-x64-musl": "2.4.4", "@biomejs/cli-win32-arm64": "2.4.4", "@biomejs/cli-win32-x64": "2.4.4" }, "bin": { "biome": "bin/biome" } }, "sha512-tigwWS5KfJf0cABVd52NVaXyAVv4qpUXOWJ1rxFL8xF1RVoeS2q/LK+FHgYoKMclJCuRoCWAPy1IXaN9/mS61Q=="], - - "@biomejs/cli-darwin-arm64": ["@biomejs/cli-darwin-arm64@2.4.4", "", { "os": "darwin", "cpu": "arm64" }, "sha512-jZ+Xc6qvD6tTH5jM6eKX44dcbyNqJHssfl2nnwT6vma6B1sj7ZLTGIk6N5QwVBs5xGN52r3trk5fgd3sQ9We9A=="], - - "@biomejs/cli-darwin-x64": ["@biomejs/cli-darwin-x64@2.4.4", "", { "os": "darwin", "cpu": "x64" }, "sha512-Dh1a/+W+SUCXhEdL7TiX3ArPTFCQKJTI1mGncZNWfO+6suk+gYA4lNyJcBB+pwvF49uw0pEbUS49BgYOY4hzUg=="], - - "@biomejs/cli-linux-arm64": ["@biomejs/cli-linux-arm64@2.4.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-V/NFfbWhsUU6w+m5WYbBenlEAz8eYnSqRMDMAW3K+3v0tYVkNyZn8VU0XPxk/lOqNXLSCCrV7FmV/u3SjCBShg=="], - - "@biomejs/cli-linux-arm64-musl": ["@biomejs/cli-linux-arm64-musl@2.4.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-+sPAXq3bxmFwhVFJnSwkSF5Rw2ZAJMH3MF6C9IveAEOdSpgajPhoQhbbAK12SehN9j2QrHpk4J/cHsa/HqWaYQ=="], - - "@biomejs/cli-linux-x64": ["@biomejs/cli-linux-x64@2.4.4", "", { "os": "linux", "cpu": "x64" }, "sha512-R4+ZCDtG9kHArasyBO+UBD6jr/FcFCTH8QkNTOCu0pRJzCWyWC4EtZa2AmUZB5h3e0jD7bRV2KvrENcf8rndBg=="], - - "@biomejs/cli-linux-x64-musl": ["@biomejs/cli-linux-x64-musl@2.4.4", "", { "os": "linux", "cpu": "x64" }, "sha512-gGvFTGpOIQDb5CQ2VC0n9Z2UEqlP46c4aNgHmAMytYieTGEcfqhfCFnhs6xjt0S3igE6q5GLuIXtdQt3Izok+g=="], - - "@biomejs/cli-win32-arm64": ["@biomejs/cli-win32-arm64@2.4.4", "", { "os": "win32", "cpu": "arm64" }, "sha512-trzCqM7x+Gn832zZHgr28JoYagQNX4CZkUZhMUac2YxvvyDRLJDrb5m9IA7CaZLlX6lTQmADVfLEKP1et1Ma4Q=="], - - "@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@2.4.4", "", { "os": "win32", "cpu": "x64" }, "sha512-gnOHKVPFAAPrpoPt2t+Q6FZ7RPry/FDV3GcpU53P3PtLNnQjBmKyN2Vh/JtqXet+H4pme8CC76rScwdjDcT1/A=="], - "@docsearch/css": ["@docsearch/css@3.8.2", "", {}, "sha512-y05ayQFyUmCXze79+56v/4HpycYF3uFqB78pLPrSV5ZKAlDuIAAJNhaRi8tTdRNXh05yxX/TyNnzD6LwSM89vQ=="], "@docsearch/js": ["@docsearch/js@3.8.2", "", { "dependencies": { "@docsearch/react": "3.8.2", "preact": "^10.0.0" } }, "sha512-Q5wY66qHn0SwA7Taa0aDbHiJvaFJLOJyHmooQ7y8hlwwQLQ/5WwCcoX0g7ii04Qi2DJlHsd0XXzJ8Ypw9+9YmQ=="], @@ -130,6 +114,82 @@ "@jridgewell/sourcemap-codec": ["@jridgewell/sourcemap-codec@1.5.5", "", {}, "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og=="], + "@oxfmt/binding-android-arm-eabi": ["@oxfmt/binding-android-arm-eabi@0.34.0", "", { "os": "android", "cpu": "arm" }, "sha512-sqkqjh/Z38l+duOb1HtVqJTAj1grt2ttkobCopC/72+a4Xxz4xUgZPFyQ4HxrYMvyqO/YA0tvM1QbfOu70Gk1Q=="], + + "@oxfmt/binding-android-arm64": ["@oxfmt/binding-android-arm64@0.34.0", "", { "os": "android", "cpu": "arm64" }, "sha512-1KRCtasHcVcGOMwfOP9d5Bus2NFsN8yAYM5cBwi8LBg5UtXC3C49WHKrlEa8iF1BjOS6CR2qIqiFbGoA0DJQNQ=="], + + "@oxfmt/binding-darwin-arm64": ["@oxfmt/binding-darwin-arm64@0.34.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-b+Rmw9Bva6e/7PBES2wLO8sEU7Mi0+/Kv+pXSe/Y8i4fWNftZZlGwp8P01eECaUqpXATfSgNxdEKy7+ssVNz7g=="], + + "@oxfmt/binding-darwin-x64": ["@oxfmt/binding-darwin-x64@0.34.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-QGjpevWzf1T9COEokZEWt80kPOtthW1zhRbo7x4Qoz646eTTfi6XsHG2uHeDWJmTbgBoJZPMgj2TAEV/ppEZaA=="], + + "@oxfmt/binding-freebsd-x64": ["@oxfmt/binding-freebsd-x64@0.34.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-VMSaC02cG75qL59M9M/szEaqq/RsLfgpzQ4nqUu8BUnX1zkiZIW2gTpUv3ZJ6qpWnHxIlAXiRZjQwmcwpvtbcg=="], + + "@oxfmt/binding-linux-arm-gnueabihf": ["@oxfmt/binding-linux-arm-gnueabihf@0.34.0", "", { "os": "linux", "cpu": "arm" }, "sha512-Klm367PFJhH6vYK3vdIOxFepSJZHPaBfIuqwxdkOcfSQ4qqc/M8sgK0UTFnJWWTA/IkhMIh1kW6uEqiZ/xtQqg=="], + + "@oxfmt/binding-linux-arm-musleabihf": ["@oxfmt/binding-linux-arm-musleabihf@0.34.0", "", { "os": "linux", "cpu": "arm" }, "sha512-nqn0QueVXRfbN9m58/E9Zij0Ap8lzayx591eWBYn0sZrGzY1IRv9RYS7J/1YUXbb0Ugedo0a8qIWzUHU9bWQuA=="], + + "@oxfmt/binding-linux-arm64-gnu": ["@oxfmt/binding-linux-arm64-gnu@0.34.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-DDn+dcqW+sMTCEjvLoQvC/VWJjG7h8wcdN/J+g7ZTdf/3/Dx730pQElxPPGsCXPhprb11OsPyMp5FwXjMY3qvA=="], + + "@oxfmt/binding-linux-arm64-musl": ["@oxfmt/binding-linux-arm64-musl@0.34.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-H+F8+71gHQoGTFPPJ6z4dD0Fzfzi0UP8Zx94h5kUmIFThLvMq5K1Y/bUUubiXwwHfwb5C3MPjUpYijiy0rj51Q=="], + + "@oxfmt/binding-linux-ppc64-gnu": ["@oxfmt/binding-linux-ppc64-gnu@0.34.0", "", { "os": "linux", "cpu": "ppc64" }, "sha512-dIGnzTNhCXqQD5pzBwduLg8pClm+t8R53qaE9i5h8iua1iaFAJyLffh4847CNZSlASb7gn1Ofuv7KoG/EpoGZg=="], + + "@oxfmt/binding-linux-riscv64-gnu": ["@oxfmt/binding-linux-riscv64-gnu@0.34.0", "", { "os": "linux", "cpu": "none" }, "sha512-FGQ2GTTooilDte/ogwWwkHuuL3lGtcE3uKM2EcC7kOXNWdUfMY6Jx3JCodNVVbFoybv4A+HuCj8WJji2uu1Ceg=="], + + "@oxfmt/binding-linux-riscv64-musl": ["@oxfmt/binding-linux-riscv64-musl@0.34.0", "", { "os": "linux", "cpu": "none" }, "sha512-2dGbGneJ7ptOIVKMwEIHdCkdZEomh74X3ggo4hCzEXL/rl9HwfsZDR15MkqfQqAs6nVXMvtGIOMxjDYa5lwKaA=="], + + "@oxfmt/binding-linux-s390x-gnu": ["@oxfmt/binding-linux-s390x-gnu@0.34.0", "", { "os": "linux", "cpu": "s390x" }, "sha512-cCtGgmrTrxq3OeSG0UAO+w6yLZTMeOF4XM9SAkNrRUxYhRQELSDQ/iNPCLyHhYNi38uHJQbS5RQweLUDpI4ajA=="], + + "@oxfmt/binding-linux-x64-gnu": ["@oxfmt/binding-linux-x64-gnu@0.34.0", "", { "os": "linux", "cpu": "x64" }, "sha512-7AvMzmeX+k7GdgitXp99GQoIV/QZIpAS7rwxQvC/T541yWC45nwvk4mpnU8N+V6dE5SPEObnqfhCjO80s7qIsg=="], + + "@oxfmt/binding-linux-x64-musl": ["@oxfmt/binding-linux-x64-musl@0.34.0", "", { "os": "linux", "cpu": "x64" }, "sha512-uNiglhcmivJo1oDMh3hoN/Z0WsbEXOpRXZdQ3W/IkOpyV8WF308jFjSC1ZxajdcNRXWej0zgge9QXba58Owt+g=="], + + "@oxfmt/binding-openharmony-arm64": ["@oxfmt/binding-openharmony-arm64@0.34.0", "", { "os": "none", "cpu": "arm64" }, "sha512-5eFsTjCyji25j6zznzlMc+wQAZJoL9oWy576xhqd2efv+N4g1swIzuSDcb1dz4gpcVC6veWe9pAwD7HnrGjLwg=="], + + "@oxfmt/binding-win32-arm64-msvc": ["@oxfmt/binding-win32-arm64-msvc@0.34.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-6id8kK0t5hKfbV6LHDzRO21wRTA6ctTlKGTZIsG/mcoir0rssvaYsedUymF4HDj7tbCUlnxCX/qOajKlEuqbIw=="], + + "@oxfmt/binding-win32-ia32-msvc": ["@oxfmt/binding-win32-ia32-msvc@0.34.0", "", { "os": "win32", "cpu": "ia32" }, "sha512-QHaz+w673mlYqn9v/+fuiKZpjkmagleXQ+NygShDv8tdHpRYX2oYhTJwwt9j1ZfVhRgza1EIUW3JmzCXmtPdhQ=="], + + "@oxfmt/binding-win32-x64-msvc": ["@oxfmt/binding-win32-x64-msvc@0.34.0", "", { "os": "win32", "cpu": "x64" }, "sha512-CXKQM/VaF+yuvGru8ktleHLJoBdjBtTFmAsLGePiESiTN0NjCI/PiaiOCfHMJ1HdP1LykvARUwMvgaN3tDhcrg=="], + + "@oxlint/binding-android-arm-eabi": ["@oxlint/binding-android-arm-eabi@1.49.0", "", { "os": "android", "cpu": "arm" }, "sha512-2WPoh/2oK9r/i2R4o4J18AOrm3HVlWiHZ8TnuCaS4dX8m5ZzRmHW0I3eLxEurQLHWVruhQN7fHgZnah+ag5iQg=="], + + "@oxlint/binding-android-arm64": ["@oxlint/binding-android-arm64@1.49.0", "", { "os": "android", "cpu": "arm64" }, "sha512-YqJAGvNB11EzoKm1euVhZntb79alhMvWW/j12bYqdvVxn6xzEQWrEDCJg9BPo3A3tBCSUBKH7bVkAiCBqK/L1w=="], + + "@oxlint/binding-darwin-arm64": ["@oxlint/binding-darwin-arm64@1.49.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-WFocCRlvVkMhChCJ2qpJfp1Gj/IjvyjuifH9Pex8m8yHonxxQa3d8DZYreuDQU3T4jvSY8rqhoRqnpc61Nlbxw=="], + + "@oxlint/binding-darwin-x64": ["@oxlint/binding-darwin-x64@1.49.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-BN0KniwvehbUfYztOMwEDkYoojGm/narf5oJf+/ap+6PnzMeWLezMaVARNIS0j3OdMkjHTEP8s3+GdPJ7WDywQ=="], + + "@oxlint/binding-freebsd-x64": ["@oxlint/binding-freebsd-x64@1.49.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-SnkAc/DPIY6joMCiP/+53Q+N2UOGMU6ULvbztpmvPJNF/jYPGhNbKtN982uj2Gs6fpbxYkmyj08QnpkD4fbHJA=="], + + "@oxlint/binding-linux-arm-gnueabihf": ["@oxlint/binding-linux-arm-gnueabihf@1.49.0", "", { "os": "linux", "cpu": "arm" }, "sha512-6Z3EzRvpQVIpO7uFhdiGhdE8Mh3S2VWKLL9xuxVqD6fzPhyI3ugthpYXlCChXzO8FzcYIZ3t1+Kau+h2NY1hqA=="], + + "@oxlint/binding-linux-arm-musleabihf": ["@oxlint/binding-linux-arm-musleabihf@1.49.0", "", { "os": "linux", "cpu": "arm" }, "sha512-wdjXaQYAL/L25732mLlngfst4Jdmi/HLPVHb3yfCoP5mE3lO/pFFrmOJpqWodgv29suWY74Ij+RmJ/YIG5VuzQ=="], + + "@oxlint/binding-linux-arm64-gnu": ["@oxlint/binding-linux-arm64-gnu@1.49.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-oSHpm8zmSvAG1BWUumbDRSg7moJbnwoEXKAkwDf/xTQJOzvbUknq95NVQdw/AduZr5dePftalB8rzJNGBogUMg=="], + + "@oxlint/binding-linux-arm64-musl": ["@oxlint/binding-linux-arm64-musl@1.49.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-xeqkMOARgGBlEg9BQuPDf6ZW711X6BT5qjDyeM5XNowCJeTSdmMhpePJjTEiVbbr3t21sIlK8RE6X5bc04nWyQ=="], + + "@oxlint/binding-linux-ppc64-gnu": ["@oxlint/binding-linux-ppc64-gnu@1.49.0", "", { "os": "linux", "cpu": "ppc64" }, "sha512-uvcqRO6PnlJGbL7TeePhTK5+7/JXbxGbN+C6FVmfICDeeRomgQqrfVjf0lUrVpUU8ii8TSkIbNdft3M+oNlOsQ=="], + + "@oxlint/binding-linux-riscv64-gnu": ["@oxlint/binding-linux-riscv64-gnu@1.49.0", "", { "os": "linux", "cpu": "none" }, "sha512-Dw1HkdXAwHNH+ZDserHP2RzXQmhHtpsYYI0hf8fuGAVCIVwvS6w1+InLxpPMY25P8ASRNiFN3hADtoh6lI+4lg=="], + + "@oxlint/binding-linux-riscv64-musl": ["@oxlint/binding-linux-riscv64-musl@1.49.0", "", { "os": "linux", "cpu": "none" }, "sha512-EPlMYaA05tJ9km/0dI9K57iuMq3Tw+nHst7TNIegAJZrBPtsOtYaMFZEaWj02HA8FI5QvSnRHMt+CI+RIhXJBQ=="], + + "@oxlint/binding-linux-s390x-gnu": ["@oxlint/binding-linux-s390x-gnu@1.49.0", "", { "os": "linux", "cpu": "s390x" }, "sha512-yZiQL9qEwse34aMbnMb5VqiAWfDY+fLFuoJbHOuzB1OaJZbN1MRF9Nk+W89PIpGr5DNPDipwjZb8+Q7wOywoUQ=="], + + "@oxlint/binding-linux-x64-gnu": ["@oxlint/binding-linux-x64-gnu@1.49.0", "", { "os": "linux", "cpu": "x64" }, "sha512-CcCDwMMXSchNkhdgvhVn3DLZ4EnBXAD8o8+gRzahg+IdSt/72y19xBgShJgadIRF0TsRcV/MhDUMwL5N/W54aQ=="], + + "@oxlint/binding-linux-x64-musl": ["@oxlint/binding-linux-x64-musl@1.49.0", "", { "os": "linux", "cpu": "x64" }, "sha512-u3HfKV8BV6t6UCCbN0RRiyqcymhrnpunVmLFI8sEa5S/EBu+p/0bJ3D7LZ2KT6PsBbrB71SWq4DeFrskOVgIZg=="], + + "@oxlint/binding-openharmony-arm64": ["@oxlint/binding-openharmony-arm64@1.49.0", "", { "os": "none", "cpu": "arm64" }, "sha512-dRDpH9fw+oeUMpM4br0taYCFpW6jQtOuEIec89rOgDA1YhqwmeRcx0XYeCv7U48p57qJ1XZHeMGM9LdItIjfzA=="], + + "@oxlint/binding-win32-arm64-msvc": ["@oxlint/binding-win32-arm64-msvc@1.49.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-6rrKe/wL9tn0qnOy76i1/0f4Dc3dtQnibGlU4HqR/brVHlVjzLSoaH0gAFnLnznh9yQ6gcFTBFOPrcN/eKPDGA=="], + + "@oxlint/binding-win32-ia32-msvc": ["@oxlint/binding-win32-ia32-msvc@1.49.0", "", { "os": "win32", "cpu": "ia32" }, "sha512-CXHLWAtLs2xG/aVy1OZiYJzrULlq0QkYpI6cd7VKMrab+qur4fXVE/B1Bp1m0h1qKTj5/FTGg6oU4qaXMjS/ug=="], + + "@oxlint/binding-win32-x64-msvc": ["@oxlint/binding-win32-x64-msvc@1.49.0", "", { "os": "win32", "cpu": "x64" }, "sha512-VteIelt78kwzSglOozaQcs6BCS4Lk0j+QA+hGV0W8UeyaqQ3XpbZRhDU55NW1PPvCy1tg4VXsTlEaPovqto7nQ=="], + "@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.56.0", "", { "os": "android", "cpu": "arm" }, "sha512-LNKIPA5k8PF1+jAFomGe3qN3bbIgJe/IlpDBwuVjrDKrJhVWywgnJvflMt/zkbVNLFtF1+94SljYQS6e99klnw=="], "@rollup/rollup-android-arm64": ["@rollup/rollup-android-arm64@4.56.0", "", { "os": "android", "cpu": "arm64" }, "sha512-lfbVUbelYqXlYiU/HApNMJzT1E87UPGvzveGg2h0ktUNlOCxKlWuJ9jtfvs1sKHdwU4fzY7Pl8sAl49/XaEk6Q=="], @@ -288,6 +348,8 @@ "html-void-elements": ["html-void-elements@3.0.0", "", {}, "sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg=="], + "husky": ["husky@9.1.7", "", { "bin": { "husky": "bin.js" } }, "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA=="], + "is-what": ["is-what@5.5.0", "", {}, "sha512-oG7cgbmg5kLYae2N5IVd3jm2s+vldjxJzK1pcu9LfpGuQ93MQSzo0okvRna+7y5ifrD+20FE8FvjusyGaz14fw=="], "magic-string": ["magic-string@0.30.21", "", { "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.5" } }, "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ=="], @@ -314,6 +376,10 @@ "oniguruma-to-es": ["oniguruma-to-es@3.1.1", "", { "dependencies": { "emoji-regex-xs": "^1.0.0", "regex": "^6.0.1", "regex-recursion": "^6.0.2" } }, "sha512-bUH8SDvPkH3ho3dvwJwfonjlQ4R80vjyvrU8YpxuROddv55vAEJrTuCuCVUhhsHbtlD9tGGbaNApGQckXhS8iQ=="], + "oxfmt": ["oxfmt@0.34.0", "", { "dependencies": { "tinypool": "2.1.0" }, "optionalDependencies": { "@oxfmt/binding-android-arm-eabi": "0.34.0", "@oxfmt/binding-android-arm64": "0.34.0", "@oxfmt/binding-darwin-arm64": "0.34.0", "@oxfmt/binding-darwin-x64": "0.34.0", "@oxfmt/binding-freebsd-x64": "0.34.0", "@oxfmt/binding-linux-arm-gnueabihf": "0.34.0", "@oxfmt/binding-linux-arm-musleabihf": "0.34.0", "@oxfmt/binding-linux-arm64-gnu": "0.34.0", "@oxfmt/binding-linux-arm64-musl": "0.34.0", "@oxfmt/binding-linux-ppc64-gnu": "0.34.0", "@oxfmt/binding-linux-riscv64-gnu": "0.34.0", "@oxfmt/binding-linux-riscv64-musl": "0.34.0", "@oxfmt/binding-linux-s390x-gnu": "0.34.0", "@oxfmt/binding-linux-x64-gnu": "0.34.0", "@oxfmt/binding-linux-x64-musl": "0.34.0", "@oxfmt/binding-openharmony-arm64": "0.34.0", "@oxfmt/binding-win32-arm64-msvc": "0.34.0", "@oxfmt/binding-win32-ia32-msvc": "0.34.0", "@oxfmt/binding-win32-x64-msvc": "0.34.0" }, "bin": { "oxfmt": "bin/oxfmt" } }, "sha512-t+zTE4XGpzPTK+Zk9gSwcJcFi4pqjl6PwO/ZxPBJiJQ2XCKMucwjPlHxvPHyVKJtkMSyrDGfQ7Ntg/hUr4OgHQ=="], + + "oxlint": ["oxlint@1.49.0", "", { "optionalDependencies": { "@oxlint/binding-android-arm-eabi": "1.49.0", "@oxlint/binding-android-arm64": "1.49.0", "@oxlint/binding-darwin-arm64": "1.49.0", "@oxlint/binding-darwin-x64": "1.49.0", "@oxlint/binding-freebsd-x64": "1.49.0", "@oxlint/binding-linux-arm-gnueabihf": "1.49.0", "@oxlint/binding-linux-arm-musleabihf": "1.49.0", "@oxlint/binding-linux-arm64-gnu": "1.49.0", "@oxlint/binding-linux-arm64-musl": "1.49.0", "@oxlint/binding-linux-ppc64-gnu": "1.49.0", "@oxlint/binding-linux-riscv64-gnu": "1.49.0", "@oxlint/binding-linux-riscv64-musl": "1.49.0", "@oxlint/binding-linux-s390x-gnu": "1.49.0", "@oxlint/binding-linux-x64-gnu": "1.49.0", "@oxlint/binding-linux-x64-musl": "1.49.0", "@oxlint/binding-openharmony-arm64": "1.49.0", "@oxlint/binding-win32-arm64-msvc": "1.49.0", "@oxlint/binding-win32-ia32-msvc": "1.49.0", "@oxlint/binding-win32-x64-msvc": "1.49.0" }, "peerDependencies": { "oxlint-tsgolint": ">=0.14.1" }, "optionalPeers": ["oxlint-tsgolint"], "bin": { "oxlint": "bin/oxlint" } }, "sha512-YZffp0gM+63CJoRhHjtjRnwKtAgUnXM6j63YQ++aigji2NVvLGsUlrXo9gJUXZOdcbfShLYtA6RuTu8GZ4lzOQ=="], + "perfect-debounce": ["perfect-debounce@1.0.0", "", {}, "sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA=="], "picocolors": ["picocolors@1.1.1", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="], @@ -350,6 +416,8 @@ "tabbable": ["tabbable@6.4.0", "", {}, "sha512-05PUHKSNE8ou2dwIxTngl4EzcnsCDZGJ/iCLtDflR/SHB/ny14rXc+qU5P4mG9JkusiV7EivzY9Mhm55AzAvCg=="], + "tinypool": ["tinypool@2.1.0", "", {}, "sha512-Pugqs6M0m7Lv1I7FtxN4aoyToKg1C4tu+/381vH35y8oENM/Ai7f7C4StcoK4/+BSw9ebcS8jRiVrORFKCALLw=="], + "trim-lines": ["trim-lines@3.0.1", "", {}, "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg=="], "unist-util-is": ["unist-util-is@6.0.1", "", { "dependencies": { "@types/unist": "^3.0.0" } }, "sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g=="], diff --git a/docs/package.json b/docs/package.json index 2644eb0..f901490 100644 --- a/docs/package.json +++ b/docs/package.json @@ -3,13 +3,15 @@ "dev": "vitepress dev", "build": "vitepress build", "preview": "vitepress preview", - "format": "biome format --write .", - "lint:fix": "biome lint --write .", - "lint": "biome lint .", - "check": "biome check --write ." + "format": "oxfmt", + "format:check": "oxfmt --check", + "lint": "oxlint", + "lint:fix": "oxlint --fix" }, "devDependencies": { - "@biomejs/biome": "2.4.4", + "husky": "^9.1.7", + "oxfmt": "^0.34.0", + "oxlint": "^1.49.0", "vitepress": "^1.6.4" } } diff --git a/docs/src/guide/admin/cache.md b/docs/src/admin-guide/cache.md index afacac5..b1a6754 100644 --- a/docs/src/guide/admin/cache.md +++ b/docs/src/admin-guide/cache.md @@ -2,7 +2,7 @@ LunaticChat では,かな・ローマ字変換時のフレーズを自動でメモリ・ディスクにキャッシュするシステムが搭載されています. -かな・ローマ字変換に関する情報は [こちら](../player/japanese-romanization.md) をご覧ください. +かな・ローマ字変換に関する情報は [こちら](../player-guide/japanese-romanization.md) をご覧ください. ## メモリキャッシュ diff --git a/docs/src/guide/admin/channel-chat/introduction.md b/docs/src/admin-guide/channel-chat/introduction.md index cf9fe52..559283c 100644 --- a/docs/src/guide/admin/channel-chat/introduction.md +++ b/docs/src/admin-guide/channel-chat/introduction.md @@ -6,7 +6,7 @@ プレイヤー間でチャンネルを作成し,特定のプレイヤー間で,チャットを共有できる機能です. -詳しい機能については [プレイヤー向けガイド版](../../player/channel-chat/about.md) を参照してください. +詳しい機能については [プレイヤー向けガイド版](../../player-guide/channel-chat/about.md) を参照してください. ## チャンネルチャットの展開準備 @@ -57,7 +57,7 @@ LunaticChat では,チャンネルチャット機能に限り v0.7.0 以降 Co ## チャンネルの管理 -基本的に,[チャンネルの管理はプレイヤー自身が行います](../../player/channel-chat/moderation.md). +基本的に,[チャンネルの管理はプレイヤー自身が行います](../../player-guide/channel-chat/moderation.md). ただし,サーバー管理者として,以下の点に注意してください: diff --git a/docs/src/guide/admin/channel-chat/logs.md b/docs/src/admin-guide/channel-chat/logs.md index 9b88bdd..df09169 100644 --- a/docs/src/guide/admin/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/guide/admin/configuration.md b/docs/src/admin-guide/configuration.md index b641549..dfe8094 100644 --- a/docs/src/guide/admin/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 @@ -147,9 +147,9 @@ LunaticChat のプレイヤー向けメッセージの言語を指定します - Type: `boolean` - Default: `true` -LunaticChat の [`/reply`](../../reference/commands/reply.md) コマンドによるクイックリプライ機能を有効にします. +LunaticChat の [`/reply`](../player-guide/commands/reply.md) コマンドによるクイックリプライ機能を有効にします. -無効にすると [`/reply`](../../reference/commands/reply.md) コマンドは Paper に登録されず,使用できなくなります. +無効にすると [`/reply`](../player-guide/commands/reply.md) コマンドは Paper に登録されず,使用できなくなります. ### `features.japaneseConversion.enabled` @@ -308,7 +308,7 @@ Velocity クロスサーバーチャットで表示されるサーバー名を - Type: `string` - Default: `§7[§e{sender} §7>> §e{recipient}§7] §f{message}` -ダイレクトメッセージ( [`/tell`](../../reference/commands/tell.md) や [`/reply`](../../reference/commands/reply.md) コマンド)で送信されるメッセージのフォーマットを指定します. +ダイレクトメッセージ( [`/tell`](../player-guide/commands/tell.md) や [`/reply`](../player-guide/commands/reply.md) コマンド)で送信されるメッセージのフォーマットを指定します. ### `messageFormat.channelMessageFormat` diff --git a/docs/src/guide/getting-started.md b/docs/src/admin-guide/getting-started.md index 83b125f..9254f33 100644 --- a/docs/src/guide/getting-started.md +++ b/docs/src/admin-guide/getting-started.md @@ -6,7 +6,9 @@ LunaticChat を使用するには,以下のソフトウェアが必要です - Java 21 (LTS 以降) - Paper 1.21 以降 - - 最新版は [こちら](https://papermc.io/downloads/paper), それ以降のバージョンは [こちら](https://fill-ui.papermc.io/projects/paper/family/1.21) から入手できます. + - または Folia 1.21 以降 + +最新版は [こちら](https://papermc.io/downloads/paper), それ以降のバージョンは [こちら](https://fill-ui.papermc.io/projects/paper/family/1.21) から入手できます. ::: warning Spigot 系プラットフォームでの動作について @@ -14,14 +16,6 @@ LunaticChat は Paper プラグインです.Spigot / Bukkit / CraftBukkit で ::: -::: tip Folia のサポートについて - -Folia は現在サポートされていません.将来的に対応する可能性がありますが,現時点では Folia 上での動作は保証されていません. - -詳しくは [Folia Support (m1sk9/LunaticChat #42)](https://github.com/m1sk9/LunaticChat/issues/42) を参照してください. - -::: - ## インストール LunaticChat をインストールします.LunaticChat は以下から入手できます: @@ -35,7 +29,7 @@ LunaticChat をインストールします.LunaticChat は以下から入手 LunaticChat を起動すると設定ファイル `config.yml` が作成されます. -該当のファイルを開き,初期設定を変更してください.なお,全設定項目の詳細については,[設定ガイド](admin/configuration.md)を参照してください. +該当のファイルを開き,初期設定を変更してください.なお,全設定項目の詳細については,[設定ガイド](./configuration.md)を参照してください. ### 推奨する初期設定 @@ -59,10 +53,10 @@ LunaticChat を起動すると設定ファイル `config.yml` が作成されま LunaticChat のパーミッションを LuckPerms などのパーミッション管理プラグインで設定します. -基本的なパーミッションは Paper や Velocity のデフォルトパーミッションシステム ( `OP` / `non OP` ) でも使用できるように開発されていますが,より詳細な制御を行う場合は LuckPerms の使用を推奨します. +基本的なパーミッションは Paper, Folia や Velocity のデフォルトパーミッションシステム ( `OP` / `non OP` ) でも使用できるように開発されていますが,より詳細な制御を行う場合は LuckPerms の使用を推奨します. -- パーミッションノードの詳細については [パーミッションガイド](../reference/permissions.md)を参照してください. -- コマンドの各機能に対応するパーミッションノードは,[コマンドリファレンス](../reference/index.md)を参照してください. +- パーミッションノードの詳細については [パーミッションガイド](./permissions.md)を参照してください. +- コマンドの各機能に対応するパーミッションノードは,[コマンドリファレンス](../player-guide/index.md)を参照してください. ## サーバーの再起動 @@ -72,7 +66,7 @@ LunaticChat のパーミッションを LuckPerms などのパーミッション ## 次は? -- [キャッシュシステム](./admin/cache.md): LunaticChat のキャッシュシステムについて説明します. -- [チャンネルチャット](./admin/channel-chat/introduction.md): チャンネルチャット機能の概要を説明します. -- [コマンド一覧](../reference/index.md): LunaticChat のコマンド一覧を確認します. -- [パーミッション一覧](../reference/permissions.md): LunaticChat のパーミッションノード一覧を確認します. +- [キャッシュシステム](./cache.md): LunaticChat のキャッシュシステムについて説明します. +- [チャンネルチャット](./channel-chat/introduction.md): チャンネルチャット機能の概要を説明します. +- [コマンド一覧](../player-guide/index.md): LunaticChat のコマンド一覧を確認します. +- [パーミッション一覧](./permissions.md): LunaticChat のパーミッションノード一覧を確認します. diff --git a/docs/src/guide/admin/management-data.md b/docs/src/admin-guide/management-data.md index 5527ffa..e557894 100644 --- a/docs/src/guide/admin/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/permissions.md b/docs/src/admin-guide/permissions.md new file mode 100644 index 0000000..a50d218 --- /dev/null +++ b/docs/src/admin-guide/permissions.md @@ -0,0 +1,179 @@ +# パーミッション + +LuckPerms を使用した設定方法に関する詳細は [LuckPerms Wiki](https://luckperms.net/wiki/Home) を参照してください. + +## `lunaticchat.*` + +### `lunaticchat.spy` + +- Default: `OP` + +各種プレイヤー間のやり取りを可視化します. + +この権限を持つプレイヤーは他プレイヤーの [`/tell`](../player-guide/commands/tell.md) / [`/reply`](../player-guide/commands/reply.md) でのメッセージ・全チャンネルチャットがブロードキャストされます. + +### `lunaticchat.noticeUpdate` + +- Default: `OP` + +LunaticChat のアップデート通知を受け取ります. + +[受け取るには `checkForUpdates` を有効にしておく](./configuration.md#checkforupdates) 必要があります. + +### `lunaticchat.channelbypass` + +- Default: `OP` + +各チャンネルのモデレート機能やプライベートチャンネルに対する制限を無視します. + +## `lunaticchat.command.*` + +### `lunaticchat.command.tell` + +- Default: `non OP` + +[`/tell`](../player-guide/commands/tell.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.reply` + +- Default: `non OP` + +[`/reply`](../player-guide/commands/reply.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lc` + +- Default: `non OP` + +`/lc` コマンドの使用を切り替えます. + +### `lunaticchat.command.lc.settings` + +- Default: `non OP` + +[`/lc settings`](../player-guide/commands/lc/settings.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lc.status` + +- Default: `non OP` + +[`/lc status`](../player-guide/commands/lc/status.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lc.channel` + +- Default: `non OP` + +[`/lc channel`](../player-guide/commands/lc/channel.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lc.channel.create` + +- Default: `non OP` + +[`/lc channel create`](../player-guide/commands/lc/channel.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lc.channel.list` + +- Default: `non OP` + +[`/lc channel list`](../player-guide/commands/lc/channel.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lc.channel.join` + +- Default: `non OP` + +[`/lc channel join`](../player-guide/commands/lc/channel.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lc.channel.leave` + +- Default: `non OP` + +[`/lc channel leave`](../player-guide/commands/lc/channel.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lc.channel.switch` + +- Default: `non OP` + +[`/lc channel switch`](../player-guide/commands/lc/channel.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lc.channel.status` + +- Default: `non OP` + +[`/lc channel status`](../player-guide/commands/lc/channel.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lc.channel.info` + +- Default: `non OP` + +[`/lc channel info`](../player-guide/commands/lc/channel.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lc.channel.delete` + +- Default: `non OP` + +[`/lc channel delete`](../player-guide/commands/lc/channel.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lc.channel.invite` + +- Default: `non OP` + +[`/lc channel invite`](../player-guide/commands/lc/channel.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lc.channel.kick` + +- Default: `non OP` + +[`/lc channel kick`](../player-guide/commands/lc/channel.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lc.channel.ban` + +- Default: `non OP` + +[`/lc channel ban`](../player-guide/commands/lc/channel.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lc.channel.unban` + +- Default: `non OP` + +[`/lc channel unban`](../player-guide/commands/lc/channel.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lc.channel.mod` + +- Default: `non OP` + +[`/lc channel mod`](../player-guide/commands/lc/channel.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lc.channel.ownership` + +- Default: `non OP` + +[`/lc channel ownership`](../player-guide/commands/lc/channel.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lc.chatmode` + +- Default: `non OP` + +[`/lc chatmode`](../player-guide/commands/lc/chatmode.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lc.chatmode.toggle` + +- Default: `non OP` + +[`/lc chatmode toggle`](../player-guide/commands/lc/chatmode.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.lcv.status` + +- Default: `OP` + +[`/lcv status`](../player-guide/commands/lcv/status.md) コマンドの使用を切り替えます. + +### `lunaticchat.command.jp` <Badge type="danger" text="非推奨: v1.0.0 で削除予定" /> + +- Default: `non OP` + +`/jp` コマンドの使用を切り替えます. + +### `lunaticchat.command.notice` <Badge type="danger" text="非推奨: v1.0.0 で削除予定" /> + +- Default: `non OP` + +`/notice` コマンドの使用を切り替えます. diff --git a/docs/src/guide/admin/velocity.md b/docs/src/admin-guide/velocity.md index 2b07ddb..b3652de 100644 --- a/docs/src/guide/admin/velocity.md +++ b/docs/src/admin-guide/velocity.md @@ -8,6 +8,14 @@ Velocity を使用して,プロキシサーバーを繋いだ Paper サーバ ::: +::: warning Folia との互換性 + +Velocity 連携機能は Folia とは互換性がありません. + +Folia を使用している場合は Velocity 連携機能を使用できません. + +::: + ## 連携機能を有効化する Velocity 連携を有効化するには以下の手順を行います: @@ -72,8 +80,8 @@ Velocity 連携が有効化されている場合,プロキシサーバーを Velocity 連携中に利用可能な主な機能は以下の通りです: -| | 互換性の有無 | 挙動 | 備考 | -|------------|--------|-----------------------------------|-----------------------------------| -| ダイレクトメッセージ | × | `/tell`, `/reply` コマンドはサーバー内限定で動作 | ダイレクトメッセージは Velocity 連携に対応していません. | -| チャンネルチャット | × | チャンネルチャットはサーバー内限定で動作 | チャンネルチャットは Velocity 連携に対応していません. | -| かな・ローマ字変換 | ◯ | かな・ローマ字変換は全サーバーで動作 | | +| | 互換性の有無 | 挙動 | 備考 | +| -------------------- | ------------ | ------------------------------------------------ | -------------------------------------------------------- | +| ダイレクトメッセージ | × | `/tell`, `/reply` コマンドはサーバー内限定で動作 | ダイレクトメッセージは Velocity 連携に対応していません. | +| チャンネルチャット | × | チャンネルチャットはサーバー内限定で動作 | チャンネルチャットは Velocity 連携に対応していません. | +| かな・ローマ字変換 | ◯ | かな・ローマ字変換は全サーバーで動作 | | diff --git a/docs/src/en/guide/admin/cache.md b/docs/src/en/admin-guide/cache.md index 2fa2802..5142a9e 100644 --- a/docs/src/en/guide/admin/cache.md +++ b/docs/src/en/admin-guide/cache.md @@ -2,7 +2,7 @@ LunaticChat includes a system that automatically caches phrases from Japanese romanization conversion to both memory and disk. -For information on Japanese romanization conversion, see [here](../player/japanese-romanization.md). +For information on Japanese romanization conversion, see [here](../player-guide/japanese-romanization.md). ## Memory Cache @@ -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/guide/admin/channel-chat/introduction.md b/docs/src/en/admin-guide/channel-chat/introduction.md index e755139..c87be1b 100644 --- a/docs/src/en/guide/admin/channel-chat/introduction.md +++ b/docs/src/en/admin-guide/channel-chat/introduction.md @@ -6,7 +6,7 @@ This guide explains how to deploy channel chat. Channel chat is a feature that allows players to create channels and share chat among specific players. -For detailed features, please refer to the [Player Guide](../../player/channel-chat/about.md). +For detailed features, please refer to the [Player Guide](../../player-guide/channel-chat/about.md). ## Preparing to Deploy Channel Chat @@ -57,7 +57,7 @@ For more details, see [Channel Chat: Logs](logs.md). ## Channel Management -Basically, [players manage channels themselves](../../player/channel-chat/moderation.md). +Basically, [players manage channels themselves](../../player-guide/channel-chat/moderation.md). However, as a server administrator, please note the following: diff --git a/docs/src/en/guide/admin/channel-chat/logs.md b/docs/src/en/admin-guide/channel-chat/logs.md index b65750b..632a572 100644 --- a/docs/src/en/guide/admin/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/guide/admin/configuration.md b/docs/src/en/admin-guide/configuration.md index 15c8f10..61d99ef 100644 --- a/docs/src/en/guide/admin/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 @@ -147,9 +147,9 @@ Specifies the language for LunaticChat's player-facing messages. - Type: `boolean` - Default: `true` -Enables the quick reply feature via the [`/reply`](../../reference/commands/reply.md) command in LunaticChat. +Enables the quick reply feature via the [`/reply`](../player-guide/commands/reply.md) command in LunaticChat. -When disabled, the [`/reply`](../../reference/commands/reply.md) command will not be registered with Paper and cannot be used. +When disabled, the [`/reply`](../player-guide/commands/reply.md) command will not be registered with Paper and cannot be used. ### `features.japaneseConversion.enabled` @@ -309,7 +309,7 @@ Available placeholders: - Type: `string` - Default: `§7[§e{sender} §7>> §e{recipient}§7] §f{message}` -Specifies the format for messages sent via direct message ([`/tell`](../../reference/commands/tell.md) or [`/reply`](../../reference/commands/reply.md) commands). +Specifies the format for messages sent via direct message ([`/tell`](../player-guide/commands/tell.md) or [`/reply`](../player-guide/commands/reply.md) commands). ### `messageFormat.channelMessageFormat` diff --git a/docs/src/en/guide/getting-started.md b/docs/src/en/admin-guide/getting-started.md index e7aaf2d..c7654a0 100644 --- a/docs/src/en/guide/getting-started.md +++ b/docs/src/en/admin-guide/getting-started.md @@ -17,7 +17,7 @@ When LunaticChat starts, the following files will be created: - `plugins/LunaticChat/player-settings.yaml`: User-specific settings file - `plugins/LunaticChat/conversion_cache.json`: Romanization conversion cache file -Open the configuration file `config.yml` and modify the settings as needed. For details on configuration options, refer to the [Configuration Guide](admin/configuration.md). +Open the configuration file `config.yml` and modify the settings as needed. For details on configuration options, refer to the [Configuration Guide](./configuration.md). ## Permissions @@ -25,8 +25,8 @@ Set LunaticChat's permissions using a permission management plugin like LuckPerm Basic permissions can be configured using Paper or Velocity's default permission system (`OP` / `non OP`), but LuckPerms is recommended for more detailed control. -- For details on permission nodes, refer to the [Permissions Guide](../reference/permissions.md). -- For permission nodes corresponding to each command feature, refer to the [Command Reference](../reference/index.md). +- For details on permission nodes, refer to the [Permissions Guide](./permissions.md). +- For permission nodes corresponding to each command feature, refer to the [Command Reference](../player-guide/index.md). ## Restart the server @@ -36,7 +36,7 @@ This completes the basic setup of LunaticChat. ## What's next? -- [Cache System](./admin/cache.md): Explains LunaticChat's cache system. -- [Channel Chat](./admin/channel-chat/introduction.md): Overview of the channel chat feature. -- [Command List](../reference/index.md): View the list of LunaticChat commands. -- [Permissions List](../reference/permissions.md): View LunaticChat's permission nodes. +- [Cache System](./cache.md): Explains LunaticChat's cache system. +- [Channel Chat](./channel-chat/introduction.md): Overview of the channel chat feature. +- [Command List](../player-guide/index.md): View the list of LunaticChat commands. +- [Permissions List](./permissions.md): View LunaticChat's permission nodes. diff --git a/docs/src/en/guide/admin/management-data.md b/docs/src/en/admin-guide/management-data.md index ffed59d..3f09506 100644 --- a/docs/src/en/guide/admin/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/permissions.md b/docs/src/en/admin-guide/permissions.md new file mode 100644 index 0000000..6bb8172 --- /dev/null +++ b/docs/src/en/admin-guide/permissions.md @@ -0,0 +1,179 @@ +# Permissions + +For details on configuration using LuckPerms, refer to the [LuckPerms Wiki](https://luckperms.net/wiki/Home). + +## `lunaticchat.*` + +### `lunaticchat.spy` + +- Default: `OP` + +Visualizes communication via [`/tell`](../player-guide/commands/tell.md) / [`/reply`](../player-guide/commands/reply.md) commands. + +Players with this permission will have messages from other players' [`/tell`](../player-guide/commands/tell.md) / [`/reply`](../player-guide/commands/reply.md) commands broadcast to them. + +### `lunaticchat.noticeUpdate` + +- Default: `OP` + +Receives LunaticChat update notifications. + +[You must have `checkForUpdates` enabled](./configuration.md#checkforupdates) to receive notifications. + +### `lunaticchat.channelbypass` + +- Default: `OP` + +Bypasses moderation features and restrictions on private channels. + +## `lunaticchat.command.*` + +### `lunaticchat.command.tell` + +- Default: `non OP` + +Toggles the use of the [`/tell`](../player-guide/commands/tell.md) command. + +### `lunaticchat.command.reply` + +- Default: `non OP` + +Toggles the use of the [`/reply`](../player-guide/commands/reply.md) command. + +### `lunaticchat.command.lc` + +- Default: `non OP` + +Toggles the use of the `/lc` command. + +### `lunaticchat.command.lc.settings` + +- Default: `non OP` + +Toggles the use of the [`/lc settings`](../player-guide/commands/lc/settings.md) command. + +### `lunaticchat.command.lc.status` + +- Default: `non OP` + +Toggles the use of the [`/lc status`](../player-guide/commands/lc/status.md) command. + +### `lunaticchat.command.lc.channel` + +- Default: `non OP` + +Toggles the use of the [`/lc channel`](../player-guide/commands/lc/channel.md) command. + +### `lunaticchat.command.lc.channel.create` + +- Default: `non OP` + +Toggles the use of the [`/lc channel create`](../player-guide/commands/lc/channel.md) command. + +### `lunaticchat.command.lc.channel.list` + +- Default: `non OP` + +Toggles the use of the [`/lc channel list`](../player-guide/commands/lc/channel.md) command. + +### `lunaticchat.command.lc.channel.join` + +- Default: `non OP` + +Toggles the use of the [`/lc channel join`](../player-guide/commands/lc/channel.md) command. + +### `lunaticchat.command.lc.channel.leave` + +- Default: `non OP` + +Toggles the use of the [`/lc channel leave`](../player-guide/commands/lc/channel.md) command. + +### `lunaticchat.command.lc.channel.switch` + +- Default: `non OP` + +Toggles the use of the [`/lc channel switch`](../player-guide/commands/lc/channel.md) command. + +### `lunaticchat.command.lc.channel.status` + +- Default: `non OP` + +Toggles the use of the [`/lc channel status`](../player-guide/commands/lc/channel.md) command. + +### `lunaticchat.command.lc.channel.info` + +- Default: `non OP` + +Toggles the use of the [`/lc channel info`](../player-guide/commands/lc/channel.md) command. + +### `lunaticchat.command.lc.channel.delete` + +- Default: `non OP` + +Toggles the use of the [`/lc channel delete`](../player-guide/commands/lc/channel.md) command. + +### `lunaticchat.command.lc.channel.invite` + +- Default: `non OP` + +Toggles the use of the [`/lc channel invite`](../player-guide/commands/lc/channel.md) command. + +### `lunaticchat.command.lc.channel.kick` + +- Default: `non OP` + +Toggles the use of the [`/lc channel kick`](../player-guide/commands/lc/channel.md) command. + +### `lunaticchat.command.lc.channel.ban` + +- Default: `non OP` + +Toggles the use of the [`/lc channel ban`](../player-guide/commands/lc/channel.md) command. + +### `lunaticchat.command.lc.channel.unban` + +- Default: `non OP` + +Toggles the use of the [`/lc channel unban`](../player-guide/commands/lc/channel.md) command. + +### `lunaticchat.command.lc.channel.mod` + +- Default: `non OP` + +Toggles the use of the [`/lc channel mod`](../player-guide/commands/lc/channel.md) command. + +### `lunaticchat.command.lc.channel.ownership` + +- Default: `non OP` + +Toggles the use of the [`/lc channel ownership`](../player-guide/commands/lc/channel.md) command. + +### `lunaticchat.command.lc.chatmode` + +- Default: `non OP` + +Toggles the use of the [`/lc chatmode`](../player-guide/commands/lc/chatmode.md) command. + +### `lunaticchat.command.lc.chatmode.toggle` + +- Default: `non OP` + +Toggles the use of the [`/lc chatmode toggle`](../player-guide/commands/lc/chatmode.md) command. + +### `lunaticchat.command.lcv.status` + +- Default: `OP` + +Toggles the use of the [`/lcv status`](../player-guide/commands/lcv/status.md) command. + +### `lunaticchat.command.jp` <Badge type="danger" text="Deprecated: Will be removed in v1.0.0" /> + +- Default: `non OP` + +Toggles the use of the [`/jp`](../player-guide/commands/jp.md) command. + +### `lunaticchat.command.notice` <Badge type="danger" text="Deprecated: Will be removed in v1.0.0" /> + +- Default: `non OP` + +Toggles the use of the [`/notice`](../player-guide/commands/notice.md) command. diff --git a/docs/src/en/guide/admin/velocity.md b/docs/src/en/admin-guide/velocity.md index e1f9aa0..97f2a7f 100644 --- a/docs/src/en/guide/admin/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/guide/player/channel-chat.md b/docs/src/en/guide/player/channel-chat.md deleted file mode 100644 index f1dcbf0..0000000 --- a/docs/src/en/guide/player/channel-chat.md +++ /dev/null @@ -1,13 +0,0 @@ -# Channel Chat <Badge type="tip" text="v0.6.0" /> <Badge type="warning" text="Experimental" /> - -This feature allows specific players to share chat. - -::: warning Experimental Feature - -This feature is currently implemented experimentally, and specifications may change in future updates. - -Since this is a large-scale feature, we plan to implement it gradually rather than all at once. - -For detailed implementation plans, see the [Roadmap (m1sk9/LunaticChat #54)](https://github.com/m1sk9/LunaticChat/issues/54). - -::: diff --git a/docs/src/en/index.md b/docs/src/en/index.md index 266c4a6..63441df 100644 --- a/docs/src/en/index.md +++ b/docs/src/en/index.md @@ -3,18 +3,15 @@ layout: home hero: - name: "LunaticChat" - tagline: Next-generation chat plugin for Paper/Velocity. + name: 'LunaticChat' + tagline: A next-generation chat plugin for Paper, Folia and Velocity. actions: - theme: brand - text: Getting Started - link: /en/guide/getting-started + text: Player Guide + link: /en/player-guide/channel-chat/about - theme: brand - text: About LunaticChat - link: /en/guide/about - - theme: brand - text: Reference - link: /en/reference + text: Admin Guide + link: /en/admin-guide/getting-started - theme: alt text: GitHub link: https://github.com/m1sk9/LunaticChat @@ -36,7 +33,7 @@ features: details: Create and manage chat channels, send private messages between specific players icon: ☎️ - title: Multi-Platform Support - details: Support for multi-platform Paper and Velocity, enabling cross-server chat + details: Support for multi-platform Paper, Folia and Velocity, enabling cross-server chat icon: 🚀 - title: High-Speed Performance with Caching details: Uses caching for romaji-to-Japanese conversion, operating faster than traditional LunaChat @@ -45,4 +42,3 @@ features: details: Reduces dependencies on other plugins, always supporting the latest Minecraft versions icon: ⛏️️ --- - diff --git a/docs/src/en/guide/about.md b/docs/src/en/player-guide/about.md index 388df7b..ef64e3b 100644 --- a/docs/src/en/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/guide/player/channel-chat/about.md b/docs/src/en/player-guide/channel-chat/about.md index 3b9b088..2e7ab58 100644 --- a/docs/src/en/guide/player/channel-chat/about.md +++ b/docs/src/en/player-guide/channel-chat/about.md @@ -24,7 +24,7 @@ Please contact your server administrator. To use channel chat, you must first create a chat channel. -Use the [`/lc channnel create`](../../../reference/commands/lc/channel.md#lc-channel-create-channel-id-channel-name-channel-description-private-setting) command to create a chat channel. +Use the [`/lc channnel create`](../commands/lc/channel.md#lc-channel-create-channel-id-channel-name-channel-description-private-setting) command to create a chat channel. ``` /lc channel create <channel-id> <channel-name> [channel-description] [private-setting] @@ -43,7 +43,7 @@ Use the [`/lc channnel create`](../../../reference/commands/lc/channel.md#lc-cha 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 (-) ::: @@ -63,7 +63,7 @@ The channel will be created and a confirmation message will be displayed in chat ## Joining a Channel -To join a created channel, use the [`/lc channel join`](../../../reference/commands/lc/channel.md#lc-channel-join-channel-id) command. +To join a created channel, use the [`/lc channel join`](../commands/lc/channel.md#lc-channel-join-channel-id) command. ``` /lc channel join <channel-id> @@ -73,7 +73,7 @@ When you join a channel, your chat mode will switch from global chat to channel ## Viewing the Channel List -To view the list of channels you can join, use the [`/lc channel list`](../../../reference/commands/lc/channel.md#lc-channel-list) command. +To view the list of channels you can join, use the [`/lc channel list`](../commands/lc/channel.md#lc-channel-list) command. ``` /lc channel list @@ -99,13 +99,13 @@ In LunaticChat, a player's active channel and membership status are managed sepa - Active channel: The channel used in channel chat mode - Membership status: List of channels the player has joined -Only one channel can be designated as the active channel at a time. To switch the active channel to a channel in your membership status, use the [`/lc channel switch`](../../../reference/commands/lc/channel.md#lc-channel-switch-channel-id) command. +Only one channel can be designated as the active channel at a time. To switch the active channel to a channel in your membership status, use the [`/lc channel switch`](../commands/lc/channel.md#lc-channel-switch-channel-id) command. ``` /lc channel switch <channel-id> ``` -Removing a channel from your active status does not remove it from your membership status. To leave a channel, switch to it as your active channel first, then use the [`/lc channel leave`](../../../reference/commands/lc/channel.md#lc-channel-leave) command. +Removing a channel from your active status does not remove it from your membership status. To leave a channel, switch to it as your active channel first, then use the [`/lc channel leave`](../commands/lc/channel.md#lc-channel-leave) command. ``` /lc channel leave diff --git a/docs/src/en/guide/player/channel-chat/chatmode.md b/docs/src/en/player-guide/channel-chat/chatmode.md index 02d6a18..02d6a18 100644 --- a/docs/src/en/guide/player/channel-chat/chatmode.md +++ b/docs/src/en/player-guide/channel-chat/chatmode.md diff --git a/docs/src/en/guide/player/channel-chat/moderation.md b/docs/src/en/player-guide/channel-chat/moderation.md index 3bf8609..14e2c8b 100644 --- a/docs/src/en/guide/player/channel-chat/moderation.md +++ b/docs/src/en/player-guide/channel-chat/moderation.md @@ -36,7 +36,7 @@ Server administrators uniformly have the same permissions as owner permissions i ## Temporarily Expel a Member (Kick) -To temporarily expel a member from a channel, use the [`/lc channel kick`](../../../reference/commands/lc/channel.md#lc-channel-kick-player-id) command. +To temporarily expel a member from a channel, use the [`/lc channel kick`](../commands/lc/channel.md#lc-channel-kick-player-id) command. ``` /lc channel kick <player ID> @@ -48,7 +48,7 @@ However, the expelled player can rejoin. ## Permanently Ban a Member (Ban) -To permanently ban a member from a channel, use the [`/lc channel ban`](../../../reference/commands/lc/channel.md#lc-channel-ban-player-id) command. +To permanently ban a member from a channel, use the [`/lc channel ban`](../commands/lc/channel.md#lc-channel-ban-player-id) command. ``` /lc channel ban <player ID> @@ -58,7 +58,7 @@ Executing this command will immediately expel the specified player from the chan ## Unban a Permanently Banned Member -To unban a permanently banned member, use the [`/lc channel unban`](../../../reference/commands/lc/channel.md#lc-channel-unban-player-id) command. +To unban a permanently banned member, use the [`/lc channel unban`](../commands/lc/channel.md#lc-channel-unban-player-id) command. ``` /lc channel unban <player ID> @@ -66,7 +66,7 @@ To unban a permanently banned member, use the [`/lc channel unban`](../../../ref ## Appoint/Dismiss Moderators -To appoint/dismiss a channel member as a moderator, use the [`/lc channel mod`](../../../reference/commands/lc/channel.md#lc-channel-mod-player-id) command. +To appoint/dismiss a channel member as a moderator, use the [`/lc channel mod`](../commands/lc/channel.md#lc-channel-mod-player-id) command. ``` /lc channel mod <player ID> @@ -76,7 +76,7 @@ Executing this command will appoint the specified player as a moderator. Executi ## Transfer Owner Permissions -To transfer channel owner permissions to another member, use the [`/lc channel ownership`](../../../reference/commands/lc/channel.md#lc-channel-ownership-player-id) command. +To transfer channel owner permissions to another member, use the [`/lc channel ownership`](../commands/lc/channel.md#lc-channel-ownership-player-id) command. ``` /lc channel ownership <player ID> @@ -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/guide/player/channel-chat/private-channel.md b/docs/src/en/player-guide/channel-chat/private-channel.md index 3b33559..414f783 100644 --- a/docs/src/en/guide/player/channel-chat/private-channel.md +++ b/docs/src/en/player-guide/channel-chat/private-channel.md @@ -4,7 +4,7 @@ Private channels are chat channels that only specific users can join. ## Creating a Private Channel -To create a private channel, use the [`/lc channel create`](../../../reference/commands/lc/channel.md) command and specify `true` for the private setting argument. +To create a private channel, use the [`/lc channel create`](../commands/lc/channel.md) command and specify `true` for the private setting argument. ``` /lc channel create <channel ID> <channel name> [channel description] [private setting] @@ -16,7 +16,7 @@ Private channels are not listed in the `/lc channel list` command and cannot be To join, you need to receive an invitation from the owner or moderator. -To invite someone, use the [`/lc channel invite`](../../../reference/commands/lc/channel.md#lc-channel-invite-player-id) command. +To invite someone, use the [`/lc channel invite`](../commands/lc/channel.md#lc-channel-invite-player-id) command. ``` /lc channel invite <player ID> diff --git a/docs/src/en/reference/commands/jp.md b/docs/src/en/player-guide/commands/jp.md index 839e6e1..3ed57aa 100644 --- a/docs/src/en/reference/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/reference/commands/lc/channel.md b/docs/src/en/player-guide/commands/lc/channel.md index 31941ca..edb33c2 100644 --- a/docs/src/en/reference/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/reference/commands/lc/chatmode.md b/docs/src/en/player-guide/commands/lc/chatmode.md index e3f335f..97472be 100644 --- a/docs/src/en/reference/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 new file mode 100644 index 0000000..a2bf4cf --- /dev/null +++ b/docs/src/en/player-guide/commands/lc/settings.md @@ -0,0 +1,19 @@ +# /lc settings <Badge type="tip" text="v0.5.0" /> <Badge type="tip" text="Paper" /> + +### `/lc settings <key> [value]` + +| Permission | +| --------------------------------- | +| `lunaticchat.command.lc.settings` | + +Manages player settings for LunaticChat. If no value is specified, the current setting value will be displayed. + +This setting is saved by UUID, so the setting will not be lost even if you change your MCID. + +#### 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` | diff --git a/docs/src/en/reference/commands/lc/status.md b/docs/src/en/player-guide/commands/lc/status.md index 1fa6a39..fe9a680 100644 --- a/docs/src/en/reference/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/reference/commands/lcv/status.md b/docs/src/en/player-guide/commands/lcv/status.md index 2b85283..f54fd14 100644 --- a/docs/src/en/reference/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/reference/commands/notice.md b/docs/src/en/player-guide/commands/notice.md index 4e7f41f..fc74014 100644 --- a/docs/src/en/reference/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/reference/commands/reply.md b/docs/src/en/player-guide/commands/reply.md index 1b26be2..1cca973 100644 --- a/docs/src/en/reference/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/reference/commands/tell.md b/docs/src/en/player-guide/commands/tell.md index fb2b8e1..cde71d6 100644 --- a/docs/src/en/reference/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. diff --git a/docs/src/en/guide/player/direct-message.md b/docs/src/en/player-guide/direct-message.md index 64c99b8..54f7404 100644 --- a/docs/src/en/guide/player/direct-message.md +++ b/docs/src/en/player-guide/direct-message.md @@ -4,7 +4,7 @@ The direct message feature allows you to send messages to specific players only. ## Sending Messages -To send a message, use the [`/tell`](../../reference/commands/tell.md) command. +To send a message, use the [`/tell`](./commands/tell.md) command. You can only send messages to online players. Messages cannot be sent to offline players. @@ -32,7 +32,7 @@ Since LunaticChat is designed based on the Minecraft Java Edition/Paper chat sys LunaticChat provides a quick reply feature that allows you to quickly respond to the most recent player who sent you a direct message. -To use quick reply, use the [`/reply`](../../reference/commands/reply.md) command. +To use quick reply, use the [`/reply`](./commands/reply.md) command. ``` /reply <message> @@ -52,7 +52,7 @@ As of v0.4.0, you can change the notification settings for direct messages. A notification sound will play when you receive or send a direct message. -To change notification settings, use the [`/lc settings`](../../reference/commands/lc/settings.md) command. +To change notification settings, use the [`/lc settings`](./commands/lc/settings.md) command. ::: tip Client Volume Settings @@ -60,6 +60,6 @@ This notification sound depends on the **Players** category volume setting on th If you cannot hear LunaticChat's notification sound, check your client's volume settings. - + ::: diff --git a/docs/src/en/player-guide/getting-started.md b/docs/src/en/player-guide/getting-started.md new file mode 100644 index 0000000..19f7c83 --- /dev/null +++ b/docs/src/en/player-guide/getting-started.md @@ -0,0 +1,77 @@ +# Player Guide: Getting Started + +This guide is for players who have joined a server with LunaticChat installed. + +::: info For Server Administrators + +For plugin installation and configuration, refer to the [Admin Guide: Getting Started](../admin-guide/getting-started.md). + +::: + +## What You Can Do with LunaticChat + +LunaticChat is a plugin that extends the chat features of your Minecraft server. The following features are available: + +- **Direct Messages**: Send one-on-one messages to specific players +- **Quick Reply**: Quickly reply to the last player who messaged you with a single command +- **Channel Chat**: Create and join channels with other players to chat only among specific members +- **Romanization Conversion**: Automatically converts messages typed in romaji to hiragana + +::: tip + +Available features may vary depending on server configuration. Contact your server administrator for details. + +::: + +## Sending Direct Messages + +Use the [`/tell`](./commands/tell.md) command to send a message to a specific player. + +``` +/tell <player> <message> +``` + +After receiving a message, you can quickly reply using the [`/reply`](./commands/reply.md) command. + +``` +/reply <message> +``` + +For more details, see [Direct Messages](./direct-message.md). + +## Joining Channel Chat + +Channel chat lets you create and join channels where only specific members can converse. + +You can see available channels with [`/lc channel list`](./commands/lc/channel.md). + +``` +/lc channel list +``` + +To join a channel, use [`/lc channel join`](./commands/lc/channel.md). + +``` +/lc channel join <channel-id> +``` + +For more details, see [Channel Chat](./channel-chat/about.md). + +## Using Romanization Conversion + +LunaticChat can automatically convert messages typed in romaji to hiragana. + +You can toggle romanization conversion on or off with the [`/lc settings`](./commands/lc/settings.md) command. + +``` +/lc settings romanization <on|off> +``` + +For more details, see [Romanization Conversion](./japanese-romanization.md). + +## What's Next? + +- [Channel Chat](./channel-chat/about.md): Learn how to use channel chat +- [Direct Messages](./direct-message.md): Learn how to use direct messages +- [Romanization Conversion](./japanese-romanization.md): Details on the romanization conversion feature +- [Command List](./index.md): View all commands available in LunaticChat diff --git a/docs/src/en/reference/index.md b/docs/src/en/player-guide/index.md index 338694e..545d0f6 100644 --- a/docs/src/en/reference/index.md +++ b/docs/src/en/player-guide/index.md @@ -2,7 +2,7 @@ This page is a reference for players using LunaticChat. -For plugin installation and configuration, refer to the [Guide](../guide/getting-started.md). +For plugin installation and configuration, refer to the [Guide](../admin-guide/getting-started.md). ## Legend diff --git a/docs/src/en/guide/player/japanese-romanization.md b/docs/src/en/player-guide/japanese-romanization.md index e851bb9..104d6d0 100644 --- a/docs/src/en/guide/player/japanese-romanization.md +++ b/docs/src/en/player-guide/japanese-romanization.md @@ -6,7 +6,7 @@ LunaticChat provides a feature to convert Japanese text from romaji. The romanization conversion feature is enabled by default. -You can toggle the romanization conversion setting using the [`/lc settings`](../../reference/commands/lc/settings.md) command. +You can toggle the romanization conversion setting using the [`/lc settings`](./commands/lc/settings.md) command. ## Conversion Process @@ -53,7 +53,7 @@ To avoid adding load, the contents of the memory cache are automatically saved t ::: -For information on cache files, see [here](../admin/cache.md). +For information on cache files, see [here](../admin-guide/cache.md). ## Improved Cache Strategy <Badge type="tip" text="v0.5.0" /> diff --git a/docs/src/en/reference/commands/lc/settings.md b/docs/src/en/reference/commands/lc/settings.md deleted file mode 100644 index 8b88066..0000000 --- a/docs/src/en/reference/commands/lc/settings.md +++ /dev/null @@ -1,19 +0,0 @@ -# /lc settings <Badge type="tip" text="v0.5.0" /> <Badge type="tip" text="Paper" /> - -### `/lc settings <key> [value]` - -| Permission | -|-----------------------------------| -| `lunaticchat.command.lc.settings` | - -Manages player settings for LunaticChat. If no value is specified, the current setting value will be displayed. - -This setting is saved by UUID, so the setting will not be lost even if you change your MCID. - -#### 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` | diff --git a/docs/src/en/reference/permissions.md b/docs/src/en/reference/permissions.md deleted file mode 100644 index 4508808..0000000 --- a/docs/src/en/reference/permissions.md +++ /dev/null @@ -1,179 +0,0 @@ -# Permissions - -For details on configuration using LuckPerms, refer to the [LuckPerms Wiki](https://luckperms.net/wiki/Home). - -## `lunaticchat.*` - -### `lunaticchat.spy` - -- Default: `OP` - -Visualizes communication via [`/tell`](commands/tell.md) / [`/reply`](commands/reply.md) commands. - -Players with this permission will have messages from other players' [`/tell`](commands/tell.md) / [`/reply`](commands/reply.md) commands broadcast to them. - -### `lunaticchat.noticeUpdate` - -- Default: `OP` - -Receives LunaticChat update notifications. - -[You must have `checkForUpdates` enabled](../guide/admin/configuration.md#checkforupdates) to receive notifications. - -### `lunaticchat.channelbypass` - -- Default: `OP` - -Bypasses moderation features and restrictions on private channels. - -## `lunaticchat.command.*` - -### `lunaticchat.command.tell` - -- Default: `non OP` - -Toggles the use of the [`/tell`](commands/tell.md) command. - -### `lunaticchat.command.reply` - -- Default: `non OP` - -Toggles the use of the [`/reply`](commands/reply.md) command. - -### `lunaticchat.command.lc` - -- Default: `non OP` - -Toggles the use of the `/lc` command. - -### `lunaticchat.command.lc.settings` - -- Default: `non OP` - -Toggles the use of the [`/lc settings`](commands/lc/settings.md) command. - -### `lunaticchat.command.lc.status` - -- Default: `non OP` - -Toggles the use of the [`/lc status`](commands/lc/status.md) command. - -### `lunaticchat.command.lc.channel` - -- Default: `non OP` - -Toggles the use of the [`/lc channel`](commands/lc/channel.md) command. - -### `lunaticchat.command.lc.channel.create` - -- Default: `non OP` - -Toggles the use of the [`/lc channel create`](commands/lc/channel.md) command. - -### `lunaticchat.command.lc.channel.list` - -- Default: `non OP` - -Toggles the use of the [`/lc channel list`](commands/lc/channel.md) command. - -### `lunaticchat.command.lc.channel.join` - -- Default: `non OP` - -Toggles the use of the [`/lc channel join`](commands/lc/channel.md) command. - -### `lunaticchat.command.lc.channel.leave` - -- Default: `non OP` - -Toggles the use of the [`/lc channel leave`](commands/lc/channel.md) command. - -### `lunaticchat.command.lc.channel.switch` - -- Default: `non OP` - -Toggles the use of the [`/lc channel switch`](commands/lc/channel.md) command. - -### `lunaticchat.command.lc.channel.status` - -- Default: `non OP` - -Toggles the use of the [`/lc channel status`](commands/lc/channel.md) command. - -### `lunaticchat.command.lc.channel.info` - -- Default: `non OP` - -Toggles the use of the [`/lc channel info`](commands/lc/channel.md) command. - -### `lunaticchat.command.lc.channel.delete` - -- Default: `non OP` - -Toggles the use of the [`/lc channel delete`](commands/lc/channel.md) command. - -### `lunaticchat.command.lc.channel.invite` - -- Default: `non OP` - -Toggles the use of the [`/lc channel invite`](commands/lc/channel.md) command. - -### `lunaticchat.command.lc.channel.kick` - -- Default: `non OP` - -Toggles the use of the [`/lc channel kick`](commands/lc/channel.md) command. - -### `lunaticchat.command.lc.channel.ban` - -- Default: `non OP` - -Toggles the use of the [`/lc channel ban`](commands/lc/channel.md) command. - -### `lunaticchat.command.lc.channel.unban` - -- Default: `non OP` - -Toggles the use of the [`/lc channel unban`](commands/lc/channel.md) command. - -### `lunaticchat.command.lc.channel.mod` - -- Default: `non OP` - -Toggles the use of the [`/lc channel mod`](commands/lc/channel.md) command. - -### `lunaticchat.command.lc.channel.ownership` - -- Default: `non OP` - -Toggles the use of the [`/lc channel ownership`](commands/lc/channel.md) command. - -### `lunaticchat.command.lc.chatmode` - -- Default: `non OP` - -Toggles the use of the [`/lc chatmode`](commands/lc/chatmode.md) command. - -### `lunaticchat.command.lc.chatmode.toggle` - -- Default: `non OP` - -Toggles the use of the [`/lc chatmode toggle`](commands/lc/chatmode.md) command. - -### `lunaticchat.command.lcv.status` - -- Default: `OP` - -Toggles the use of the [`/lcv status`](commands/lcv/status.md) command. - -### `lunaticchat.command.jp` <Badge type="danger" text="Deprecated: Will be removed in v1.0.0" /> - -- Default: `non OP` - -Toggles the use of the [`/jp`](commands/jp.md) command. - -### `lunaticchat.command.notice` <Badge type="danger" text="Deprecated: Will be removed in v1.0.0" /> - -- Default: `non OP` - -Toggles the use of the [`/notice`](commands/notice.md) command. diff --git a/docs/src/index.md b/docs/src/index.md index abdf453..90fa431 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -3,18 +3,15 @@ layout: home hero: - name: "LunaticChat" - tagline: Next-generation chat plugin for Paper/Velocity. + name: 'LunaticChat' + tagline: A next-generation chat plugin for Paper, Folia and Velocity. actions: - theme: brand - text: はじめる - link: /guide/getting-started + text: プレイヤーガイド + link: /player-guide/channel-chat/about - theme: brand - text: LunaticChat について - link: /guide/about - - theme: brand - text: リファレンス - link: /reference + text: 管理者ガイド + link: /admin-guide/getting-started - theme: alt text: GitHub link: https://github.com/m1sk9/LunaticChat @@ -36,7 +33,7 @@ features: details: チャットチャンネルを作成・管理し,特定のプレイヤー間でのプライベートメッセージを送信可能 icon: ☎️ - title: マルチプラットフォーム対応 - details: Paper と Velocity のマルチプラットフォームに対応し,サーバ間チャットを実現します + details: Paper, Folia と Velocity のマルチプラットフォームに対応し,サーバ間チャットを実現します icon: 🚀 - title: キャッシュによる高速動作 details: ローマ字から日本語の変換はキャッシュを使用し,従来の LunaChat よりも高速に動作します @@ -45,4 +42,3 @@ features: details: 他プラグインとの依存を減らし,常に最新の Minecraft バージョンに対応します icon: ⛏️️ --- - diff --git a/docs/src/guide/about.md b/docs/src/player-guide/about.md index 933426f..bcc3b86 100644 --- a/docs/src/guide/about.md +++ b/docs/src/player-guide/about.md @@ -19,16 +19,16 @@ LunaticChat は Minecraft サーバソフトウェアである Paper / Velocity ## 比較 -| | LunaticChat | LunaChat | -| ----- |-------------|----------------------------------------| -| 開発状況 | 継続的に開発中 | 開発終了 | -| 対応プラットフォーム | Paper / Velocity | Bukkit / Spigot / BungeeCord | -| サポートバージョン | 1.21.x ~ | 1.16.x まで | -| 使用言語 | Kotlin | Java | -| 依存プラグイン | なし | EssentialsX など | -| キャッシュ | あり | なし | -| ドキュメント | あり | なし | -| ライセンス | GNU General Public License v3.0 | GNU Lesser General Public License v3.0 | +| | LunaticChat | LunaChat | +| -------------------- | ------------------------------- | -------------------------------------- | +| 開発状況 | 継続的に開発中 | 開発終了 | +| 対応プラットフォーム | Paper / Velocity | Bukkit / Spigot / BungeeCord | +| サポートバージョン | 1.21.x ~ | 1.16.x まで | +| 使用言語 | Kotlin | Java | +| 依存プラグイン | なし | EssentialsX など | +| キャッシュ | あり | なし | +| ドキュメント | あり | なし | +| ライセンス | GNU General Public License v3.0 | GNU Lesser General Public License v3.0 | ## FAQ diff --git a/docs/src/guide/player/channel-chat/about.md b/docs/src/player-guide/channel-chat/about.md index 9d1ae33..5c5f73a 100644 --- a/docs/src/guide/player/channel-chat/about.md +++ b/docs/src/player-guide/channel-chat/about.md @@ -20,7 +20,7 @@ チャンネルチャットを利用するには,まずチャットチャンネルを作成する必要があります. -[`/lc channnel create`](../../../reference/commands/lc/channel.md#lc-channel-create-チャンネルid-チャンネル名-チャンネルの説明-プライベート設定) コマンドを使用して,チャットチャンネルを作成します. +[`/lc channnel create`](../commands/lc/channel.md#lc-channel-create-チャンネルid-チャンネル名-チャンネルの説明-プライベート設定) コマンドを使用して,チャットチャンネルを作成します. ``` /lc channel create <チャンネルID> <チャンネル名> [チャンネルの説明] [プライベート設定] @@ -39,7 +39,7 @@ チャンネルIDは次の要件に従う必要があります: - 3文字以上,30文字以下であること -- 英数字,アンダースコア(_),ハイフン(-)のみを含むこと +- 英数字,アンダースコア(\_),ハイフン(-)のみを含むこと ::: @@ -59,7 +59,7 @@ ## チャンネルに参加する -作成されたチャンネルに参加するには,[`/lc channel join`](../../../reference/commands/lc/channel.md#lc-channel-join-チャンネルid) コマンドを使用します. +作成されたチャンネルに参加するには,[`/lc channel join`](../commands/lc/channel.md#lc-channel-join-チャンネルid) コマンドを使用します. チャンネルに参加すると,チャットモードが全体チャットからチャンネルチャットに切り替わります. @@ -69,7 +69,7 @@ ## チャンネル一覧を表示する -参加可能なチャンネル一覧を表示するには,[`/lc channel list`](../../../reference/commands/lc/channel.md#lc-channel-list) コマンドを使用します. +参加可能なチャンネル一覧を表示するには,[`/lc channel list`](../commands/lc/channel.md#lc-channel-list) コマンドを使用します. チャット欄に参加可能なチャンネルの一覧が表示されます.クリックするか [`/lc channel join`](#チャンネルに参加する) コマンドを使用して,チャンネルに参加できます. @@ -95,13 +95,13 @@ LunaticChat では,プレイヤーのアクティブチャンネルとメン - アクティブチャンネル: チャンネルチャットモードで使用されるチャンネル - メンバーシップ状態: プレイヤーが参加しているチャンネルの一覧 -アクティブチャンネルは一度に一つのチャンネルのみを指定できます.メンバーシップ状態のチャンネルにアクティブチャンネルを切り替える場合は [`/lc channel switch`](../../../reference/commands/lc/channel.md#lc-channel-switch-チャンネルid) コマンドを使用します. +アクティブチャンネルは一度に一つのチャンネルのみを指定できます.メンバーシップ状態のチャンネルにアクティブチャンネルを切り替える場合は [`/lc channel switch`](../commands/lc/channel.md#lc-channel-switch-チャンネルid) コマンドを使用します. ``` /lc channel switch <チャンネルID> ``` -メンバーシップ状態のチャンネルからアクティブチャンネルを解除してもチャンネルからは削除されません.チャンネルから退出するにはアクティブチャンネルに切り替えてから [`/lc channel leave`](../../../reference/commands/lc/channel.md#lc-channel-leave) コマンドを使用します. +メンバーシップ状態のチャンネルからアクティブチャンネルを解除してもチャンネルからは削除されません.チャンネルから退出するにはアクティブチャンネルに切り替えてから [`/lc channel leave`](../commands/lc/channel.md#lc-channel-leave) コマンドを使用します. ``` /lc channel leave diff --git a/docs/src/guide/player/channel-chat/chatmode.md b/docs/src/player-guide/channel-chat/chatmode.md index 9e2712d..9e2712d 100644 --- a/docs/src/guide/player/channel-chat/chatmode.md +++ b/docs/src/player-guide/channel-chat/chatmode.md diff --git a/docs/src/guide/player/channel-chat/moderation.md b/docs/src/player-guide/channel-chat/moderation.md index 821c635..99d4ebe 100644 --- a/docs/src/guide/player/channel-chat/moderation.md +++ b/docs/src/player-guide/channel-chat/moderation.md @@ -36,7 +36,7 @@ ## メンバーを一時的に追放する (Kick) -メンバーを一時的にチャンネルから追放するには,[`/lc channel kick`](../../../reference/commands/lc/channel.md#lc-channel-kick-プレイヤーid) コマンドを使用します. +メンバーを一時的にチャンネルから追放するには,[`/lc channel kick`](../commands/lc/channel.md#lc-channel-kick-プレイヤーid) コマンドを使用します. ``` /lc channel kick <プレイヤーID> @@ -47,8 +47,8 @@ ただし,追放されたプレイヤーは再参加が可能です. ## メンバーを永久に追放する (Ban) - -メンバーを永久にチャンネルから追放するには,[`/lc channel ban`](../../../reference/commands/lc/channel.md#lc-channel-ban-プレイヤーid) コマンドを使用します. + +メンバーを永久にチャンネルから追放するには,[`/lc channel ban`](../commands/lc/channel.md#lc-channel-ban-プレイヤーid) コマンドを使用します. ``` /lc channel ban <プレイヤーID> @@ -58,7 +58,7 @@ ## 永久追放を解除する -永久追放されたメンバーの追放を解除するには,[`/lc channel unban`](../../../reference/commands/lc/channel.md#lc-channel-unban-プレイヤーid) コマンドを使用します. +永久追放されたメンバーの追放を解除するには,[`/lc channel unban`](../commands/lc/channel.md#lc-channel-unban-プレイヤーid) コマンドを使用します. ``` /lc channel unban <プレイヤーID> @@ -66,7 +66,7 @@ ## モデレーターを任命・解任する -チャンネルのメンバーをモデレーターに任命/解任するには,[`/lc channel mod`](../../../reference/commands/lc/channel.md#lc-channel-mod-プレイヤーid) コマンドを使用します. +チャンネルのメンバーをモデレーターに任命/解任するには,[`/lc channel mod`](../commands/lc/channel.md#lc-channel-mod-プレイヤーid) コマンドを使用します. ``` /lc channel mod <プレイヤーID> @@ -76,7 +76,7 @@ ## オーナー権限を譲渡する -チャンネルのオーナー権限を他のメンバーに譲渡するには,[`/lc channel ownership`](../../../reference/commands/lc/channel.md#lc-channel-ownership-プレイヤーid) コマンドを使用します. +チャンネルのオーナー権限を他のメンバーに譲渡するには,[`/lc channel ownership`](../commands/lc/channel.md#lc-channel-ownership-プレイヤーid) コマンドを使用します. ``` /lc channel ownership <プレイヤーID> @@ -87,8 +87,8 @@ ::: danger 実行時の注意点 - オーナー権限の譲渡は不可逆的な操作です. - - つまり,一度譲渡してしまうとオーナー権限を持つプレイヤーが再度譲渡しない限り,元のオーナーがオーナー権限を取り戻すことはできません. - - これはサーバー管理者であってもです. + - つまり,一度譲渡してしまうとオーナー権限を持つプレイヤーが再度譲渡しない限り,元のオーナーがオーナー権限を取り戻すことはできません. + - これはサーバー管理者であってもです. - オーナー権限を譲渡する相手は,必ずチャンネルのメンバーである必要があります. - オーナー権限は全てのモデレート機能を使用でき,かつチャンネルを削除できる強力な権限です.譲渡する相手を慎重に選んでください. diff --git a/docs/src/guide/player/channel-chat/private-channel.md b/docs/src/player-guide/channel-chat/private-channel.md index 6123310..eb321de 100644 --- a/docs/src/guide/player/channel-chat/private-channel.md +++ b/docs/src/player-guide/channel-chat/private-channel.md @@ -4,7 +4,7 @@ ## プライベートチャンネルの作成 -プライベートを作成する場合は [`/lc channel create`](../../../reference/commands/lc/channel.md) コマンドで,プライベート設定引数に `true` を指定します. +プライベートを作成する場合は [`/lc channel create`](../commands/lc/channel.md) コマンドで,プライベート設定引数に `true` を指定します. ``` /lc channel create <チャンネルID> <チャンネル名> [チャンネルの説明] [プライベート設定] @@ -16,7 +16,7 @@ 参加するにはオーナーもしくはモデレーターから招待を受ける必要があります. -招待するには,[`/lc channel invite`](../../../reference/commands/lc/channel.md#lc-channel-invite-プレイヤーid) コマンドを使用します. +招待するには,[`/lc channel invite`](../commands/lc/channel.md#lc-channel-invite-プレイヤーid) コマンドを使用します. ``` /lc channel invite <プレイヤーID> diff --git a/docs/src/reference/commands/lc/channel.md b/docs/src/player-guide/commands/lc/channel.md index 07381a6..a0c77dc 100644 --- a/docs/src/reference/commands/lc/channel.md +++ b/docs/src/player-guide/commands/lc/channel.md @@ -1,9 +1,9 @@ -# /lc channel <Badge type="tip" text="v0.6.0" /> <Badge type="tip" text="Paper" /> +# /lc channel <Badge type="tip" text="v0.6.0" /> <Badge type="tip" text="Paper/Folia" /> ### `/lc channel create <チャンネルID> <チャンネル名> [チャンネルの説明] [プライベート設定]` -| パーミッション | -|------------------------------| +| パーミッション | +| --------------------------------------- | | `lunaticchat.command.lc.channel.create` | チャンネルを作成します. @@ -11,10 +11,10 @@ - `<チャンネルID>` はチャンネルのIDを指定します. - `<チャンネル名>` はチャンネルの名前を指定します. - `[チャンネルの説明]` はチャンネルの説明を指定します (省略可能). - - `/lc channel list` コマンドでチャンネル一覧を表示した際に,説明が表示されます. + - `/lc channel list` コマンドでチャンネル一覧を表示した際に,説明が表示されます. - `[プライベート設定]` はチャンネルの公開設定を指定します. - - `true` を指定するとプライベートチャンネルとして作成され,招待されたプレイヤーのみが参加できます. - - `false` を指定するか,省略した場合はパブリックチャンネルとして作成され,誰でも参加できます. + - `true` を指定するとプライベートチャンネルとして作成され,招待されたプレイヤーのみが参加できます. + - `false` を指定するか,省略した場合はパブリックチャンネルとして作成され,誰でも参加できます. ::: warning チャンネル名・チャンネルの説明を入力する際の注意点 @@ -30,56 +30,56 @@ ### `/lc channel list` -| パーミッション | -|---------------------------------------| +| パーミッション | +| ------------------------------------- | | `lunaticchat.command.lc.channel.list` | チャンネルの一覧を表示します. ### `/lc channel join <チャンネルID>` -| パーミッション | -|---------------------------------------| +| パーミッション | +| ------------------------------------- | | `lunaticchat.command.lc.channel.join` | 指定したチャンネルに参加します. ### `/lc channel leave` -| パーミッション | -|----------------------------------------| +| パーミッション | +| -------------------------------------- | | `lunaticchat.command.lc.channel.leave` | 現在アクティブなチャンネルから退出します. ### `/lc channel switch <チャンネルID>` -| パーミッション | -|-----------------------------------------| +| パーミッション | +| --------------------------------------- | | `lunaticchat.command.lc.channel.switch` | 指定したチャンネルに切り替えます.チャンネルチャットモード中に他のチャンネルに切り替えたい場合に使用します. ### `/lc channel status` -| パーミッション | -|-----------------------------------------| +| パーミッション | +| --------------------------------------- | | `lunaticchat.command.lc.channel.status` | 現在参加・アクティブ状態のチャンネルの情報を表示します. ### `/lc channel delete <チャンネルID>` -| パーミッション | -|-----------------------------------------| +| パーミッション | +| --------------------------------------- | | `lunaticchat.command.lc.channel.delete` | 指定したチャンネルを削除します.チャンネルの作成者(オーナー) である必要があります. ### `/lc channel info [<チャンネルID>]` -| パーミッション | -|---------------------------------------| +| パーミッション | +| ------------------------------------- | | `lunaticchat.command.lc.channel.info` | 指定したチャンネルの情報を表示します. @@ -88,16 +88,16 @@ ### `/lc channel invite <プレイヤーID>` -| パーミッション | -|-----------------------------------------| +| パーミッション | +| --------------------------------------- | | `lunaticchat.command.lc.channel.invite` | 指定したプレイヤーを現在アクティブ状態のチャンネルに招待します. ### `/lc channel kick <プレイヤーID>` -| パーミッション | -|---------------------------------------| +| パーミッション | +| ------------------------------------- | | `lunaticchat.command.lc.channel.kick` | 指定したプレイヤーを現在アクティブ状態のチャンネルから一時的に追放します. @@ -106,8 +106,8 @@ ### `/lc channel ban <プレイヤーID>` -| パーミッション | -|-----------------------------------------| +| パーミッション | +| ------------------------------------ | | `lunaticchat.command.lc.channel.ban` | 指定したプレイヤーを現在アクティブ状態のチャンネルから永久追放します. @@ -116,24 +116,24 @@ ### `/lc channel unban <プレイヤーID>` -| パーミッション | -|----------------------------------------| +| パーミッション | +| -------------------------------------- | | `lunaticchat.command.lc.channel.unban` | 指定したプレイヤーの永久追放の解除を行います. ### `/lc channel mod <プレイヤーID>` -| パーミッション | -|--------------------------------------| +| パーミッション | +| ------------------------------------ | | `lunaticchat.command.lc.channel.mod` | 指定したプレイヤーを現在アクティブ状態のチャンネルのモデレーターに昇格/降格させます. ### `/lc channel ownership <プレイヤーID>` -| パーミッション | -|--------------------------------------------| +| パーミッション | +| ------------------------------------------ | | `lunaticchat.command.lc.channel.ownership` | 指定したプレイヤーに現在アクティブ状態のチャンネルのオーナー権を譲渡します. diff --git a/docs/src/reference/commands/lc/chatmode.md b/docs/src/player-guide/commands/lc/chatmode.md index 659aca5..2b38be8 100644 --- a/docs/src/reference/commands/lc/chatmode.md +++ b/docs/src/player-guide/commands/lc/chatmode.md @@ -1,17 +1,17 @@ -# /lc chatmode <Badge type="tip" text="v0.6.0" /> <Badge type="tip" text="Paper" /> +# /lc chatmode <Badge type="tip" text="v0.6.0" /> <Badge type="tip" text="Paper/Folia" /> ### `/lc chatmode` -| パーミッション | -|-----------------------------------| +| パーミッション | +| --------------------------------- | | `lunaticchat.command.lc.chatmode` | 現在のチャットモードを表示します. ### `/lc chatmode toggle` -| パーミッション | -|------------------------------------| +| パーミッション | +| ---------------------------------------- | | `lunaticchat.command.lc.chatmode.toggle` | チャットモードを切り替えます. diff --git a/docs/src/reference/commands/lc/settings.md b/docs/src/player-guide/commands/lc/settings.md index 209879d..b7ba77f 100644 --- a/docs/src/reference/commands/lc/settings.md +++ b/docs/src/player-guide/commands/lc/settings.md @@ -1,9 +1,9 @@ -# /lc settings <Badge type="tip" text="v0.5.0" /> <Badge type="tip" text="Paper" /> +# /lc settings <Badge type="tip" text="v0.5.0" /> <Badge type="tip" text="Paper/Folia" /> ### `/lc settings <key> [value]` -| パーミッション | -|-----------------------------------| +| パーミッション | +| --------------------------------- | | `lunaticchat.command.lc.settings` | LunaticChat のプレイヤー設定を管理します.値を指定しなかった場合は設定値が表示されます. @@ -12,8 +12,8 @@ LunaticChat のプレイヤー設定を管理します.値を指定しなか #### 利用可能なキー -| キー | 説明 | デフォルト値 | -|------------|----------------------------------------------------------|--------| -| `japanese` | ローマ字変換の有効化・無効化を切り替えます. | `true` | -| `notice` | `/tell` や `/reply` でダイレクトメッセージを受信した際に通知を受け取るかどうかを切り替えます. | `true` | -| `chNotice` | チャンネルチャットを受信した際に通知を受け取るかどうかを切り替えます. | `true` | +| キー | 説明 | デフォルト値 | +| ---------- | ---------------------------------------------------------------------------------------------- | ------------ | +| `japanese` | ローマ字変換の有効化・無効化を切り替えます. | `true` | +| `notice` | `/tell` や `/reply` でダイレクトメッセージを受信した際に通知を受け取るかどうかを切り替えます. | `true` | +| `chNotice` | チャンネルチャットを受信した際に通知を受け取るかどうかを切り替えます. | `true` | diff --git a/docs/src/reference/commands/lc/status.md b/docs/src/player-guide/commands/lc/status.md index 997d0ac..90b1469 100644 --- a/docs/src/reference/commands/lc/status.md +++ b/docs/src/player-guide/commands/lc/status.md @@ -1,9 +1,9 @@ -# /lc status <Badge type="tip" text="v0.5.0" /> <Badge type="tip" text="Paper" /> +# /lc status <Badge type="tip" text="v0.5.0" /> <Badge type="tip" text="Paper/Folia" /> ### `/lc status` -| パーミッション | -|---------------------------------| +| パーミッション | +| ------------------------------- | | `lunaticchat.command.lc.status` | LunaticChat のステータスを表示します. diff --git a/docs/src/reference/commands/lcv/status.md b/docs/src/player-guide/commands/lcv/status.md index 320e6fa..49e5352 100644 --- a/docs/src/reference/commands/lcv/status.md +++ b/docs/src/player-guide/commands/lcv/status.md @@ -2,8 +2,8 @@ ### `/lcv status` -| パーミッション | -|------------------------------| +| パーミッション | +| -------------------------------- | | `lunaticchat.command.lcv.status` | 現在の LunaticChat の Velocity 連携ステータスを表示します. diff --git a/docs/src/reference/commands/reply.md b/docs/src/player-guide/commands/reply.md index 51070e1..908fa96 100644 --- a/docs/src/reference/commands/reply.md +++ b/docs/src/player-guide/commands/reply.md @@ -1,14 +1,14 @@ -# /reply <Badge type="tip" text="v0.1.0" /> <Badge type="tip" text="Paper/Velocity" /> +# /reply <Badge type="tip" text="v0.1.0" /> <Badge type="tip" text="Paper/Folia" /> ### `/reply <メッセージ>` -| パーミッション | エイリアス | -|-----------------------------|-------| -| `lunaticchat.command.reply` | `/r` | +| パーミッション | エイリアス | +| --------------------------- | ---------- | +| `lunaticchat.command.reply` | `/r` | 直近で [`/tell`](tell.md) を使用し,やりとりをしたプレイヤーに対して返信します. -::: info このコマンドが使用できない場合 +::: info このコマンドが使用できない場合 このコマンドが無効化されている可能性があります (この機能は設定で ON/OFF できるため) diff --git a/docs/src/reference/commands/tell.md b/docs/src/player-guide/commands/tell.md index 69c2d90..8d54533 100644 --- a/docs/src/reference/commands/tell.md +++ b/docs/src/player-guide/commands/tell.md @@ -1,9 +1,9 @@ -# /tell <Badge type="tip" text="v0.1.0" /> <Badge type="tip" text="Paper/Velocity" /> +# /tell <Badge type="tip" text="v0.1.0" /> <Badge type="tip" text="Paper/Folia" /> ### `/tell <プレイヤーID> <メッセージ>` -| パーミッション | エイリアス | -| ---- | ---- | +| パーミッション | エイリアス | +| -------------------------- | ------------------------------------ | | `lunaticchat.command.tell` | `/t`, `/msg`, `/m`, `/w`, `/whisper` | 指定したプレイヤーに対してメッセージを送信します. diff --git a/docs/src/guide/player/direct-message.md b/docs/src/player-guide/direct-message.md index 8edd16e..64fbb95 100644 --- a/docs/src/guide/player/direct-message.md +++ b/docs/src/player-guide/direct-message.md @@ -4,7 +4,7 @@ ## メッセージを送信する -メッセージを送信するには [`/tell`](../../reference/commands/tell.md) コマンドを使用します. +メッセージを送信するには [`/tell`](./commands/tell.md) コマンドを使用します. オンラインプレイヤーに対してのみメッセージを送信できます.オフラインプレイヤーには送信できません. @@ -32,7 +32,7 @@ LunaticChat は Minecraft Java Edition / Paper のチャットシステムを前 LunaticChat では,直前にダイレクトメッセージを送信した相手に対して素早く返信できるクイックリプライ機能が提供されています. -クイックリプライを使用するには [`/reply`](../../reference/commands/reply.md) コマンドを使用します. +クイックリプライを使用するには [`/reply`](./commands/reply.md) コマンドを使用します. ``` /reply <message> @@ -52,7 +52,7 @@ v0.4.0 以降,ダイレクトメッセージの通知設定を変更できる ダイレクトメッセージを受信・送信時に通知音がなるようになります. -通知設定を変更するには [`/lc settings`](../../reference/commands/lc/settings.md) コマンドを使用します. +通知設定を変更するには [`/lc settings`](./commands/lc/settings.md) コマンドを使用します. ::: tip クライアントでの音量設定 @@ -60,6 +60,6 @@ v0.4.0 以降,ダイレクトメッセージの通知設定を変更できる LunaticChat の通知音が聞こえない場合は,クライアントの音量設定を確認してください. - + ::: diff --git a/docs/src/player-guide/getting-started.md b/docs/src/player-guide/getting-started.md new file mode 100644 index 0000000..440e287 --- /dev/null +++ b/docs/src/player-guide/getting-started.md @@ -0,0 +1,77 @@ +# プレイヤーガイド: はじめる + +LunaticChat が導入されたサーバーに参加したプレイヤー向けのガイドです. + +::: info サーバー管理者の方へ + +プラグインの導入・設定方法については [管理者ガイド: はじめる](../admin-guide/getting-started.md) を参照してください. + +::: + +## LunaticChat でできること + +LunaticChat は,Minecraft サーバーのチャット機能を拡張するプラグインです.以下の機能が利用できます: + +- **ダイレクトメッセージ**: 特定のプレイヤーへ 1 対 1 でメッセージを送信できます +- **クイック返信**: 直前にメッセージを送ってきた相手に,コマンド一つで素早く返信できます +- **チャンネルチャット**: プレイヤー同士でチャンネルを作成・参加し,特定のメンバー間でのみチャットができます +- **ローマ字変換**: ローマ字で入力したメッセージを,自動的にひらがなに変換します + +::: tip + +利用できる機能はサーバーの設定によって異なる場合があります.詳しくはサーバー管理者にお問い合わせください. + +::: + +## ダイレクトメッセージを送る + +[`/tell`](./commands/tell.md) コマンドを使用して,特定のプレイヤーにメッセージを送信できます. + +``` +/tell <プレイヤー名> <メッセージ> +``` + +メッセージを受け取った後,[`/reply`](./commands/reply.md) コマンドで素早く返信できます. + +``` +/reply <メッセージ> +``` + +詳しくは [ダイレクトメッセージ](./direct-message.md) を参照してください. + +## チャンネルチャットに参加する + +チャンネルチャットでは,特定のメンバー間だけで会話できるチャンネルを作成・参加できます. + +参加可能なチャンネルは [`/lc channel list`](./commands/lc/channel.md) で確認できます. + +``` +/lc channel list +``` + +チャンネルに参加するには [`/lc channel join`](./commands/lc/channel.md) を使用します. + +``` +/lc channel join <チャンネルID> +``` + +詳しくは [チャンネルチャット](./channel-chat/about.md) を参照してください. + +## ローマ字変換を使う + +LunaticChat はローマ字で入力したメッセージを自動的にひらがなに変換できます. + +ローマ字変換のオン / オフは [`/lc settings`](./commands/lc/settings.md) コマンドで切り替えられます. + +``` +/lc settings romanization <on|off> +``` + +詳しくは [ローマ字変換](./japanese-romanization.md) を参照してください. + +## 次は? + +- [チャンネルチャット](./channel-chat/about.md): チャンネルチャットの使い方を確認します +- [ダイレクトメッセージ](./direct-message.md): ダイレクトメッセージの使い方を確認します +- [ローマ字変換](./japanese-romanization.md): ローマ字変換機能の詳細を確認します +- [コマンド一覧](./index.md): LunaticChat で使用できるコマンド一覧を確認します diff --git a/docs/src/reference/index.md b/docs/src/player-guide/index.md index 0563bca..4b09530 100644 --- a/docs/src/reference/index.md +++ b/docs/src/player-guide/index.md @@ -2,7 +2,7 @@ このページは LunaticChat を使用するプレイヤー向けのリファレンスです。 -プラグインの導入方法や設定方法については [ガイド](../guide/getting-started.md) を参照してください。 +プラグインの導入方法や設定方法については [ガイド](../admin-guide/getting-started.md) を参照してください。 ## 凡例 @@ -21,4 +21,3 @@ - <Badge type="tip" text="Paper" /> : この機能が Paper 環境で利用可能であることを示します. - <Badge type="tip" text="Velocity" /> : この機能が Velocity 環境で利用可能であることを示します. - <Badge type="tip" text="Paper / Velocity" /> : この機能が Paper / Velocity 環境で利用可能であることを示します. - diff --git a/docs/src/guide/player/japanese-romanization.md b/docs/src/player-guide/japanese-romanization.md index 3b62e51..cc982f0 100644 --- a/docs/src/guide/player/japanese-romanization.md +++ b/docs/src/player-guide/japanese-romanization.md @@ -6,7 +6,7 @@ LunaticChat では、日本語のテキストをローマ字に変換する機 ローマ字変換機能はデフォルトで有効化されています. -[`/lc settings`](../../reference/commands/lc/settings.md) コマンドを使用して,ローマ字変換の設定を切り替えることができます. +[`/lc settings`](./commands/lc/settings.md) コマンドを使用して,ローマ字変換の設定を切り替えることができます. ## 変換の仕組み @@ -53,7 +53,7 @@ LunaticChat はプレイヤーからのテキストを以下の手順で変換 ::: -キャッシュファイルに関する情報は [こちら](../admin/cache.md) をご覧ください. +キャッシュファイルに関する情報は [こちら](../admin-guide/cache.md) をご覧ください. ## 改善されたキャッシュ戦略 <Badge type="tip" text="v0.5.0" /> diff --git a/docs/src/reference/commands/jp.md b/docs/src/reference/commands/jp.md deleted file mode 100644 index e850400..0000000 --- a/docs/src/reference/commands/jp.md +++ /dev/null @@ -1,17 +0,0 @@ -# /jp <Badge type="tip" text="v0.1.0" /> <Badge type="tip" text="Paper" /> - -### `/jp [on | off]` <Badge type="danger" text="非推奨: v1.0.0 で削除予定" /> - -::: danger 非推奨 - -このコマンドは v0.5.0 で非推奨となりました.代わりに [`/lc settings`](lc/settings.md) コマンドを使用してください. - -::: - -| パーミッション | -|--------------------------| -| `lunaticchat.command.jp` | - -ローマ字変換の設定を切り替えます. - -この設定は UUID で保存されるため, MCID を切り替えても設定が消えることはありません. diff --git a/docs/src/reference/commands/notice.md b/docs/src/reference/commands/notice.md deleted file mode 100644 index 5c08671..0000000 --- a/docs/src/reference/commands/notice.md +++ /dev/null @@ -1,17 +0,0 @@ -# /notice <Badge type="tip" text="v0.4.0" /> <Badge type="tip" text="Paper" /> - -### `/notice [on | off]` <Badge type="danger" text="非推奨: v1.0.0 で削除予定" /> - -::: danger 非推奨 - -このコマンドは v0.5.0 で非推奨となりました.代わりに [`/lc settings`](lc/settings.md) コマンドを使用してください. - -::: - -| パーミッション | エイリアス | -|-----------------------------|-------------| -| `lunaticchat.command.notice` | `/dmnotice` | - -[`/tell`](tell.md) や [`/reply`](reply.md) コマンドで送信されるダイレクトメッセージの通知をオンまたはオフに切り替えます. - -この設定は UUID で保存されるため, MCID を切り替えても設定が消えることはありません. diff --git a/docs/src/reference/permissions.md b/docs/src/reference/permissions.md deleted file mode 100644 index 5704a50..0000000 --- a/docs/src/reference/permissions.md +++ /dev/null @@ -1,179 +0,0 @@ -# パーミッション - -LuckPerms を使用した設定方法に関する詳細は [LuckPerms Wiki](https://luckperms.net/wiki/Home) を参照してください. - -## `lunaticchat.*` - -### `lunaticchat.spy` - -- Default: `OP` - -各種プレイヤー間のやり取りを可視化します. - -この権限を持つプレイヤーは他プレイヤーの [`/tell`](commands/tell.md) / [`/reply`](commands/reply.md) でのメッセージ・全チャンネルチャットがブロードキャストされます. - -### `lunaticchat.noticeUpdate` - -- Default: `OP` - -LunaticChat のアップデート通知を受け取ります. - -[受け取るには `checkForUpdates` を有効にしておく](../guide/admin/configuration.md#checkforupdates) 必要があります. - -### `lunaticchat.channelbypass` - -- Default: `OP` - -各チャンネルのモデレート機能やプライベートチャンネルに対する制限を無視します. - -## `lunaticchat.command.*` - -### `lunaticchat.command.tell` - -- Default: `non OP` - -[`/tell`](commands/tell.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.reply` - -- Default: `non OP` - -[`/reply`](commands/reply.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lc` - -- Default: `non OP` - -`/lc` コマンドの使用を切り替えます. - -### `lunaticchat.command.lc.settings` - -- Default: `non OP` - -[`/lc settings`](commands/lc/settings.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lc.status` - -- Default: `non OP` - -[`/lc status`](commands/lc/status.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lc.channel` - -- Default: `non OP` - -[`/lc channel`](commands/lc/channel.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lc.channel.create` - -- Default: `non OP` - -[`/lc channel create`](commands/lc/channel.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lc.channel.list` - -- Default: `non OP` - -[`/lc channel list`](commands/lc/channel.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lc.channel.join` - -- Default: `non OP` - -[`/lc channel join`](commands/lc/channel.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lc.channel.leave` - -- Default: `non OP` - -[`/lc channel leave`](commands/lc/channel.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lc.channel.switch` - -- Default: `non OP` - -[`/lc channel switch`](commands/lc/channel.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lc.channel.status` - -- Default: `non OP` - -[`/lc channel status`](commands/lc/channel.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lc.channel.info` - -- Default: `non OP` - -[`/lc channel info`](commands/lc/channel.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lc.channel.delete` - -- Default: `non OP` - -[`/lc channel delete`](commands/lc/channel.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lc.channel.invite` - -- Default: `non OP` - -[`/lc channel invite`](commands/lc/channel.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lc.channel.kick` - -- Default: `non OP` - -[`/lc channel kick`](commands/lc/channel.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lc.channel.ban` - -- Default: `non OP` - -[`/lc channel ban`](commands/lc/channel.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lc.channel.unban` - -- Default: `non OP` - -[`/lc channel unban`](commands/lc/channel.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lc.channel.mod` - -- Default: `non OP` - -[`/lc channel mod`](commands/lc/channel.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lc.channel.ownership` - -- Default: `non OP` - -[`/lc channel ownership`](commands/lc/channel.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lc.chatmode` - -- Default: `non OP` - -[`/lc chatmode`](commands/lc/chatmode.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lc.chatmode.toggle` - -- Default: `non OP` - -[`/lc chatmode toggle`](commands/lc/chatmode.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.lcv.status` - -- Default: `OP` - -[`/lcv status`](commands/lcv/status.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.jp` <Badge type="danger" text="非推奨: v1.0.0 で削除予定" /> - -- Default: `non OP` - -[`/jp`](commands/jp.md) コマンドの使用を切り替えます. - -### `lunaticchat.command.notice` <Badge type="danger" text="非推奨: v1.0.0 で削除予定" /> - -- Default: `non OP` - -[`/notice`](commands/notice.md) コマンドの使用を切り替えます. diff --git a/docs/wrangler.jsonc b/docs/wrangler.jsonc index f7dc337..a957bc7 100644 --- a/docs/wrangler.jsonc +++ b/docs/wrangler.jsonc @@ -2,6 +2,6 @@ "name": "lunaticchat-docs", "compatibility_date": "2026-01-10", "assets": { - "directory": "./dist" - } + "directory": "./dist", + }, } diff --git a/platform-paper/src/main/resources/config.yml b/platform-paper/src/main/resources/config.yml index 3788917..1952c7f 100644 --- a/platform-paper/src/main/resources/config.yml +++ b/platform-paper/src/main/resources/config.yml @@ -9,8 +9,8 @@ # Please specify appropriate values to ensure LunaticChat functions correctly. # # For detailed configuration options, please refer to the documentation: -# Japanese: https://lc.m1sk9.dev/guide/admin/configuration -# English: https://lc.m1sk9.dev/en/guide/admin/configuration +# Japanese: https://lc.m1sk9.dev/admin-guide/configuration +# English: https://lc.m1sk9.dev/en/admin-guide/configuration # ---------------------------------------------- # If enabled, Activate LunaticChat's debug mode, which provides detailed logging for troubleshooting. diff --git a/platform-paper/src/main/resources/languages/ja.yml b/platform-paper/src/main/resources/languages/ja.yml index e9894f1..892df41 100644 --- a/platform-paper/src/main/resources/languages/ja.yml +++ b/platform-paper/src/main/resources/languages/ja.yml @@ -36,7 +36,6 @@ channelMessage: noticeStatus: "現在チャンネルメッセージ通知は{toggle}です" status: - hover: "LunaticChat は LunaChatの後継として生まれました。\nオリジナルの作者であるucchyoceanに敬意を込めて。" runningVersion: "LunaticChat v{version} が使用されています" settings: |
