Changing Config file settings makes server fail to load.
yurit1337 opened this issue ยท 6 comments
If I change any setting in the servercore config file it fails to load the server. Changing the setting back to default doesn't fix it. Only after deleting the config file and letting servercore generate a new one will it allow the server to load up with the mod.
ServerCore: 1.2.9-1.18.2
Minecraft: 1.18.2
No idea what mods could cause issues so I will post my whole list
I am not sure what all needs to be included in a bug report. So if I am missing something for this bug report let me know or if there is something you would like me to change.
Mod list
alternate-current-mc1.18-1.2.1appleskin-fabric-mc1.18.2-2.4.0
architectury-4.4.60
backslot-1.2.6
backslotaddon-1.0.8
badpackets-fabric-0.1.2
balm-fabric-3.0.0+0
BeaconOverhaul-1.6.0+1.18.2
betterbeacon-1.0.8
cloth-api-3.2.64
create-mc1.18.2_v0.4.1+601
EditSign-1.18.2-2.3.1
fabric-api-0.51.1+1.18.2
FallingTree-1.18.2-3.5.1
ferritecore-4.2.1-fabric
ForgeConfigAPIPort-v3.2.0-1.18.2-Fabric
gravestone-1.18.2-1.0.1
healthcare-1.0.11
indium-1.0.3+mc1.18.2
krypton-0.1.9
lazydfu-0.1.2
lithium-fabric-mc1.18.2-0.7.10
modmenu-3.2.2
PuzzlesLib-v3.3.1-1.18.2-Fabric
servercore-1.2.9-1.18.2
shulkerboxtooltip-3.0.7+1.18.2
starlight-1.0.2+fabric.89b8d9f
TinySkeletons-v3.2.1-1.18.2-Fabric
TradingPost-v3.2.0-1.18.2-Fabric
Vanilla-Plus-Recipes-v0.3 custom mod adds a few recipes
Vanilla-Plus-Titanium custom mod adds a few tools
VisualWorkbench-v3.3.0-1.18.2-Fabric
whereisit-1.18.2-1.14.10
wthit-fabric-4.10.3
Log report
[14:08:45] [main/INFO]: Loading Minecraft 1.18.2 with Fabric Loader 0.14.6[14:08:45] [ForkJoinPool-1-worker-2/WARN]: Mod create uses the version mc1.18.2_v0.4.1+601 which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'mc1'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version
[14:08:45] [ForkJoinPool-1-worker-2/WARN]: Mod registrate-fabric uses the version MC1.18.2-1.0.3 which isn't compatible with Loader's extended semantic version format (Could not parse version number component 'MC1'!), SemVer is recommended for reliably evaluating dependencies and prioritizing newer version
[14:08:46] [main/INFO]: Loading 94 mods:
- alternate-current 1.2.1
- appleskin 2.4.0+mc1.18.2
- architectury 4.4.60
- backslot 1.2.6
- backslotaddon 1.0.8
- badpackets 0.1.2
- balm-fabric 3.0.0+0
- beaconoverhaul 1.6.0+1.18.2
- betterbeacon 1.0.8
- cardinal-components-base 4.1.4 via puzzleslib
- cardinal-components-entity 4.1.4 via puzzleslib
- cloth-api 3.2.64
- cloth-basic-math 0.6.0 via cloth-api
- cloth-client-events-v0 3.2.64 via cloth-api
- cloth-common-events-v1 3.2.64 via cloth-api
- cloth-config 6.2.57 via editsign
- cloth-datagen-api-v1 3.2.64 via cloth-api
- cloth-utils-v1 3.2.64 via cloth-api
- com_electronwill_night-config_core 3.6.5 via servercore
- com_electronwill_night-config_toml 3.6.5 via servercore
- com_github_llamalad7_mixinextras 0.0.10 via porting_lib
- com_google_code_findbugs_jsr305 3.0.2 via create
- com_velocitypowered_velocity-native 1.1.0-SNAPSHOT via krypton
- config2brigadier 1.0.2 via healthcare
- craftingtweaks 13.0.0
- create mc1.18.2_v0.4.1+601
- dripstone_fluid_lib 1.2.0 via milk
- editsign 2.3.1
- fabric 0.51.1+1.18.2
- fabric-api-base 0.4.4+d7c144a860 via fabric
- fabric-api-lookup-api-v1 1.6.0+2373a54560 via fabric
- fabric-biome-api-v1 8.0.4+7b0f312660 via fabric
- fabric-command-api-v1 1.1.9+d7c144a860 via fabric
- fabric-commands-v0 0.2.8+b4f4f6cd60 via fabric
- fabric-containers-v0 0.1.21+d7c144a860 via fabric
- fabric-content-registries-v0 3.0.3+d82b939260 via fabric
- fabric-convention-tags-v1 1.0.1+474e4f7960 via fabric
- fabric-crash-report-info-v1 0.1.11+3ac43d9560 via fabric
- fabric-data-generation-api-v1 2.0.9+e19de87d60 via registrate-fabric
- fabric-dimensions-v1 2.1.17+2540745460 via fabric
- fabric-entity-events-v1 1.4.8+d7c144a860 via fabric
- fabric-events-interaction-v0 0.4.19+d7c144a860 via fabric
- fabric-events-lifecycle-v0 0.2.14+d7c144a860 via fabric
- fabric-game-rule-api-v1 1.0.13+d7c144a860 via fabric
- fabric-item-api-v1 1.4.0+4457765560 via fabric
- fabric-item-groups-v0 0.3.11+91896a4960 via fabric
- fabric-lifecycle-events-v1 2.0.3+2d83e92c60 via fabric
- fabric-loot-tables-v1 1.0.11+d7c144a860 via fabric
- fabric-mining-level-api-v1 2.1.0+81ea5b3c60 via fabric
- fabric-networking-api-v1 1.0.21+d882b91560 via fabric
- fabric-networking-v0 0.3.8+b4f4f6cd60 via fabric
- fabric-object-builder-api-v1 2.1.0+fe4ddef060 via fabric
- fabric-particles-v1 0.2.12+526dc1ac60 via fabric
- fabric-permissions-api-v0 0.1-SNAPSHOT via servercore
- fabric-registry-sync-v0 0.9.8+0d9ab37260 via fabric
- fabric-rendering-data-attachment-v1 0.3.7+d7c144a860 via fabric
- fabric-rendering-fluids-v1 2.0.2+54e5b2ec60 via fabric
- fabric-resource-conditions-api-v1 2.0.3+91b7aa6660 via fabric
- fabric-resource-loader-v0 0.4.18+2de5574560 via fabric
- fabric-screen-handler-api-v1 1.2.0+1f6558e860 via fabric
- fabric-transfer-api-v1 1.6.0+2373a54560 via fabric
- fabric-transitive-access-wideners-v1 1.0.0+bd8a4a1860 via fabric
- fabricloader 0.14.6
- fake-player-api 0.3.0 via create
- fallingtree 3.5.1
- ferritecore 4.2.1
- forge_tags 2.1 via create
- forgeconfigapiport 3.2.0
- healthcare 1.0.11
- java 17
- krypton 0.1.9
- lazydfu 0.1.2
- lithium 0.7.10
- milk 0.3.2 via create
- minecraft 1.18.2
- mm 2.3 via shulkerboxtooltip
- placeholder-api 1.1.3+1.17.1 via servercore
- porting_lib 1.1.310-beta+1.18.2-dev.ba26474 via create
- puzzleslib 3.3.1
- reach-entity-attributes 2.1.1 via beaconoverhaul
- registrate-fabric MC1.18.2-1.0.3 via create
- roughlyenoughitems 8.1.457
- serialization_hooks 0.2.0+1.18.cb29164 via porting_lib
- servercore 1.2.9-1.18.2
- shulkerboxtooltip 3.0.7+1.18.2
- smoothboot 1.18.2-1.7.0
- starlight 1.0.2+fabric.89b8d9f
- tinyskeletons 3.2.1
- titanium 1.0.0
- tradingpost 3.2.0
- vanilla_recipes_plus 1.0.0
- visualworkbench 3.3.0
- whereisit 1.14.10
- wthit 4.10.3
[14:08:46] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/C:/Users//libraries/net/fabricmc/sponge-mixin/0.11.4+mixin.0.8.5/sponge-mixin-0.11.4+mixin.0.8.5.jar Service=Knot/Fabric Env=SERVER
[14:08:46] [main/INFO]: Compatibility level set to JAVA_16
[14:08:46] [main/INFO]: Compatibility level set to JAVA_17
[14:08:47] [main/INFO]: Loaded configuration file for Lithium: 102 options available, 3 override(s) found
[14:08:47] [main/WARN]: Failed to select mixin config: servercore.mixins.json
com.electronwill.nightconfig.core.io.ParsingException: Invalid bare key: ?
at com.electronwill.nightconfig.toml.TableParser.parseKey(TableParser.java:175) ~[com_electronwill_night-config_toml-3.6.5-66c948bfdcd69c4c.jar:?]
at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:145) ~[com_electronwill_night-config_toml-3.6.5-66c948bfdcd69c4c.jar:?]
at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55) ~[com_electronwill_night-config_toml-3.6.5-66c948bfdcd69c4c.jar:?]
at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44) ~[com_electronwill_night-config_toml-3.6.5-66c948bfdcd69c4c.jar:?]
at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37) ~[com_electronwill_night-config_toml-3.6.5-66c948bfdcd69c4c.jar:?]
at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113) ~[com_electronwill_night-config_core-3.6.5-7d6a7532e6fafcec.jar:?]
at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219) ~[com_electronwill_night-config_core-3.6.5-7d6a7532e6fafcec.jar:?]
at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) ~[com_electronwill_night-config_core-3.6.5-7d6a7532e6fafcec.jar:?]
at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73) ~[com_electronwill_night-config_core-3.6.5-7d6a7532e6fafcec.jar:?]
at com.electronwill.nightconfig.core.file.SimpleCommentedFileConfig.load(SimpleCommentedFileConfig.java:38) ~[com_electronwill_night-config_core-3.6.5-7d6a7532e6fafcec.jar:?]
at me.wesley1808.servercore.config.Config.load(Config.java:33) ~[servercore-1.2.9-1.18.2.jar:?]
at me.wesley1808.servercore.mixin.ServerCoreMixinPlugin.onLoad(ServerCoreMixinPlugin.java:19) ~[servercore-1.2.9-1.18.2.jar:?]
at org.spongepowered.asm.mixin.transformer.PluginHandle.onLoad(PluginHandle.java:119) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinConfig.onSelect(MixinConfig.java:709) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinProcessor.selectConfigs(MixinProcessor.java:498) [sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinProcessor.select(MixinProcessor.java:460) [sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinProcessor.checkSelect(MixinProcessor.java:438) [sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:290) [sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) [sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) [sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:413) [fabric-loader-0.14.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:322) [fabric-loader-0.14.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) [fabric-loader-0.14.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) [fabric-loader-0.14.6.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) [?:?]
at java.lang.Class.forName0(Native Method) ~[?:?]
at java.lang.Class.forName(Class.java:467) [?:?]
at net.fabricmc.loader.impl.util.DefaultLanguageAdapter.create(DefaultLanguageAdapter.java:50) [fabric-loader-0.14.6.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointStorage$NewEntry.getOrCreate(EntrypointStorage.java:117) [fabric-loader-0.14.6.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointContainerImpl.getEntrypoint(EntrypointContainerImpl.java:53) [fabric-loader-0.14.6.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke0(EntrypointUtils.java:47) [fabric-loader-0.14.6.jar:?]
at net.fabricmc.loader.impl.entrypoint.EntrypointUtils.invoke(EntrypointUtils.java:35) [fabric-loader-0.14.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:162) [fabric-loader-0.14.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68) [fabric-loader-0.14.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.14.6.jar:?]
at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) [fabric-loader-0.14.6.jar:?]
[14:08:47] [main/WARN]: Error loading class: net/minecraft/class_572 (java.lang.ClassNotFoundException: net/minecraft/class_572)
[14:08:47] [main/WARN]: @mixin target net.minecraft.class_572 was not found porting_lib.mixins.common.json:accessor.HumanoidModelAccessor from mod porting_lib
[14:08:47] [main/WARN]: Force-disabling mixin 'alloc.blockstate.StateMixin' as rule 'mixin.alloc.blockstate' (added by mods [ferritecore]) disables it and children
[14:08:47] [main/WARN]: Force-disabling mixin 'alloc.chunk_ticking.ServerChunkManagerMixin' as rule 'mixin.alloc.chunk_ticking' (added by mods [servercore]) disables it and children
[14:08:47] [main/WARN]: Force-disabling mixin 'world.player_chunk_tick.ThreadedAnvilChunkStorageMixin' as rule 'mixin.world.player_chunk_tick' (added by mods [krypton]) disables it and children
[14:08:48] [main/WARN]: Error loading class: net/minecraft/class_5616 (java.lang.ClassNotFoundException: net/minecraft/class_5616)
[14:08:48] [main/WARN]: @mixin target net.minecraft.class_5616 was not found registrate-fabric.mixins.json:accessor.BlockEntityRenderersAccessor from mod registrate-fabric
[14:08:48] [main/INFO]: Smooth Boot config initialized
[14:08:58] [main/INFO]: tf.ssf.sfort.beaconbalance successfully loaded config file
[14:08:58] [main/INFO]: Loaded C2B lib.
[14:08:59] [main/WARN]: Encountered duplicate API provider registration for item: minecraft:bucket
[14:09:00] [main/WARN]: Encountered duplicate API provider registration for item: minecraft:glass_bottle
[14:09:00] [main/WARN]: Encountered duplicate API provider registration for item: minecraft:glass_bottle
[14:09:00] [main/WARN]: Encountered duplicate API provider registration for item: minecraft:bucket
[14:09:00] [main/WARN]: Encountered duplicate API provider registration for item: minecraft:bucket
[14:09:01] [main/INFO]: Compression will use Java 11, encryption will use Java
[14:09:01] [main/INFO]: Definitely not up to no good
[14:09:01] [main/INFO]: [REI] Registered plugin provider DefaultPlugin [roughlyenoughitems] for REIPlugin
[14:09:01] [main/INFO]: [REI] Registered plugin provider DefaultRuntimePlugin [roughlyenoughitems] for REIPlugin
[14:09:01] [main/INFO]: [REI] Registered plugin provider DefaultPlugin [roughlyenoughitems] for REIServerPlugin
[14:09:01] [main/INFO]: [REI] Registered plugin provider DefaultRuntimePlugin [roughlyenoughitems] for REIServerPlugin
[14:09:01] [main/INFO]: [REI] Registered plugin provider FabricFluidAPISupportPlugin for REIServerPlugin
[14:09:01] [main/INFO]: [REI] Registered plugin provider FabricFluidAPISupportPlugin for REIPlugin
[14:09:01] [main/INFO]: [ServerCore] Initializing...
[14:09:01] [main/INFO]: Creating registry manager for mod id tinyskeletons
[14:09:01] [main/ERROR]: No data fixer registered for baby_skeleton
[14:09:01] [main/ERROR]: No data fixer registered for baby_wither_skeleton
[14:09:01] [main/ERROR]: No data fixer registered for baby_stray
[14:09:01] [main/INFO]: Initializing TitaniumMod
[14:09:01] [main/INFO]: Creating registry manager for mod id tradingpost
[14:09:01] [main/INFO]: Initializing VanillaRecipesPlusMod
[14:09:01] [main/INFO]: Creating registry manager for mod id visualworkbench
[14:09:01] [main/INFO]: REI Found
[14:09:02] [main/INFO]: [WTHIT] Registering plugin waila:core at mcp.mobius.waila.plugin.core.WailaCore
[14:09:02] [main/INFO]: [WTHIT] Registering plugin waila:vanilla at mcp.mobius.waila.plugin.vanilla.WailaVanilla
[14:09:02] [main/INFO]: [WTHIT] Plugin config reloaded
[14:09:02] [main/INFO]: Krypton is now accelerating your Minecraft server's networking stack ?
[14:09:02] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[14:09:03] [main/INFO]: [fabric-registry-sync] Loaded registry data [file 1/4]
[14:09:04] [main/WARN]: Failed to load datapacks, can't proceed with server load. You can either fix your datapacks or reset to vanilla with --safeMode
java.util.concurrent.ExecutionException: java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "me.wesley1808.servercore.config.ConfigEntry.get()" is null
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396) ~[?:?]
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073) ~[?:?]
at net.minecraft.server.Main.main(Main.java:194) [server-intermediary.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:460) [fabric-loader-0.14.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.14.6.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.14.6.jar:?]
at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) [fabric-loader-0.14.6.jar:?]
Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "me.wesley1808.servercore.config.ConfigEntry.get()" is null
at me.wesley1808.servercore.commands.ServerCoreCommand.register(ServerCoreCommand.java:45) ~[servercore-1.2.9-1.18.2.jar:?]
at me.wesley1808.servercore.ServerCore.registerCommands(ServerCore.java:73) ~[servercore-1.2.9-1.18.2.jar:?]
at net.fabricmc.fabric.api.command.v1.CommandRegistrationCallback.lambda$static$0(CommandRegistrationCallback.java:41) ~[fabric-command-api-v1-1.1.9+d7c144a860-a683381a1a05e777.jar:?]
at net.minecraft.class_2170.handler$zjb000$fabric_addCommands(class_2170.java:1547) ~[server-intermediary.jar:?]
at net.minecraft.class_2170.(class_2170.java:248) ~[server-intermediary.jar:?]
at net.minecraft.class_5350.(class_5350.java:43) ~[server-intermediary.jar:?]
at net.minecraft.class_5350.method_29466(class_5350.java:80) ~[server-intermediary.jar:?]
at net.minecraft.class_6904.method_40431(class_6904.java:44) ~[server-intermediary.jar:?]
at net.minecraft.server.Main.main(Main.java:155) ~[server-intermediary.jar:?]
... 4 more
</details>
Ok I finally got around to testing the server with only fabric api in the mods folder I am still getting the error of the server not booting up when I change a setting in the config file. The setting I am changing is the lobotomize_villagers.
Tested servercore on my windows 10 PC seems to work fine after changing settings.
My server is being run on a windows 7 computer which seems to be the problem, any way to make it function on a windows 7 OS?
Here is the log
Log report
[13:21:43] [main/INFO]: Loading Minecraft 1.18.2 with Fabric Loader 0.14.7
[13:21:43] [main/INFO]: Loading 40 mods:
- com_electronwill_night-config_core 3.6.5 via servercore
- com_electronwill_night-config_toml 3.6.5 via servercore
- fabric 0.51.1+1.18.2
- fabric-api-base 0.4.4+d7c144a860 via fabric
- fabric-api-lookup-api-v1 1.6.0+2373a54560 via fabric
- fabric-biome-api-v1 8.0.4+7b0f312660 via fabric
- fabric-command-api-v1 1.1.9+d7c144a860 via fabric
- fabric-commands-v0 0.2.8+b4f4f6cd60 via fabric
- fabric-containers-v0 0.1.21+d7c144a860 via fabric
- fabric-content-registries-v0 3.0.3+d82b939260 via fabric
- fabric-convention-tags-v1 1.0.1+474e4f7960 via fabric
- fabric-crash-report-info-v1 0.1.11+3ac43d9560 via fabric
- fabric-dimensions-v1 2.1.17+2540745460 via fabric
- fabric-entity-events-v1 1.4.8+d7c144a860 via fabric
- fabric-events-interaction-v0 0.4.19+d7c144a860 via fabric
- fabric-events-lifecycle-v0 0.2.14+d7c144a860 via fabric
- fabric-game-rule-api-v1 1.0.13+d7c144a860 via fabric
- fabric-item-api-v1 1.4.0+4457765560 via fabric
- fabric-item-groups-v0 0.3.11+91896a4960 via fabric
- fabric-lifecycle-events-v1 2.0.3+2d83e92c60 via fabric
- fabric-loot-tables-v1 1.0.11+d7c144a860 via fabric
- fabric-mining-level-api-v1 2.1.0+81ea5b3c60 via fabric
- fabric-networking-api-v1 1.0.21+d882b91560 via fabric
- fabric-networking-v0 0.3.8+b4f4f6cd60 via fabric
- fabric-object-builder-api-v1 2.1.0+fe4ddef060 via fabric
- fabric-particles-v1 0.2.12+526dc1ac60 via fabric
- fabric-permissions-api-v0 0.1-SNAPSHOT via servercore
- fabric-registry-sync-v0 0.9.8+0d9ab37260 via fabric
- fabric-rendering-data-attachment-v1 0.3.7+d7c144a860 via fabric
- fabric-rendering-fluids-v1 2.0.2+54e5b2ec60 via fabric
- fabric-resource-conditions-api-v1 2.0.3+91b7aa6660 via fabric
- fabric-resource-loader-v0 0.4.18+2de5574560 via fabric
- fabric-screen-handler-api-v1 1.2.0+1f6558e860 via fabric
- fabric-transfer-api-v1 1.6.0+2373a54560 via fabric
- fabric-transitive-access-wideners-v1 1.0.0+bd8a4a1860 via fabric
- fabricloader 0.14.7
- java 17
- minecraft 1.18.2
- placeholder-api 1.1.3+1.17.1 via servercore
- servercore 1.2.9-1.18.2
[13:21:43] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/C:/Users/Yeti/Desktop/servers/Test%20Server/libraries/net/fabricmc/sponge-mixin/0.11.4+mixin.0.8.5/sponge-mixin-0.11.4+mixin.0.8.5.jar Service=Knot/Fabric Env=SERVER
[13:21:43] [main/INFO]: Compatibility level set to JAVA_16
[13:21:44] [main/WARN]: Failed to select mixin config: servercore.mixins.json
com.electronwill.nightconfig.core.io.ParsingException: Invalid bare key: ?
at com.electronwill.nightconfig.toml.TableParser.parseKey(TableParser.java:175) ~[com_electronwill_night-config_toml-3.6.5-66c948bfdcd69c4c.jar:?]
at com.electronwill.nightconfig.toml.TableParser.parseDottedKey(TableParser.java:145) ~[com_electronwill_night-config_toml-3.6.5-66c948bfdcd69c4c.jar:?]
at com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:55) ~[com_electronwill_night-config_toml-3.6.5-66c948bfdcd69c4c.jar:?]
at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44) ~[com_electronwill_night-config_toml-3.6.5-66c948bfdcd69c4c.jar:?]
at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37) ~[com_electronwill_night-config_toml-3.6.5-66c948bfdcd69c4c.jar:?]
at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113) ~[com_electronwill_night-config_core-3.6.5-7d6a7532e6fafcec.jar:?]
at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219) ~[com_electronwill_night-config_core-3.6.5-7d6a7532e6fafcec.jar:?]
at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) ~[com_electronwill_night-config_core-3.6.5-7d6a7532e6fafcec.jar:?]
at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73) ~[com_electronwill_night-config_core-3.6.5-7d6a7532e6fafcec.jar:?]
at com.electronwill.nightconfig.core.file.SimpleCommentedFileConfig.load(SimpleCommentedFileConfig.java:38) ~[com_electronwill_night-config_core-3.6.5-7d6a7532e6fafcec.jar:?]
at me.wesley1808.servercore.config.Config.load(Config.java:33) ~[servercore-1.2.9-1.18.2.jar:?]
at me.wesley1808.servercore.mixin.ServerCoreMixinPlugin.onLoad(ServerCoreMixinPlugin.java:19) ~[servercore-1.2.9-1.18.2.jar:?]
at org.spongepowered.asm.mixin.transformer.PluginHandle.onLoad(PluginHandle.java:119) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinConfig.onSelect(MixinConfig.java:709) ~[sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinProcessor.selectConfigs(MixinProcessor.java:498) [sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinProcessor.select(MixinProcessor.java:460) [sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinProcessor.checkSelect(MixinProcessor.java:438) [sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:290) [sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:234) [sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes(MixinTransformer.java:202) [sponge-mixin-0.11.4+mixin.0.8.5.jar:0.11.4+mixin.0.8.5]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray(KnotClassDelegate.java:413) [fabric-loader-0.14.7.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass(KnotClassDelegate.java:322) [fabric-loader-0.14.7.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:218) [fabric-loader-0.14.7.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:145) [fabric-loader-0.14.7.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:520) [?:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:454) [fabric-loader-0.14.7.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.14.7.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.14.7.jar:?]
at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) [fabric-loader-0.14.7.jar:?]
[13:21:57] [main/INFO]: [ServerCore] Initializing...
[13:21:57] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[13:21:59] [main/INFO]: Found new data pack Fabric Mods, loading it automatically
[13:22:02] [main/INFO]: [fabric-registry-sync] Loaded registry data [file 1/4]
[13:22:03] [main/WARN]: Failed to load datapacks, can't proceed with server load. You can either fix your datapacks or reset to vanilla with --safeMode
java.util.concurrent.ExecutionException: java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "me.wesley1808.servercore.config.ConfigEntry.get()" is null
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396) ~[?:?]
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073) ~[?:?]
at net.minecraft.server.Main.main(Main.java:194) [server-intermediary.jar:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) [fabric-loader-0.14.7.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.14.7.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.14.7.jar:?]
at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) [fabric-loader-0.14.7.jar:?]
Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "me.wesley1808.servercore.config.ConfigEntry.get()" is null
at me.wesley1808.servercore.commands.ServerCoreCommand.register(ServerCoreCommand.java:45) ~[servercore-1.2.9-1.18.2.jar:?]
at me.wesley1808.servercore.ServerCore.registerCommands(ServerCore.java:73) ~[servercore-1.2.9-1.18.2.jar:?]
at net.fabricmc.fabric.api.command.v1.CommandRegistrationCallback.lambda$static$0(CommandRegistrationCallback.java:41) ~[fabric-command-api-v1-1.1.9+d7c144a860-a683381a1a05e777.jar:?]
at net.minecraft.class_2170.handler$zzd000$fabric_addCommands(class_2170.java:547) ~[server-intermediary.jar:?]
at net.minecraft.class_2170.(class_2170.java:248) ~[server-intermediary.jar:?]
at net.minecraft.class_5350.(class_5350.java:43) ~[server-intermediary.jar:?]
at net.minecraft.class_5350.method_29466(class_5350.java:80) ~[server-intermediary.jar:?]
at net.minecraft.class_6904.method_40431(class_6904.java:44) ~[server-intermediary.jar:?]
at net.minecraft.server.Main.main(Main.java:155) ~[server-intermediary.jar:?]
... 4 more
It looks like the nightconfig library is failing to load the config for some reason, setting all the values to null.
Which means it will crash whenever the configuration is used anywhere in the code.
The root of the problem would lie somewhere within the nightconfig library, and I doubt I can really do anything about that.
There are 2 things I can suggest you try out:
- Reinstall servercore, maybe the jar got corrupted.
- Try running it without any other mods (some might mess with it or include nightconfig itself, although normally this shouldn't cause problems).
If none of those work, you could check if it maybe has something to do with your operating system not giving it access to the config folder (testing on a different machine / os)
I'm not really sure if I can fix that, since it seems to be an issue in the config library - for an outdated and unsupported version of windows. And I doubt its really worth making a hacky workaround for the crashes, considering it would always set you back to the default config settings anyway.
Is there any reason to still run windows 7, especially on a server? I think most servers nowadays run on linux.
It is just my old desktop, I upgraded to a new one with windows 10 and just have the other one sitting around. Once and a while I run servers for a few different games for some friends. For that it works pretty well don't come across to many issues. But yeah I didn't think it would be reasonable to have a fix, thought maybe there would already be a way to make it function, I am it does just can't change any settings :D
I changed a few smaller things for the config in 1.19 that may affect this. If your system is unable to read the config properly, it should try to fall back to default values rather than setting the values to null. It wouldn't be possible to change them in this case, but at least it might run.
Alright thank you very much for the update. I wouldn't worry too much about windows 7 issues though, as its not really reasonable at this point to make compatible. I have in the mean time installed linux on my server which has zero issues with servercore. But all the same thanks for letting me know.