DialoguesEconomy Plugin
The Ultimate RPG Dialogue & Economy Integration Plugin
DialoguesEconomy Plugin
<p align="center"> <b>RPG Dialogue & Economy Plugin</b><br> <i>ระบบบทสนทนา + เศรษฐกิจสำหรับ Minecraft RPG</i> </p>
---
🇬🇧 English Description
DialoguesEconomy is a powerful system designed for Minecraft 1.21+ servers.
Whether you're creating an RPG world or just want interactive NPCs, this plugin manages text, choices, items, and money seamlessly.
✨ Key Features
* Command Actions: Chat, ActionBar, and Title support. * Command Actions: Clickable options with HoverEvents (supports multi-line). * Command Actions: Check, give, or take money using Vault. * Command Actions: Give or remove items during conversations. * Command Actions: Supports Command Actions: (e.g., `%player_name%`). * Command Actions: Run console commands based on player choices.
📦 Dependencies
* PlaceholderAPI: 21+ * PlaceholderAPI: 1.7.6+ * PlaceholderAPI: 2.11.5+
---
🇹🇭 คำอธิบายภาษาไทย
Economy (Vault) คือระบบ Dialogue สำหรับ Minecraft 1.21+ ที่ผสานระบบ Economy (Vault) ได้อย่างสมบูรณ์แบบ เหมาะทั้งเซิร์ฟเวอร์ RPG และ NPC แบบเลือกตอบ
✨ คุณสมบัติเด่น
* แสดงบทสนทนาได้หลายรูปแบบ: Chat, ActionBar, Title * ตัวเลือกคลิกได้ พร้อม Hover ข้อความ * เชื่อมต่อ Vault: ตรวจสอบ/ให้/ยึดเงิน * จัดการไอเทมระหว่างคุย * รองรับ PlaceholderAPI * รันคำสั่ง Console ตามตัวเลือก
---
🛠️ Installation / การติดตั้ง
1. Put the `.jar` in your `plugins` folder 2. Install PlaceholderAPI และ PlaceholderAPI 3. Restart server 4. Done!
---
💻 Commands / คำสั่ง
| Command | Description (EN) | คำอธิบาย (TH) | | :--- | :--- | :--- | | `/dia start <player> <file>` | Start a dialogue | เริ่มบทสนทนา | | `/dia click <player> <file> <section>` | Internal click event | ใช้ภายใน | | `/dia stop <player>` | Stop dialogue | หยุดบทสนทนา | | `/dia reload` | Reload configs | รีโหลดการตั้งค่า | | `/dia create <file>` | Create dialogue file | สร้างไฟล์ Dialogue |
> Aliases: `/dialogue`, `/dia`
---
📝 Example Configuration
📄 Click to view example (ตัวอย่างไฟล์)
```yaml
first_encounter.yml
start: lines: - type: text line: "[&aJenriur&f] : &fHello! My name is Jenriur." delay: 60 goto: "introduction"
introduction: lines: - type: text line: "[&aJenriur&f] : &fYou must be &a%player_name%&f, right?" delay: 60 - type: text line: "[&aJenriur&f] : &fWelcome to &eNonKungSMP&f!" delay: 70 goto: "sword_offer"
sword_offer: lines: - type: text line: "Take this sword, you’ll need it." delay: 60 - type: choice line: "&6Choose an option:" choices: - "1. Accept | receive_sword" - "2. Reject | reject_sword"
receive_sword: lines: - type: text line: "&aJenriur &f gives you a wooden sword." delay: 60 - type: give_item item: WOODEN_SWORD amount: 1 - type: text line: "Good luck!" delay: 60 goto: "warp_player"
warp_player: lines: - type: console_command command: "mvtp %player_name% worlds" - type: end centertails>
---