CraftPriority
Configuration
Turning the plugin on or off, which jobs go first, and logging.
Configuration lives in config.json in the plugin folder. Changes apply with CraftPriority.Reload, from the admin console or over RCON.
| Setting | Default | What it does |
|---|---|---|
EnableCraftPriority | true | true runs smaller jobs first. false makes stations behave exactly like unmodified ASA; any job paused at that moment is handed back to its station first. |
PriorityBy | "Quantity" | Which jobs go first. "Quantity": fewest items queued first. "QuantityThenSpeed": fewest items queued first; if equal, the faster craft goes first. "Time": least total crafting time first (all items queued in the job). A change applies from the next time a station picks a job. |
EnableDebugLogging | false | Logs every reorder and pause. Useful when testing; busy servers log a lot. |
EnableCraftPriority and EnableDebugLogging must be true or false, and PriorityBy must be one of the three values above, in any capitalisation. A missing value uses its default. An invalid file keeps the previous settings on reload and uses the defaults at startup, with the reason in the log.
Switching the plugin back on with a reload treats jobs already queued as they are after a restart: each is sized by what it has left.