Kartik Scripts

Installation

๐Ÿ“‹ Requirements

Resource
oxmysqlRequired
RSG: rsg-core and rsg-inventory
VORP: vorp_core and vorp_inventory
OneSyncRequired. The server checks carcasses and player positions

The framework is detected automatically (Config.Framework = 'auto'). You can force it with 'rsg' or 'vorp'.


๐Ÿš€ Installing

  1. Drop the kartik-hunting folder into your resources.
  2. Start it after oxmysql, your framework and your inventory in server.cfg:
ensure oxmysql
ensure rsg-core          # or vorp_core
ensure rsg-inventory     # or vorp_inventory
ensure kartik-hunting
  1. Restart your server. Items are registered on start (see Items).
  2. On VORP, restart once more so vorp_inventory loads the new items.

Stop other hunting scripts that pay for pelts or skinning (a vorp_hunting or rsg-hunting, for example). Otherwise the same animal pays twice.

If the console prints "No framework found", your framework is starting after kartik-hunting. Move its ensure line above.


๐Ÿ’พ Database

Nothing to import. These tables are created on the first start:

TableWhat it holds
kartik_hunting_huntersReputation and hunting stats (ledger and compendium) per character
kartik_hunting_contractsContracts each hunter has taken, with their progress
kartik_hunting_trapsTraps set in the world, so they survive restarts
kartik_hunting_stowedCarcasses tied on horses and loaded on wagons

๐Ÿ‘‘ Admin access

Admin commands need the ace in Config.Admin.ace, which is command by default. txAdmin and server admins already have it. See Commands.


๐Ÿ’ฌ Optional: Discord logs

Set Config.Logs.enabled = true and add your webhook to server.cfg:

set kht_discord_webhook "https://discord.com/api/webhooks/..."

Pick which events are sent in Config.Logs.events. See Configuration.


โœ… First steps

  1. Join, type /journal and look around the ledger.
  2. Ride out into the wild, crouch and hold the search prompt (or type /track).
  3. Follow the signs, take a clean shot with the right weapon and skin the animal.
  4. Sell at a butcher or trapper, and pick up a contract from their board.
  5. Open shared/config.lua and set your theme, title and currency in Config.UI.

๐Ÿ–Œ๏ธ Editing the UI

The UI source is in source/ (React, Vite, Tailwind). The built files in web/ are what the game loads.

cd source
npm install
npm run start   # browser preview with mock data at http://localhost:5173
npm run build   # writes web/

Preview pages: #journal, #trader, #result, #clue, #hud. Add ?theme=paper or ?lang=de to see another theme or language.

On this page