uxmDiscordSync Plugin Guide
This guide provides comprehensive instructions for setting up and configuring the uxmDiscordSync plugin for your Minecraft server, creating a seamless integration between your Minecraft server and Discord community.What is uxmDiscordSync?
uxmDiscordSync is a powerful Minecraft plugin that connects your Minecraft server with your Discord server, offering features like:- Account linking between Minecraft and Discord
- Role synchronization between Discord roles and Minecraft ranks
- Discord presence showing your server status
- In-game commands to manage Discord features
- Special rewards for Discord server boosters
- Custom Discord commands for server information
Prerequisites
Before installing uxmDiscordSync, you’ll need:- A Minecraft server running Spigot, Paper, or a compatible fork (1.19.4 or newer)
- A Discord server where you have Administrator permissions
- A Discord bot application (we’ll help you create one)
- Basic understanding of file editing
Step-by-Step Installation Guide
1. Creating a Discord Bot
First, you need to create a Discord bot application:- Go to Discord Developer Portal
- Click “New Application” and give it a name (like “MyServerBot”)
- Navigate to the “Bot” tab and click “Add Bot”
- Under the “Privileged Gateway Intents” section, enable:
- Presence Intent
- Server Members Intent
- Message Content Intent
- Under “TOKEN” section, click “Copy” to copy your bot token (keep this secret!)
- Go to the “OAuth2” tab, then “URL Generator”
- Select scopes:
bot
andapplications.commands
- Select permissions:
- Manage Roles
- Manage Nicknames
- Read Messages/View Channels
- Send Messages
- Read Message History
- Add Reactions
- Copy the generated URL and open it in your browser
- Select your Discord server and authorize the bot
2. Installing the Plugin
- Download uxmDiscordSync plugin from a trusted source
- Place the plugin JAR file in your server’s
plugins
directory - Start your server once to generate default configuration files
- Stop your server after files are generated
3. Basic Configuration
- Open the
plugins/uxmDiscordSync/config.yml
file - Set your Discord bot token in the
token
field - Find your Discord server (guild) ID:
- Enable Developer Mode in Discord (User Settings → Advanced → Developer Mode)
- Right-click on your Discord server icon → “Copy ID”
- Paste this ID in the
discord-guild-id
field
- Create a channel for account linking:
- Create a new channel in your Discord server (e.g., #minecraft-link)
- Right-click the channel → “Copy ID”
- Paste this ID in the
discord-link-channel-id
field
- Create a role for linked accounts:
- Create a new role in your Discord server (e.g., “Minecraft Player”)
- Right-click the role → “Copy ID”
- Paste this ID in the
discord-linked-role-id
field
- Save the configuration file
- Start your server
Configuration Files Explained
Main Configuration (config.yml)
Custom Commands (customcmds/server.yml)
uxmDiscordSync allows you to create custom Discord commands that display server information:Features and Usage
Account Linking
Players can link their Minecraft accounts to Discord:- In Minecraft, run
/discord link
- A unique code will be generated for the player
- The player sends this code in the Discord link channel
- Upon successful verification, accounts are linked
- The player receives the linked role in Discord
Commands
Minecraft Commands:
/discord link
- Start the linking process/discord unlink
- Remove your Discord link/discord info [player]
- View link info for yourself or another player/discord boostprize
- Claim your Discord booster reward (if available)/discord nick <options>
- Change your Discord nickname:/discord nick <new name>
- Set custom nickname/discord nick matchIngame
- Match Discord name to Minecraft name/discord nick addAsSuffix
- Add Minecraft name as suffix
Discord Commands:
/info [minecraft_username]
- Show link information for a player/server
- Display server information (if configured)- Other custom commands as configured in your setup
Rank Synchronization
When properly configured, the plugin can:- Give Discord roles to players based on their in-game ranks
- Execute commands when a linked player receives specific Discord roles
Booster Rewards
Players who boost your Discord server can claim in-game rewards:- The player boosts your Discord server
- In Minecraft, they use
/discord boostprize
- If eligible, they receive the configured rewards
Troubleshooting
Common Issues:
Problem | Solution |
---|---|
Bot doesn’t come online | Check if your token is correct and the bot has proper permissions |
Can’t link accounts | Ensure the link channel ID is correct and the bot has access to read messages there |
Role sync not working | Verify role IDs are correct and the bot has “Manage Roles” permission |
Commands don’t work | Check if the plugin is properly installed and the bot has necessary permissions |
Database errors | If using MySQL, verify connection details are correct |
Still Having Issues?
- Check console for error messages
- Ensure all IDs in config are correct
- Verify the bot has all required permissions
- Make sure the bot’s role is higher than roles it needs to assign
Support and Contact
For additional assistance with uxmDiscordSync configuration:- Join our Discord server
- Email us at [email protected]
- Visit the UXPLIMA website for more resources