About Discord LeaderBoard
- DiscordLeaderBoard is a powerful Rust plugin that automatically sends beautiful Discord leaderboards using data from the Player Ranks plugin. It features customizable categories, real-time updates, and seamless integration with your existing MySQL database and Player Ranks statistics.
 
	Core Features :
	 
- 
		
 Multiple Leaderboard Categories :
	 
- PvP Leaderboard — Kills, deaths, KDR, headshots, suicides
 - PvE Leaderboard — PvE kills and NPC eliminations
 - Resource Gathering — Resources gathered, plants collected, and barrels destroyed
 - Explosives — Rockets launched, MLRS fired, and explosives thrown
 - Events — Helicopter and APC kills/hits
 - Building — Structures built, demolished, upgraded, and items deployed
 - 
		Server Statistics — Comprehensive server-wide statistics and online player count

 
- 
		
 Automated Updates :
	 
- Configurable intervals for automatic leaderboard updates (default: 5 minutes)
 - Real-time data pulled from your existing Player Ranks MySQL database
 - Smart message management — Updates existing Discord messages instead of spamming
 
- 
		
 Rich Discord Integration :
	 
- Beautiful embeds with category-specific colors and formatting
 - Custom images support for each leaderboard category
 - Server information display with name and connection details
 - Top 5 players ranking system with detailed statistics
 
- 
		
 Flexible Configuration :
	 
- Enable/disable categories — Turn on only the leaderboards you want
 - Custom field selection — Choose which Player Ranks statistics to display
 - Individual webhooks — Separate Discord channels for each category
 - Custom ordering — Set how players are ranked in each category
 - Image support — Add custom images to your leaderboards
 
- 
		
 Dependencies :
	 
- 
		
 Player Ranks Plugin — Required for statistics data
	 - 
		
 MySQL Database — Same database used by Player Ranks
	 - 
		
 Discord Webhooks — For sending leaderboards to Discord channels
 
- 
		
 config File :
	 
{ "SendInterval": 300, "ServerName": "my rust server", "ShowServerName": true, "ShowServerIP": true, "ServerIP": "connect [your server ip here]", "MySQL": { "sql_host": "localhost", "sql_port": 3306, "sql_db": "db name", "sql_user": "db username", "sql_pass": "db pass", "tablename": "db table name" }, "Categories": { "pvp": { "enabled": true, "webhook": "", "fields": [ "PVPKills", "Deaths", "KDR", "HeadShots", "Suicides", "BulletsFired", "ArrowsFired" ], "orderBy": "PVPKills", "showImage": false, "imageURL": "" }, "pve": { "enabled": true, "webhook": "", "fields": [ "PVEKills", "NPCKills" ], "orderBy": "PVEKills", "showImage": false, "imageURL": "" }, "resources": { "enabled": true, "webhook": "", "fields": [ "ResourcesGathered", "PlantsGathered", "BarrelsDestroyed" ], "orderBy": "ResourcesGathered", "showImage": false, "imageURL": "" }, "explosives": { "enabled": true, "webhook": "", "fields": [ "RocketsLaunched", "MLRSFired", "ExplosivesThrown" ], "orderBy": "(RocketsLaunched + ExplosivesThrown)", "showImage": false, "imageURL": "" }, "events": { "enabled": true, "webhook": "", "fields": [ "HeliKills", "HeliHits", "APCKills", "APCHits" ], "orderBy": "(HeliKills + APCKills)", "showImage": false, "imageURL": "" }, "build": { "enabled": true, "webhook": "", "fields": [ "StructuresBuilt", "StructuresDemolished", "ItemsDeployed", "EntitiesRepaired", "StructuresUpgraded" ], "orderBy": "StructuresBuilt", "showImage": false, "imageURL": "" }, "server": { "enabled": true, "webhook": "", "fields": [], "orderBy": "", "showImage": false, "imageURL": "" } } }
	
	 

