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 noticed that both the client and server files (like options.txt, server.properties, resourcepacks etc) are in the "run" directory. This makes me wonder how it loads and handles config files when you have both a client and server open at the same time (via "gradlew runClient" and "gradlew runServer" for example). I made a boolean config value and a command that prints that value, and it turns out that if I change the value via the GUI in the client but don't change it in actual file the command will post different results. Could someone explain how it manages to keep track of both at the same time? 

  • Author
7 minutes ago, diesieben07 said:

The file is loaded into memory and then kept there. The game doesn't ask the harddrive "hey, what was that file again" every time you access the Configuration object.

Is this also how it works outside a dev environment?

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.