Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-3376

[Functions] /Function causes an "unknown error" & when used in a gameLoopFunction causes server to crash

XMLWordPrintable

      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
      

            Unassigned Unassigned
            KnightOfTheSun Knight Sun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: