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

Server crashes when forced-stats in spigot.yml are invalid (because of update from 1.12.2 to 1.13)

XMLWordPrintable

    • git-Spigot-5eb3921-5870145 (MC: 1.13) (Implementing API version 1.13-R0.1-SNAPSHOT)

      In times of Spigot 1.8.8 I added some lines inside the spigot.yml to prevent that annoying 'Open Inventory'-Achievement to show. If I am right, they do not do anything because Minecraft introduced Advancements.

       

      stats:
        disable-saving: true
        forced-stats:
          achievement:
            openInventory: 1
      

       

      After updating my server from Spigot 1.12.2 to Spigot 1.13 (Dev-Build) the server crashed until I remove these lines.

       

      net.minecraft.server.v1_13_R1.ResourceKeyInvalidException: Non [a-z0-9/._-] character in path of location: minecraft:achievement.openInventory
      	at net.minecraft.server.v1_13_R1.MinecraftKey.<init>(SourceFile:38)
      	at net.minecraft.server.v1_13_R1.MinecraftKey.<init>(SourceFile:43)
      	at org.spigotmc.SpigotConfig.stats(SpigotConfig.java:267)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.spigotmc.SpigotConfig.readConfig(SpigotConfig.java:111)
      	at org.spigotmc.SpigotConfig.init(SpigotConfig.java:77)
      	at net.minecraft.server.v1_13_R1.DedicatedServer.init(DedicatedServer.java:192)
      	at net.minecraft.server.v1_13_R1.MinecraftServer.run(MinecraftServer.java:686)
      	at java.lang.Thread.run(Thread.java:748)
      

       

            Unassigned Unassigned
            Sprax2013 Christian Koop
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: