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

Where is the sever.properties file parsed at and when?

Edited by jredfox

DedicatedServer#init creates an instance of PropertyManager to parse the server.properties file and stores it in the DedicatedServer#settings field. This is the first method called when the server thread starts up.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

  • Author
33 minutes ago, Choonster said:

DedicatedServer#init creates an instance of PropertyManager to parse the server.properties file and stores it in the DedicatedServer#settings field. This is the first method called when the server thread starts up.

is this the same for banned-ips banned-players ops and whitelist? I need to know because I am making a mod for lan-essentials which will create these files per world on save and parse them on startup. 

I noticed filling ops and then logging out of the world makes it save to the disk on a non dedicated server if open to lan was open. Is there a way to just clear the properties before written to the disk and before I clear them save them to the root world dir as well?

45 minutes ago, jredfox said:

is this the same for banned-ips banned-players ops and whitelist? I need to know because I am making a mod for lan-essentials which will create these files per world on save and parse them on startup. 

I noticed filling ops and then logging out of the world makes it save to the disk on a non dedicated server if open to lan was open. Is there a way to just clear the properties before written to the disk and before I clear them save them to the root world dir as well?

 

Those files are handled by the UserListX objects in the server's PlayerList instance.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

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.