Reload from server.properties

  • 62 Views
  • Last Post 2 weeks ago
altimitmine posted this 2 weeks ago

Would it be possible for AMP to allow us to re-import settings from server.properties into the AMP WebUI? This could be useful for importing other servers or manual edits.

With SR0, I copied servers I manually ran over into the system, and while they ran fine, the configuration in AMP was wrong.

An example: Max Users was 20 on server, but reported the default 10 in AMP, I had to change it in AMP just to syncronize it.

2nd example: Another server I imported had the IP in server.properies, and AMP is on a different IP. The server failed to start, but AMP was reporting "0.0.0.0" as the IP. I had to change it to 127.0.0.1 and back again to get it to update server.properties.

An option to read server.properties back and update the AMP's cache of the config at the user's request could be beneficial.

Thanks.

1 Comments
Mike posted this 2 weeks ago

This isn't currently planned for the most part, since AMP is designed to be the authority on what settings are being applied to the server.

There might be an option for a one-time import, but there's not going to be a two-way sync unless someone wants to write a plugin just to do that.