Skip to main content

Overview

Every player has a crafting XP total stored in data/crafting_xp.json keyed by their license identifier. XP is earned by successfully completing crafts and is used to unlock higher-tier recipes.

XP Settings

Configured in the admin panel under Settings:
SettingDefaultDescription
XP Multiplier1.5Global multiplier applied to all XP rewards
Base XP50XP required to reach level 1
Max Level100Maximum level players can reach
Max Level XP700XP required per level at the cap

Level Gates

Each recipe has a requiredLevel field. Players below that level cannot see or craft that recipe. Example level thresholds from the default recipe set:
LevelUnlocks
0Plastic, Rubber
1Bandage, Repair Kit, Lockpick
2Steel, Painkillers, Electronic Kit
5Drill, Advanced Lockpick, Advanced Repair Kit
7Shotgun Shells
8Thermite
10Rifle Ammo
15Pistol
20Sawn-Off Shotgun
25SMG

Admin XP Commands

Admins can manually adjust player XP:
CommandUsage
/addcraftxp [id] [amount]Add XP to a player
/removecraftxp [id] [amount]Remove XP from a player
Command names are configurable in config.lua under Config.Commands.