Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Tables names must not be empty.


RaphGamingz
 Share

Recommended Posts

A error comes up 

[12:10:16] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception
com.electronwill.nightconfig.core.io.ParsingException: Tables names must not be empty.
        at com.electronwill.nightconfig.toml.TableParser.parseTableName(TableParser.java:109) ~[toml-3.6.0.jar:?] {}
        at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:51) ~[toml-3.6.0.jar:?] {}
        at com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37) ~[toml-3.6.0.jar:?] {}
        at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113) ~[core-3.6.0.jar:?] {}
        at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219) ~[core-3.6.0.jar:?] {}
        at com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202) ~[core-3.6.0.jar:?] {}
        at com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73) ~[core-3.6.0.jar:?] {}
        at com.electronwill.nightconfig.core.file.AutosaveCommentedFileConfig.load(AutosaveCommentedFileConfig.java:85) ~[core-3.6.0.jar:?] {}
        at net.minecraftforge.fml.config.ConfigFileTypeHandler.lambda$reader$1(ConfigFileTypeHandler.java:53) ~[?:?] {re:classloading}
        at net.minecraftforge.fml.config.ConfigTracker.openConfig(ConfigTracker.java:99) ~[?:?] {re:classloading}
        at net.minecraftforge.fml.config.ConfigTracker.lambda$loadConfigs$1(ConfigTracker.java:83) ~[?:?] {re:classloading}
        at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_221] {}
        at java.util.Collections$SynchronizedCollection.forEach(Collections.java:2064) ~[?:1.8.0_221] {}
        at net.minecraftforge.fml.config.ConfigTracker.loadConfigs(ConfigTracker.java:83) ~[?:?] {re:classloading}
        at net.minecraftforge.fml.server.ServerLifecycleHooks.handleServerAboutToStart(ServerLifecycleHooks.java:68) ~[?:?] {re:classloading}
        at net.minecraft.server.integrated.IntegratedServer.init(IntegratedServer.java:96) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:622) [?:?] {re:classloading,pl:accesstransformer:B}
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_221] {}

can someone tell me the cause and if could, how to fix it?

Link to comment
Share on other sites

6 minutes ago, RaphGamingz said:

com.electronwill.nightconfig.core.io.ParsingException: Tables names must not be empty.

Your mods.toml config file is incorrect. 

Edited by Animefan8888

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites


#Oregen Config
[oregen]
	#Maximum number of ore veins of magical ore that can spawn in one chunk
	#Range: 1 ~ 500
	chance = 100
	#Decide if you want magical ore to spawn in the overworld
	generate_overworld = true

#Magical Generator Settings
[magical_generator]
	#Power Generated per tick for the generator
	#Range: 1 ~ 1000
	magical_generator_generate = 8
	#Power sent per tick
	#Range: 0 ~ 10000
	magical_generator_send = 100
	#Ticks per magical dust. Total amount of power generated = generated * ticks
	#Range: 1 ~ 1000
	magical_generator_ticks = 100
	#Maximum power generator can hold
	#Range: > 0
	magical_generator_maxpower = 10000

My mod.toml file

Link to comment
Share on other sites

8 minutes ago, RaphGamingz said:

My mod.toml file

Oddly enough I dont see an error. Try moving the file and letting forge generate another one.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

I deleted the file and i generated another one. It loaded minecraft good but when i load a world, it crashes with the same error. then another error comes up.

java.lang.IllegalArgumentException: Can not hotload overworld. This must be loaded at all times by main Server.
        at org.apache.commons.lang3.Validate.isTrue(Validate.java:158) ~[commons-lang3-3.8.1.jar:3.8.1] {}
        at net.minecraftforge.common.DimensionManager.initWorld(DimensionManager.java:209) ~[?:?] {re:classloading}
        at net.minecraftforge.common.DimensionManager.getWorld(DimensionManager.java:178) ~[?:?] {re:classloading}
        at net.minecraft.server.MinecraftServer.getWorld(MinecraftServer.java:1026) ~[?:?] {re:classloading,pl:accesstransformer:B}
        at net.minecraft.server.MinecraftServer.save(MinecraftServer.java:536) ~[?:?] {re:classloading,pl:accesstransformer:B}
        at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:571) ~[?:?] {re:classloading,pl:accesstransformer:B}
        at net.minecraft.server.integrated.IntegratedServer.stopServer(IntegratedServer.java:235) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:685) [?:?] {re:classloading,pl:accesstransformer:B}
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_221] {}

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.