Jump to content

Recommended Posts

function GetModConfigData(optionname, modname, get_local_config)

There is a variable "get_local_config" which means that the mod can access local user settings of the mod.

For example:

server_option = GetModConfigData("option") --Until it's not a host player.
client_option = GetModConfigData("option", true)

But HOW the user can set his local options for the mod? Let's say the user subscribed the mod and went to MODS menu. But there are no possibility to change settings until the user start his own server!

Link to comment
https://forums.kleientertainment.com/forums/topic/71065-local-getmodconfigdata/
Share on other sites

Ah, I just found it out ;)

After you started DST and hit "play" you can go to "Mods" (instead of Browse Game/Host Game). There you can switch to server mods, change settings and hit "apply".

But I think 60% of all players never do change normal modsettings. So I also think that 95% never change those all_clients_require settings... But it is nice to know :)

7 hours ago, Serpens said:

Maybe you can ask Star at steam ?

Unfortunately I am Star at Steam.

6 hours ago, Serpens said:

fter you started DST and hit "play" you can go to "Mods"

True. For some reason I thought that Klei removed options for server mods in Play/Mods menu. I was wrong. Thanks. :) 

7 hours ago, Maris said:

Unfortunately I am Star at Steam.

? :D  you are too nice to be star ;)
I still don't get, why you refused to add my great improvements for your ShowMe mod =( 
e.g I also build in to enable/disable showing the units (like meat,veggie and so on) by hitting F1.
And rainometer and the temperature thing show the actual values when hovering over them.. or showing movement speed of players... and all the other stuff I wrote at steam a while back ^^

Edited by Serpens
17 minutes ago, Maris said:

I like to keep things simple because I personally like simple things rather than complicated.
 

hmm okay... just don't get how someone can follow this slogan, but make a ShowMe mod...
The ShowMe mod is not a simple mod. It is already very complex. And just adding some more tooltips won't make it more complex. (the F1 thing maybe is, okay)

10 hours ago, Serpens said:

The ShowMe mod is not a simple mod.

I meant simple for users. Idea of ShowMe is very simple, isn't it? :)

It shows interesting information while users don't have direct access to this info. The users may not decide what kind of info they will see, because the mod decides what is interesting and what is not. So it's like "install & forget".

Whether it will be good if there are thousands of little options. The user should read them all before start of enjoying the game.
 

Edited by Maris

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