v2.0.4 minor
Sit on your own MLO furniture, and a new update checker
3changes

Sit on your own MLO furniture, and a new update checker
3changes

[02] Release
Chairs, sofas and beds from your own maps can now get the Sit and Lie down options: list their model names in config/config.lua. The server console gets a new update checker, and the startup lines only show with Debug mode on.
/sitconfig settings are kept.config/config.lua has two new options at the end. If you keep your own copy of that file, add this block to it:Config.ExtraSeats = {
-- 'my_mlo_chair_01',
}
Config.ExtraBeds = {
-- 'my_mlo_bed_01',
}
Replace every file in the resource, except what you edited yourself:
config/config.lua — two new options, see above.shared/props.luashared/framework.luacustom/client.luacustom/server.luaserver/settings.luaserver/version.luafxmanifest.lua — version only.Add the model names of the chairs, sofas and beds from your maps to Config.ExtraSeats and Config.ExtraBeds in config/config.lua, then restart the resource. They get the Sit and Lie down third-eye options and the automatic seat position like any built-in prop. Names containing sofa, couch, armchair or stool are seated as that type; any other seat is treated as a chair. CodeWalker shows the model names.
When the resource starts, the console shows your version, the latest version and whether you are up to date. When an update is available, it lists what changed and links to the full changelog.
The startup lines (framework detected, adapters loaded, settings loaded) now only appear when Debug mode is on in /sitconfig. Warnings and errors still always show.