# 🪶 Sync IC Job & Playername with Discord Roles
Synchronize your **in-character (VORP)** job and player name directly with your **Discord roles and nicknames** — fully automated and database-driven.
This script keeps your Discord community perfectly aligned with in-game roles, updating instantly when players change jobs or join the server.
---
## 📖 Features
✅ Automatic Job → Discord Role Sync
Every time a player’s job changes in-game, their Discord role updates accordingly.
✅ Playername → Discord Nickname Sync
On login, the player’s in-character first and last name are automatically applied as their Discord nickname.
Includes **ignore role support** — users with a specific Discord role can be excluded from name sync (e.g., staff).
✅ Webhook Logging
Every change is logged with a rich Discord embed:
* Player name
* Steam ID
* Discord ID
* Old & new job
* Timestamp
✅ Queue System
Runs efficient, batched updates for all characters, even if the database is changed manually.
✅ VORP Integrated
Fully compatible with VORP framework job and character structure.
✅ Robust Permissions Handling
Includes rate-limit handling, retry logic, and checks for missing Discord permissions.
---
## 🧩 Requirements
* **VORP Core**
* **oxmysql**
* **Discord Bot** with permission:
* Manage Roles
* Manage Nicknames
* Read Members
---