JorelAli / CommandAPI

A Bukkit/Spigot API for the command UI introduced in Minecraft 1.13

Home Page:https://commandapi.jorel.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add an option to disable datapack reloading

NotroDev opened this issue · comments

Description

It would be really helpful if there was a way to disable datapack reloading.
Currently, CommandAPI reloads datapacks every time the server starts, and for my server, this process takes around 10 seconds, even though I don't use datapacks or anything related to them.

Expected code

No response

Extra details

No response

Implemented for 9.4.1, due to release later today.

Implemented in 9.4.1. This can now be configured in the CommandAPI's config.yml file by setting skip-initial-datapack-reload: true. More info about this can be found in the CommandAPI's documentation here

Hey @JorelAli, I don't know if it's possible to contribute to the docs, so I'm writing here:
docs

I think it should be true 😄

Whoops! Contributing to the documentation is possible, but updating the published documentation isn't something we can do very quickly or easily. I've made a commit that fixes this, but this change won't be propagated into the main documentation until the next release.

(We do have some live documentation which includes the current state of development and we may consider using as our main documentation on our website in the future. I've fixed this there for now)