Skip to content

Commit 3dcea3e

Browse files
committed
Update documentation and changelog
1 parent f612282 commit 3dcea3e

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,15 @@ This is the current roadmap for the CommandAPI (as of 30th April 2024):
409409
</tr>
410410
</thead>
411411
<tbody>
412+
<tr>
413+
<td valign="top"><b>9.6.0</b></td>
414+
<td valign="top">???</td>
415+
<td valign="top">
416+
<ul>
417+
<li>https://github.com/JorelAli/CommandAPI/pull/594 Adds a config option to allow the CommandAPI to be more lenient when updating to a new minor version (e. g. from 1.21 to 1.21.1)</li>
418+
</ul>
419+
</td>
420+
</tr>
412421
<tr>
413422
<td valign="top"><b>9.5.3</b></td>
414423
<td valign="top">August 2024</td>

docssrc/src/config.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,20 @@ use-latest-nms-version: true
120120

121121
-----
122122

123+
### `lenient-for-minor-versions`
124+
125+
Controls whether the CommandAPI should be more lenient when updating to a new Minecraft version.
126+
127+
Similar to the [`use-latest-nms-version`](#use-latest-nms-version) setting, this can allow the CommandAPI to run on a version higher than it officially supports. As an example, this setting can allow updating to 1.21.2 from 1.21.1 but doesn't allow updating to 1.22 from 1.21.2.
128+
129+
<div class="warning">
130+
131+
Take the warning from the [`use-latest-nms-version`](#use-latest-nms-version) and apply it here too. This is _not_ guaranteed to work either and also may cause unexpected side-effects.
132+
133+
</div>
134+
135+
-----
136+
123137
### `hook-paper-reload`
124138

125139
Controls whether the CommandAPI hooks into the Paper-exclusive `ServerResourcesReloadedEvent` when available.

docssrc/src/setup_shading.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public class CommandAPIConfig {
3232
CommandAPIConfig verboseOutput(boolean value); // Enables verbose logging
3333
CommandAPIConfig silentLogs(boolean value); // Disables ALL logging (except errors)
3434
CommandAPIConfig useLatestNMSVersion(boolean value); // Whether the latest NMS implementation should be used or not
35+
CommandAPIConfig lenientForMinorVersions(boolean value); // Whether the CommandAPI should be more lenient with minor Minecraft versions
3536
CommandAPIConfig missingExecutorImplementationMessage(String value); // Set message to display when executor implementation is missing
3637
CommandAPIConfig dispatcherFile(File file); // If not null, the CommandAPI will create a JSON file with Brigadier's command tree
3738
CommandAPIConfig setNamespace(String namespace); // The namespace to use when the CommandAPI registers a command

0 commit comments

Comments
 (0)