I use the https://github.com/FairyProject/fairy-bukkit-template and use shadowJar task to generate jar. But I found it doesn't work in folia server for the missing folia-supported: true.