What it does
• Centralizes issued fines per job (e.g., bwsheriff) into a secure server-side pool 🔒
• Allows only authorized sheriffs/ranks to view the current total 🔎 and withdraw funds 💰 from their own job’s pool
• Keeps money flow transparent and auditable (no direct player-to-officer payments) ✅
How it works (conceptually)
• When tickets are issued, amounts accumulate under the officer’s job key in the database (e.g., pogue_fines_total.job → total_fines) 📒
• Authorized users can:
– Check the pool total for their job (/showfinestotal by default) 📈
– Withdraw a specific amount or everything from that pool (/withdrawfines [amount?] by default) 💵
• Withdrawals are handled server-side with atomic DB updates to prevent overdrafts or race conditions ⚙️🧷
Permissions & Control
• Access is controlled by job + grade (e.g., only certain sheriff grades can withdraw) 🛡️
• Command names, allowed grades, and payout currency are configurable 🔧
• Each job can only access its own pool — no cross-job withdrawals 🚫