Skip to main content

LOADER_SCRIPTS

Constant LOADER_SCRIPTS 

Source
pub const LOADER_SCRIPTS: [&str; 3];
Expand description

The loader scripts a BepInEx/BepisLoader package may ship into the target, in precedence order. Both the resolver behind launch_plan_in and the wrapper script from wrapper_script_contents chainload the first one present, so the two agree by construction.

start_server_bepinex.sh is only ever selected for an InstanceType::Server profile — running it for a game instance would start a dedicated server. The wrapper, which has no ecosystem profile to consult at run time, gates it on the TS_START_SERVER environment variable instead.