# KS-PauseMenu

A simple and elegant **Pause Menu** for FiveM servers featuring:

* A clean, modern **UI design**
* Integrated **Report System** (with in-game form and Discord logs)
* Virtual currency system: **KROHN COIN**
* Staff-only **Code Generator** for distributing coins
* Full compatibility with **ESX**, **QBCore**, and **QBX**
* **Change Log Sync:** fetches changelog messages from a specific Discord channel

## 🧭 Features Overview

#### 🕹️ **Pause Menu**

A custom-built pause menu that replaces the default GTA V one.\
It provides quick access to:

* **Bank**
* **Player List**
* **Map**
* **Settings**
* **Tebex Store (Redeem Code)**
* **Rules & Social Links**
* **Krohn Coin Balance**
* **Report Form**

🧩 Designed with a minimal and responsive UI for seamless integration in any RP server.

### 📩 **In-Game Report System**

Players can submit reports directly from the pause menu.

* Opens a simple popup form:
  * **Name**
  * **Subject**
  * **Message**
* Sends the report instantly to all authorized staff
* Automatically logs the report on **Discord** via a webhook

✅ Staff receive in-game notifications\
✅ Discord embeds include player name, license, Discord ID, and timestamp

### 💰 **KROHN COIN System**

A built-in **virtual currency** for rewards, events, or store credits.

* Players earn coins through codes or gameplay
* Staff can **generate redeemable codes**
* Players can redeem codes directly from the pause menu

🪙 Each code grants a custom amount of KROHN COIN\
💾 Stored persistently in the player’s database \
🧑‍💻 Fully logged to Discord (code creation and redemption)

```sql
-- ESX
ALTER TABLE `users` ADD COLUMN `krohn_coin` INT NOT NULL DEFAULT 0;

-- QBCore
ALTER TABLE `players` ADD COLUMN `krohn_coin` INT NOT NULL DEFAULT 0;
```

### 🤖 **Discord Integration**

Easily connect your in-game systems to Discord.

* **Change Log Sync:** fetches changelog messages from a specific Discord channel
* **Report Webhook:** logs new player reports
* **CodeGen Webhook:** logs coin generation by staff
* **Redeem Webhook:** logs coin redemption by players

All embeds are neatly formatted with localized titles and fields.

## 📥 Download

You can Buythis **PauseMenu** from our official Tebex store:\
👉 [**Tebex**](https://katanakraftstudio.tebex.io/)

## 💬 Need Help or Want More Scripts?

If you want to discover more scripts we've created, need support, or have any questions — feel free to join our Discord server!

👉 [**Join our Discord server**](https://discord.gg/wuwFd4RYjy)
