WolfyScript / WolfyUtils-Spigot

The WolfyUtilities implementation for the Spigot platform
10 stars 4 forks source link

Read Server Properties File to determine Server settings #56

Closed WolfyScript closed 1 year ago

WolfyScript commented 1 year ago

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.