You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Foundry.Settings: launcher entries.F.Settings:New({ title = ..., buttonText = ..., launch = fn }) registers an entry under AddOns in the Settings panel that holds one button. Clicking it calls your function with no arguments, which should show your own options window. Use it when your options live in your own window instead of building a placeholder panel. The entry's title and button text are found by the Settings search. Settings moves to API_VERSION 2 and the library to API_VERSION 7. Only one Foundry copy runs, the first one loaded, so it may be older than the copy you shipped (see Which copy runs, and why). To raise an error on an older copy, call F:RequireModule("Settings", 2). To fall back instead, check F.Settings and (F.Settings.API_VERSION or 0) >= 2 before using it.