diff options
Diffstat (limited to 'website/src/docs/features/channel-chat.md')
| -rw-r--r-- | website/src/docs/features/channel-chat.md | 90 |
1 files changed, 45 insertions, 45 deletions
diff --git a/website/src/docs/features/channel-chat.md b/website/src/docs/features/channel-chat.md index b0caa43..c06ea39 100644 --- a/website/src/docs/features/channel-chat.md +++ b/website/src/docs/features/channel-chat.md @@ -2,91 +2,91 @@ layout: doc --- -# チャンネルチャット +# Channel Chat -チャンネルを作成してグループごとに会話を分離できます.この機能を利用するには `config.yml` で `features.channelChat.enabled` を `true` に設定してください. +Create channels to separate conversations by group. To use this feature, set `features.channelChat.enabled` to `true` in `config.yml`. -## チャンネルの作成 +## Creating a Channel ``` /lc channel create <channelId> <name> [description] [isPrivate] ``` -- `channelId`: チャンネルの一意な識別子 (英数字, `_`, `-` のみ, 3〜30文字) -- `name`: チャンネルの表示名 -- `description`: チャンネルの説明 (省略可) -- `isPrivate`: プライベートチャンネルにする場合は `true` (デフォルト: `false`) +- `channelId`: A unique identifier for the channel (alphanumeric, `_`, `-` only, 3-30 characters) +- `name`: The display name of the channel +- `description`: A description of the channel (optional) +- `isPrivate`: Set to `true` to make the channel private (default: `false`) -作成者は自動的にオーナーになります. +The creator automatically becomes the owner. -## チャンネルへの参加・退出 +## Joining and Leaving Channels ``` -/lc channel join <channelId> # チャンネルに参加 -/lc channel leave # アクティブチャンネルから退出 -/lc channel switch <channelId> # アクティブチャンネルを切り替え +/lc channel join <channelId> # Join a channel +/lc channel leave # Leave the active channel +/lc channel switch <channelId> # Switch the active channel ``` -プライベートチャンネルに参加するには,オーナーまたはモデレーターからの招待が必要です. +Joining a private channel requires an invitation from the owner or a moderator. -## アクティブチャンネル +## Active Channel -プレイヤーは複数のチャンネルに参加できますが,一度にアクティブにできるチャンネルは1つです.チャットメッセージはアクティブチャンネルに送信されます.`/lc channel switch` でアクティブチャンネルを切り替えられます. +Players can join multiple channels, but only one channel can be active at a time. Chat messages are sent to the active channel. Use `/lc channel switch` to change the active channel. ``` -/lc channel status # 現在のアクティブチャンネルと参加チャンネル一覧を表示 +/lc channel status # Display the current active channel and list of joined channels ``` -## ロールと権限 +## Roles and Permissions -チャンネルには3つのロールがあります. +Channels have three roles. -| ロール | 権限 | -|--------|------| -| **OWNER** | チャンネルの削除,モデレーター管理,オーナー譲渡,メンバー管理 | -| **MODERATOR** | メンバーの招待,キック,BAN/BAN解除 | -| **MEMBER** | チャットへの参加,チャンネル情報の閲覧 | +| Role | Permissions | +|------|-------------| +| **OWNER** | Delete the channel, manage moderators, transfer ownership, manage members | +| **MODERATOR** | Invite, kick, ban/unban members | +| **MEMBER** | Participate in chat, view channel information | -### モデレーター管理 (オーナーのみ) +### Moderator Management (Owner Only) ``` -/lc channel mod <playerName> # モデレーター権限の付与/剥奪 -/lc channel ownership <playerName> # オーナー権限の譲渡 +/lc channel mod <playerName> # Grant/revoke moderator permissions +/lc channel ownership <playerName> # Transfer ownership ``` -### メンバー管理 (オーナー / モデレーター) +### Member Management (Owner / Moderator) ``` -/lc channel invite <playerName> # プレイヤーを招待 -/lc channel kick <playerName> # プレイヤーをキック -/lc channel ban <playerName> # プレイヤーを BAN -/lc channel unban <playerName> # BAN を解除 +/lc channel invite <playerName> # Invite a player +/lc channel kick <playerName> # Kick a player +/lc channel ban <playerName> # Ban a player +/lc channel unban <playerName> # Unban a player ``` -## 制限設定 +## Limit Settings -`config.yml` でチャンネルの上限を設定できます (すべて `0` で無制限) . +You can set channel limits in `config.yml` (set to `0` for unlimited). -| 設定キー | 説明 | -|----------|------| -| `maxChannelsPerServer` | サーバーあたりの最大チャンネル数 | -| `maxMembersPerChannel` | チャンネルあたりの最大メンバー数 | -| `maxMembershipPerPlayer` | プレイヤーあたりの最大参加チャンネル数 | +| Setting Key | Description | +|-------------|-------------| +| `maxChannelsPerServer` | Maximum number of channels per server | +| `maxMembersPerChannel` | Maximum number of members per channel | +| `maxMembershipPerPlayer` | Maximum number of channels a player can join | -## メッセージログ +## Message Logging -チャンネルメッセージは NDJSON 形式でログファイルに記録できます.ファイルは日次でローテーションされ,`maxFileSizeMB` を超えるとサフィックス付きの新しいファイルが作成されます. +Channel messages can be logged in NDJSON format. Files are rotated daily, and a new file with a suffix is created when `maxFileSizeMB` is exceeded. ```json {"timestamp":"2026-04-05T14:23:45.123Z","playerId":"550e8400-...","playerName":"Steve","channelId":"general","message":"Hello!"} ``` -ログ設定の詳細は[設定ページ](/docs/configuration)の `features.channelChat.messageLogging` を参照してください. +See the `features.channelChat.messageLogging` section on the [Configuration page](/docs/configuration) for logging settings. -## バイパス権限 +## Bypass Permission -`lunaticchat.channelbypass` パーミッション (デフォルト: op) を持つプレイヤーは,キック・BAN の保護やチャンネルの強制削除が可能です. +Players with the `lunaticchat.channelbypass` permission (default: op) are protected from kicks and bans, and can force-delete channels. -## メッセージフォーマット +## Message Format -チャンネルメッセージの表示形式は `config.yml` の `messageFormat.channelMessageFormat` でカスタマイズできます.詳細は[メッセージフォーマット](/docs/reference/message-format)を参照してください. +The display format for channel messages can be customized via `messageFormat.channelMessageFormat` in `config.yml`. See [Message Format](/docs/reference/message-format) for details. |
