CoreConfigV2
com.jsmacrosce.jsmacros.core.config.CoreConfigV2
Holds core profile, service, and event-dispatch settings. Obtain the managed instance through the configuration manager; its runner is injected by that manager.
js
const config = JsMacros.getConfig().getOptions(Java.type("com.jsmacrosce.jsmacros.core.config.CoreConfigV2"));
Chat.log(`${config.getCurrentProfile()}: ${config.profileOptions()}`);Constructors
new CoreConfigV2
new CoreConfigV2()#Seeds the default profile with a disabled, non-joined
ProfileLoad index.js trigger.Fields
anythingIgnored
defaultProfile
maxLockTime
maxLockTime: long#Configured nonnegative delay, in milliseconds, before the joined-lock watchdog's timed check; initially
500. This is not an exact deadline or scheduling guarantee.profiles
profiles: Map<String, List<ScriptTrigger>>#Maps profile names to their mutable script-trigger lists; construction seeds the
default entry.services
services: Map<String, ServiceTrigger>#Configured service triggers, keyed by service name; this is not the running-service registry.