Tweakers Construct

Tweakers Construct

9M Downloads

Client/Server Interaction

JagerWolf opened this issue ยท 1 comments

commented

The client-side .cfg overrides the server-side .cfg.

For example, on the hosting dedicated server, the .cfg contains tweaks to:

Remove Material
-paper
Stat Tweaks
-stone:90 (head durability)
Trait Tweaks
-copper:all:lightweight

While the client has:

Remove Material
-cactus
Stat Tweaks
-stone:120
Trait Tweaks
-copper:all:dense

And while connected, the client has access to paper, but not cactus, as well as stone head durability at 120 and copper with the Dense trait, based off their local .cfg, overriding the server's set file. This is, for me, merely an inconvenience, as I now have to push the .cfg file with the mod to get the desired results, instead of only the default values when they auto-generate on running.

However, this means that, anyone that knows this, can exploit to get whatever tweaks they want, effectively breaking the game, whether I push my .cfg or not.

Is there a way to force the server-side .cfg and ignore local configurations?

Thanks in advance for your time, otherwise super hype to be able to edit attributes and stats.

commented

I just tested this and players are unable to craft any materials that don't exist on the server, any differences in stats are simply changed to the value the server has. It will look a bit glitchy on the client side but players won't be able to do anything they shouldn't.