You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Controls whether the CommandAPI should use the latest NMS implementation for command registration and execution.
201
+
Controls whether the CommandAPI should use the latest NMS implementation for command registration and execution if no matching CommandAPI implementation for the version used is found.
202
202
203
203
This setting can be used to run the CommandAPI on Minecraft versions higher than it can support. For example, if the CommandAPI supports Minecraft 1.18 and Minecraft 1.18.1 comes out, you can use this to enable support for 1.18.1 before an official CommandAPI release comes out that supports 1.18.1.
204
204
205
-
:::danger
205
+
<div class="paper">
206
206
207
-
This feature is very experimental and should only be used if you know what you’re doing. In almost every case, it is better to wait for an official CommandAPI release that supports the latest version of Minecraft. Using `use-latest-nms-version` is _not_ guaranteed to work and can cause unexpected side effects!
207
+
:::warning
208
+
209
+
Using `fallback-to-latest-nms` is _not_ guaranteed to work and can cause unexpected side effects! However, since we expect very few major breaking changes, we decided to set this value to `true` by default.
208
210
209
211
:::
210
212
211
213
**Default value**
212
214
213
215
```yaml
214
-
use-latest-nms-version: false
216
+
fallback-to-latest-nms: true
215
217
```
216
218
217
219
**Example value**
218
220
219
221
```yaml
220
-
use-latest-nms-version: true
222
+
fallback-to-latest-nms: false
221
223
```
222
224
223
-
### `be-lenient-for-minor-versions`
224
-
225
-
Controls whether the CommandAPI should be more lenient when updating to a new Minecraft version.
226
-
227
-
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.
225
+
</div>
226
+
<div class="spigot">
228
227
229
228
:::danger
230
229
231
-
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.
230
+
This feature is very experimental and should only be used if you know what you’re doing. In almost every case, it is better to wait for an official CommandAPI release that supports the latest version of Minecraft. Using `fallback-to-latest-nms` is _not_ guaranteed to work and can cause unexpected side effects!
0 commit comments