wasvendel scripts

wasvendel_boss

Faction / boss menu: treasury, job-based faction management.

Requirements

  • VORP (or compatible RedM core)
  • oxmysql

Installation

  1. Unzip wasvendel_boss.
  2. Put the wasvendel_boss folder into your server resources directory.
  3. Add the resource to server.cfg after your framework core.
ensure oxmysql
ensure your_core
ensure wasvendel_boss

Database

No separate SQL file. Schema at runtime (servers/database.lua).

Configuration

Edit:

  • configs/config.lua
  • configs/lang.lua
  • configs/client_notifications.lua
  • configs/server_notifications.lua
  • configs/discord_webhook.lua

Commands

Command Source Description
/bossadmin Config.AdminCommand Boss admin

Exports

Server

Export Signature Description
ListFactions () -> {id,name,job,balance}[] List of factions
GetFaction (factionId) Faction row
GetFactionByJob (jobName) Faction by job
GetTreasuryBalance `(factionId) -> number nil`
AddTreasury (factionId, amount, meta?) Modify treasury (meta: charId, actorName, action)

New documentation page

The file is saved to the markdown/ folder. Editing is localhost-only.