Jump to content

[28.2.0]: mods.toml missing metadata for modid ...


MairwunNx

Recommended Posts

I don't know what causes this crash, but my mods.toml fully corresponds to documentation on official forge documentation. My mod crashes after updating forge from 28.1.X to 28.2.0. I also checked existing mods.toml in bundle. 

 

Super short stacktrace:

[1;31m[20:40:59] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception
net.minecraftforge.fml.LoadingFailedException: Loading errors encountered: [
        mods.toml missing metadata for modid project_essentials_cooldown,
        mods.toml missing metadata for modid project_essentials_permissions
]
        at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:179) ~[?:?] {re:classloading}
        at net.minecraftforge.fml.server.ServerModLoader.begin(ServerModLoader.java:45) ~[?:?] {re:classloading}

 

and short stacktrace from client:

 

[20Mar2020 20:33:35.073] [Client thread/FATAL] [net.minecraftforge.fml.ModLoader/CORE]: Failed to initialize mod containers
net.minecraftforge.fml.ModLoadingException: mods.toml missing metadata for modid project_essentials_cooldown
	at net.minecraftforge.fml.ModLoader.lambda$buildModContainerFromTOML$29(ModLoader.java:233) ~[?:?]
	at net.minecraftforge.fml.ModLoader$$Lambda$2110/542220524.get(Unknown Source) ~[?:?]
	at java.util.Optional.orElseThrow(Optional.java:290) ~[?:1.8.0_51]
	at net.minecraftforge.fml.ModLoader.buildModContainerFromTOML(ModLoader.java:233) ~[?:?]

 

mods.toml:

 

modLoader="javafml"
loaderVersion="[28,)"
issueTrackerURL="https://github.com/ProjectEssentials/ProjectEssentials-Permissions/issues"

[[mods]]
    modId="project_essentials_permissions"
    version="1.14.4-1.2.1"
    displayName="Project Essentials Permissions"
    updateJSONURL="https://raw.githubusercontent.com/ProjectEssentials/ProjectEssentials-Permissions/MC-1.14.X/update.json"
    displayURL="https://github.com/ProjectEssentials/ProjectEssentials-Permissions"
    credits="Thanks JetBrains for Intellij IDEA license!"
    authors="MairwunNx (Pavel Erokhin)"
    description='''
    Project Essentials Permissions - additional module for Essentials;
    Just controlling player permissions.

    Also it just permission API for forge.
    '''

[[dependencies.project_essentials_permissions]]
    modId="project_essentials_core"
    mandatory=true
    versionRange="[1,)"
    ordering="NONE"
    side="BOTH"

[[dependencies.project_essentials_permissions]]
    modId="forge"
    mandatory=true
    versionRange="[28,)"
    ordering="NONE"
    side="BOTH"

[[dependencies.project_essentials_permissions]]
    modId="minecraft"
    mandatory=true
    versionRange="[1.14.4]"
    ordering="NONE"
    side="BOTH"

 

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.