Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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.

  • Author

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.