Posted June 23, 20187 yr Where is the sever.properties file parsed at and when? Edited June 24, 20187 yr by jredfox
June 24, 20187 yr 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.
June 24, 20187 yr 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?
June 24, 20187 yr 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.