summaryrefslogtreecommitdiff
path: root/website/src/docs/reference
diff options
context:
space:
mode:
authorSho Sakuma <me@m1sk9.dev>2026-08-30 13:54:28 +0900
committerGitHub <noreply@github.com>2026-08-30 13:54:28 +0900
commitb697f1cc341cbd9740daa2249c566f1b6bf1952d (patch)
tree6d4d14a5f6cc07d28d8b85fdaedc32496e6f5988 /website/src/docs/reference
parent6e267a6a0426a5290c8f689c8333f1e9b35e87b7 (diff)
parentebdb8d1940b41bab60d201eb6b0cd6f05efbc6ac (diff)
downloadLunaticChat-b697f1cc341cbd9740daa2249c566f1b6bf1952d.tar.gz
LunaticChat-b697f1cc341cbd9740daa2249c566f1b6bf1952d.tar.bz2
LunaticChat-b697f1cc341cbd9740daa2249c566f1b6bf1952d.zip
Merge pull request #293 from m1sk9/feat/config-reload
feat: Add `/lc reload` command
Diffstat (limited to 'website/src/docs/reference')
-rw-r--r--website/src/docs/reference/commands.md8
-rw-r--r--website/src/docs/reference/message-format.md2
2 files changed, 10 insertions, 0 deletions
diff --git a/website/src/docs/reference/commands.md b/website/src/docs/reference/commands.md
index 28627bc..50bcbe9 100644
--- a/website/src/docs/reference/commands.md
+++ b/website/src/docs/reference/commands.md
@@ -36,6 +36,14 @@ Displays the plugin version, health, enabled features, and configuration values.
- **Aliases**: `st`
- **Permission**: `lunaticchat.command.lc.status`
+### `/lc reload` <Badge type="tip" text="v1.4.0~" />
+
+Re-reads `config.yml` and applies the `messageFormat` settings, then reports which of the remaining changes still need a restart. See [Applying Changes](/docs/configuration#applying-changes).
+
+- **Permission**: `lunaticchat.command.lc.reload` (op by default)
+- **Usable from the console and RCON**
+- A `config.yml` that cannot be read in full is refused, and the running configuration is kept
+
### `/lc settings [key] [on|off]`
Views or changes your personal settings. Without arguments, displays the settings list.
diff --git a/website/src/docs/reference/message-format.md b/website/src/docs/reference/message-format.md
index 2669adb..68fee84 100644
--- a/website/src/docs/reference/message-format.md
+++ b/website/src/docs/reference/message-format.md
@@ -6,6 +6,8 @@ layout: doc
You can customize the display format of chat messages in the `messageFormat` section of `config.yml`.
+These are the only settings `/lc reload` <Badge type="tip" text="v1.4.0~" /> applies without a restart; every other section of `config.yml` is fixed when the server starts. See [Applying Changes](/docs/configuration#applying-changes).
+
## Placeholders
| Placeholder | Description | Available formats |