Since Spigot still has no API to determine what datapacks are enabled, and we don't want to use NMS, we simply read the server.properties file and read the datapack settings.
That means we can only determine the datapacks that are enabled on startup, but that should be enough for now.
Since Spigot still has no API to determine what datapacks are enabled, and we don't want to use NMS, we simply read the
server.properties
file and read the datapack settings. That means we can only determine the datapacks that are enabled on startup, but that should be enough for now.