wasvendel_crafting
wasvendel scripts
wasvendel_crafting
wasvendel scripts
wasvendel_crafting.wasvendel_crafting folder into your server's resources directory.wasvendel_crafting.sql into your database.server.cfg after your framework core.Import wasvendel_crafting.sql to enable craft XP persistence.
Edit config.lua to configure craft stations, recipes, job locks, time locks, and XP settings.
| Command | Usage | Description |
|---|---|---|
/mycraftxp | /mycraftxp | Shows your current craft XP. |
The command name can be changed with Config.Command.commandname.
Crafting stations are accessed through configured world locations and props.
| Event | Payload | Description |
|---|---|---|
wasvendel_crafting:sendAvailableCrafts | allCrafts, availableCrafts, identifier, xp | Opens the crafting UI with available recipes. |
wasvendel_crafting:sendRefreshedCrafts | allCrafts, availableCrafts, identifier, xp | Refreshes the craft list. |
wasvendel_crafting:startProgress | category, selectedCraft, amount, time, animationKey, animationPayload | Starts the crafting progress bar. |
wasvendel_crafting:showcraftxp | xp | Shows the player's craft XP. |
wasvendel_crafting:receiveJobForBlips | playerJob | Sends the player's job for map blips. |
wasvendel_crafting:starttracking | duration | Starts illegal craft tracking. |
wasvendel_crafting:updateblip | targetPlayerId, playerCoords | Updates the tracking blip. |
| Event | Payload | Description |
|---|---|---|
wasvendel_crafting:checkjob | identifier, ingametime | Validates the player's job and opens available crafts. |
wasvendel_crafting:checkmaterials | category, selectedCraft, amount | Checks required materials before crafting. |
wasvendel_crafting:finishCrafting | category, selectedCraft, amount | Completes crafting and gives the crafted items. |
wasvendel_crafting:requestAvailableCraftsWithTime | identifier, gameHour | Requests available crafts with time filters. |
| Event | Payload | Description |
|---|---|---|
wasvendel_crafting:serverlog | source, item, amount | Hook triggered when a craft is completed. |