Nucleus handler tools › Docs › Checks

An option that needs another one

Warningneeds-optionA Nucleus check · Probably wrong: Nucleus runs it, but not the way you meant.

Why it matters

Nucleus only reads some options when another is on: FakeFocusInterval needs FakeFocus, SteamlessArgs needs UseSteamless, and so on. Alone, it does nothing.

Example

✗ Wrong

Game.FakeFocusInterval = 1000;

✓ Right

Game.FakeFocus = true;
Game.FakeFocusInterval = 1000;

How to fix it

Turn on the option it names (the quick fix adds it), or remove the line.

Turn it off, or change how it shows

Each check can be shown as an error, warning, info or hint, or turned off. VS Code: "splitscreenme.lint.rules": { "needs-option": "off" } in your settings. Notepad++: Plugins › Nucleus Co-op handlers › Settings. Command line: ncdev lint --rule needs-option=off. Other editors: the lint.rules setting of ncdev lsp.

Is this right? Tell us what's wrong
Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop