Skip to main content
Deno 2 is finally here 🎉️
Learn more
interface IBotConfig.ModLimits
import { type IBotConfig } from "https://deno.land/x/sptaki@1.2.0/models/mod.ts";
const { ModLimits } = IBotConfig;

Properties

optional
scopeLimit: number

How many scopes are allowed on a weapon - hard coded to work with OPTIC_SCOPE, ASSAULT_SCOPE, COLLIMATOR, COMPACT_COLLIMATOR

optional
lightLaserLimit: number

How many lasers or lights are allowed on a weapon - hard coded to work with TACTICAL_COMBO, and FLASHLIGHT