lichenaut / DatapackLoader

Automatically add datapacks to your Minecraft server.
GNU General Public License v2.0
6 stars 0 forks source link

About macro functions... #8

Closed ZhuinZ closed 2 months ago

ZhuinZ commented 3 months ago

It's seems that I can't use macro functions and commands in a datapack with the plugin. Please help me!

ZhuinZ commented 3 months ago

resources.zip The test datapack is here. In a singleplayer game it works well. But in a server with DatapackLoader, all the commands in every function can work except the macro command. I'm not able to /function the function with the macro command but the other commands in it work well.

lichenaut commented 3 months ago

By macro, you mean your function? The import command can only be executed via console, and the dltp command can only be executed via player.