Aaron Suen 5c8040a2cc Add stub settingtypes.txt files
These are all based on automated detection (intercept the minetest
settings metatable methods) and lack any useful documentation, and
may be incomplete (e.g. missing keys that are only discovered at
runtime based on specific actions).

Eventually these will be filled out and used to document settings,
and make it easier to manage settings in the MT Settings UI.
2024-03-28 09:23:12 -04:00
..
2022-12-09 17:58:34 -05:00
2023-06-20 07:30:35 -04:00

Adds a simple /lag <seconds> command for anyone with the server priv. When set to anything above zero, no server step will be allowed to complete in less than that amount of time (it effectively set the minimum lag per step). CPU cycles will be wasted to meet the lag requirement (it's a busy-wait).

This is useful for quickly testing lag-dependent issues such as machines jamming under high lag conditions.

Lag is not preserved across server restarts and is reset to zero.

There is a maximum safe lag level assigned at runtime, which can be overridden by a setting, but changing the setting requires a restart.