Nucleus handler tools › Docs › Checks

A line the Hub install misreads

Warninghub-install-parseA Nucleus check · Probably wrong: Nucleus runs it, but not the way you meant.

Why it matters

When a handler is installed from the Hub, Nucleus finds Game.GameName and Game.ExecutableName by reading lines that start with them and taking the text between the first and last double quote. A comment, a second string or single quotes on that line break the install.

Example

✗ Wrong

Game.GUID = "My Game";
Game.GameName = 'My Game';
Game.ExecutableName = "game.exe";

✓ Right

Game.GUID = "My Game";
Game.GameName = "My Game";
Game.ExecutableName = "game.exe";

How to fix it

Keep each of these lines simple: the name in double quotes, nothing else on 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": { "hub-install-parse": "off" } in your settings. Notepad++: Plugins › Nucleus Co-op handlers › Settings. Command line: ncdev lint --rule hub-install-parse=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