There’s no official way, I’m trying to remember if anyone from the community made libraries for it, the only thing I remember is people using a language to create “DF code” templates. If there’s none available, I suggest you look into Skript if you’re wanting to create something server-side without learning Java. It’s a plug-in script system that allows you to make content without the use of Java and an API such as Spigot
Its documentation is pretty big as far as I know, so it should be capable to the majority of things that you’d like to replicate on a server environment. I hope this helps!