Jump to content

Recommended Posts

Posted

I would like to save a file related to my mod. This file would be client side to provide for private data related to the mod, as well as another version server side for public data. I would like to know where would be the best place / filepath to save this file, and also how to get the map name / server info for the current game.

 

Thank you.

Posted

No, it's not a config file. It's a set of waypoint data to be saved as an XML file. Personal waypoints, or waypoints for a server without my mod installed, are to be saved client side, and I would like to have the filename the same as the server or map name, if I could find out how to get that information.

 

I would also like to have publicly shared waypoints, to be saved server side. I'm just wondering what the suggested file location to save these files (like in a subfolder under the "Mods" folder?) and the recomended way of getting /  setting this filepath in Forge.

 

Also, as already mentioned, I would like to now how to get the server info (or the map name in single player) for use in generating the filename.

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.