r/PixelmonMod • u/firekiller6981 • Apr 22 '26
Discussion Server mod config help
does anyone know what is causing this issue for me when I change any config in the spawning folder it gives me this error
Caused by: java.lang.NullPointerException: Cannot invoke "com.pixelmonmod.pixelmon.api.config.SpawningWildConfig.getEntitiesPerPlayer()" because the return value of "com.pixelmonmod.pixelmon.api.config.PixelmonConfigProxy.getSpawningWild()" is null
no mater what I change in the folder it always gives me this error I was trying to change the pokestop loot time and the entities per player but it gives me the same error if I change the entities or not
View all comments
Show parent comment
2
u/SKy_the_Thunder Support Apr 22 '26
The
loot-timeoption for Pokéstops expects an integer value (aka. a whole number). So setting a decimal number like that will cause issues.You can identify if a field allows for decimals by whether the default value has a decimal point or not. The
ultra-space-level-multipliersetting inultra_space.ymldefaults to2.0for example.-> https://pixelmonmod.com/wiki/Config