Skip to main content
The btc_profession_grant_xp action is the primary way to level up players in your custom professions (e.g., granting Mining XP when breaking a rock).
Mechanic: This action automatically handles Level Up events. If the granted XP pushes a player over the threshold, it triggers the registered Level Up rewards for that profession.

Configuration

professionId
String
required
The unique ID of the profession (e.g., mining, fishing). Must match your Configuration.
amount
Var<Int>
default:"0"
Experience points to add.Supports math and placeholders.

Example Usage

# Give 500 XP to Blacksmithing
btc_profession_grant_xp:
  professionId: "blacksmithing"
  amount: 500