BWStatsToDC
A Discord-integrated BedWars statistics plugin for Spigot servers.
BWStatsToDC allows players to view BedWars statistics and leaderboards directly from Discord using slash commands with automatically generated stat cards and leaderboard images.
Features
Statistics Commands
- /bwstats <player> - View player statistics
- /bwlb wins - View wins leaderboard
- /bwlb kills - View kills leaderboard
- /bwlb beds - View beds destroyed leaderboard
Discord Integration
- Discord slash commands
- Configurable Discord channel
- Configurable bot status
- Configurable bot activity
- Automatic image generation
- SQLite database support
Configuration
- Custom Discord bot token
- Custom database path
- Custom server branding
- Custom messages
- Configurable Discord status
- Configurable Discord activity
Administration
- /bwstatsreload command
- bwstats.reload permission
Commands
Discord Commands
/bwstats <player>
/bwlb wins
/bwlb kills
/bwlb beds
Minecraft Commands
/bwstatsreload
Permissions
bwstats.reload
Example Configuration
bot-token: "YOUR_DISCORD_BOT_TOKEN"
allowed-channel: 123456789012345678
database:
path: "plugins/BedWars1058/Cache/shop.db"
branding:
server-name: "My Server"
discord:
status: ONLINE # ONLINE, IDLE, DND
activity:
type: PLAYING # PLAYING, WATCHING, LISTENING, COMPETING
text: "BedWars"
messages:
wrong-channel: "❌ Use this command in <#%channel%>"
invalid-leaderboard: "❌ Invalid leaderboard type."
player-not-found: "❌ Player %player% not found."
leaderboard-failed: "❌ Failed to generate leaderboard."
stats-failed: "❌ Failed to generate stats image."
Installation
- Download the latest release from GitHub.
- Place BWStatsToDC.jar into your plugins folder.
- Start the server once.
- Configure config.yml.
- Add your Discord bot token.
- Configure the Discord channel ID.
- Restart the server.
Requirements
- Java 21
- Spigot/Paper Server
- Discord Bot Token
- BedWars1058 SQLite Database
Download
Latest releases are available on GitHub Releases.
Support
If you find a bug or have a feature request, please leave a comment on the resource page.