Server.save({

If I have:

Settings <- {};
Settings.color <- {};
Settings.lenght <- {};

Settings=server.load();

then I need to store the weight and I do
server.save({weight=“62”})

will the nv table be like this

Settings <- {};
Settings.color <- “red”;
Settings.lenght <- "14;

or like this

Settings <- {};
Settings.color <- “red”;
Settings.lenght <- "14;
Settings.weight <- “62”

or…
Settings <- {};
Settings.weight <- “62”

It will look like your last example. With server.save({ weight=“62” }), you have overwritten anything that was once there.

how can I add instead of overide ?

Settings=server.load()
Settings.weight <- "62"
server.save(Settings)

You might also be interested in the AgentStorage library.