Jump to content

Recommended Posts

Posted

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted

Client config is in .minecraft/config/<modid>-client.toml, server is in .minecraft/saves/<world>/serverconfig/<modid>-server.toml

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted

That wasn't my question, my question was to access a custom config file set in a custom path/folder within the default config's folder. For example /modconfigfolder/randomfolder/someconfig.toml

Posted (edited)

No clue, probably don’t. I know that can change the name of the config somehow, if you really want to look into this that would be a good place to look at.

Edited by Cadiboo

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted
  On 6/4/2019 at 2:49 AM, Cadiboo said:

No clue, probably don’t.

Expand  

So basically if I wanted to access a folder of config files that follow the same schema that can be created by the user to be used ingame is currently not possible (at least not easily anyways)? Is there any chance of the 1.12 config system coming back, I found that to work quite well in design and usability :/

Posted

Why do you want multiple config files?

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted
  On 6/4/2019 at 2:56 AM, Cadiboo said:

Why do you want multiple config files?

Expand  

As in, I want my controller mod to be able to support controller mappings through config files. Basically make a config file inside a folder with all the mapping info in it and then in code read through that mapping file. Basically this but not just one mapping file, multiple for convenience.

Posted

modLoadingContext#registerConfig has a fileName parameter. You can probably use use the system file separator in that name

About Me

  Reveal hidden contents

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Posted (edited)
  On 6/4/2019 at 3:55 AM, Cadiboo said:

modLoadingContext#registerConfig has a fileName parameter. You can probably use use the system file separator in that name

Expand  

Is there any way to get the configuration directory without hard coding a string such as ".minecraft/config/mod/" and save it as a File instance? 

Edited by fernthedev

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.