wasvendel_boss
Faction / boss menu: treasury, job-based faction management.
Requirements
- VORP (or compatible RedM core)
oxmysql
Installation
- Unzip
wasvendel_boss. - Put the
wasvendel_bossfolder into your serverresourcesdirectory. - Add the resource to
server.cfgafter your framework core.
ensure oxmysql
ensure your_core
ensure wasvendel_bossDatabase
No separate SQL file. Schema at runtime (servers/database.lua).
Configuration
Edit:
configs/config.luaconfigs/lang.luaconfigs/client_notifications.luaconfigs/server_notifications.luaconfigs/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) |