Jump to content

Server/Client mod configurations

Recommended Posts

When I set up a custom configuration for mods for a single host (player as host) then the configuration files works. However, when a configuration is setup for the client and the server using modoverides.lua for both client and host then the client doesn't see the configuration is reverts to default. How can I modify this? I can't seem to change the configuration in the modscreen of the client to override this. The client for some reason always reverts to default. Is there a work around for this?

Link to comment
Share on other sites

  • Developer

@gregdwilson, the mod itself will need to determine if it wants to read the client's configuration or the server's configuration for each option. This is done by passing true or false into the second parameter of GetModConfigData. Passing true will return the local client's configuration, rather than the version download by the server.


Or am I misunderstanding your issue?

@Maris, what is the bug you are referring to here?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...