Jump to content

[WIP] Mod Options


Maris

Recommended Posts

What you think about mod options ingame?

 

I was making the mod options as a part of another mod but now it's a separate mod.

So any author of a mod can add their custom options to their mod.

There is a tab in game options menu. So user may click checkboxes and press Apply.

Link to comment
Share on other sites

I did previously start something similiar myself. Are your mod options synced to clients as well?

 

I previously wanted a way to let admins change some mod settings right through the game, so my framework consisted of a hookable UI that a mod can add a page to. These settings would then be transfered to the server and propagated to all clients.

 

I never really got it done 100%.

Link to comment
Share on other sites

  • 2 weeks later...
On 7/20/2020 at 12:43 PM, Dr_Cox1911 said:

Are your mod options synced to clients as well?

Not yet.

I'm waiting for multiplayer in B41.

 

But client mods work fine. It's possible to change options right through the game.

As a side effect, host may change options right through the game, but each mod must handle its own server options using "not isClient()"

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...