[SPIGOT-4117] Server crashes when forced-stats in spigot.yml are invalid (because of update from 1.12.2 to 1.13) Created: 23/Jul/18  Updated: 23/Jul/18  Resolved: 23/Jul/18

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Christian Koop Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: 1.13, Achievement, forced-stats, spigot.yml, stats

Attachments: Text File crash-2018-07-23_13.33.01-server.txt    
Version: git-Spigot-5eb3921-5870145 (MC: 1.13) (Implementing API version 1.13-R0.1-SNAPSHOT)

 Description   

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)

 


Generated at Sat Dec 13 13:37:59 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.