Whenever I get around to checking what commands I need to package.
serverCmdEnvGui_SetVar(%client, %variable, %value)%variable is something like this:
DayCycleEnabled%value is obviously the value that should be tied to said variable. daycycleenabled is a boolean, obviously. dayLength is an integer, obivously. you get the idea
that's the ones for advanced environment control.