I'm labeling this as Critical because if any server updates to today's version of Spigot and had a gameLoopFunction that was using /function, the server WILL NOT RUN. The server can not be started until the gameLoopFunction.mcfunction's file name or location is edited as to not run & crash the server.
I have provided a zip that has SayTest.mcfunction & SayTestGameLoop.mcfunction.
SayTest.mcfunction:
say Test
SayTestGameLoop.mcfunction:
function kots_functions:saytest
If SayTest.mcfunction is used as a /function command, it will not work. If it is used as a gameLoopFunction, it will work.
If SayTestGameLoop.mcfunction is used as a gameLoopFunction, the server will crash and can not boot up again until the SayTestGameLoop.mcfunction file name or location is altered.
~~~~~~~~~~~~~~~~~~~
The contents of KotS_Functions.zip is to be placed into the functions folder. So, once implemented, your file structure should look like this:
WORLD | data | | functions | | | KotS_Functions | | | | SayTest.mcfunction | | | | SayTestGameLoop.mcfunction