Описание
# Discord: JustSync
> If your bot can see a total of 10k members or more you will need to verify the bot through discord!
Easily migrate from [ErdbeerbaerLP's Discord Integration](https://modrinth.com/plugin/dcintegration) with Scripts on our Website tronka.de.
## Features
- Send minecraft chat messages to discord
- Send discord messages to the minecraft chat
- Custom whitelisting through discord roles
- Configure alt account usage
- Webhook and Embed support with configurable message formats
- Commands and command logging support
## Integrations
The mod easily integrates with:
- Floodgate/Geyser
- Luckperms
- Vanish
More on our [wiki page](https://wiki.tronka.de/Mod%20Integrations)
## Config
The config file is located in `/config/discord-js/discord-justsync.toml`,
it will be created on first launch.
To use the mod you must configure `botToken` with you discord bot token and
`serverChatChannel` with the id of the channel you want to use for the minecraft chat channel.
Without doing so minecraft will fail to start.
## The Discord Bot
The bot will need following intents: SERVER_MEMBER, MESSAGE_CONTENT
and following permissions: Send Messages, View Channels, Manage Webhooks, Manage Nicknames, Embed Links
For a more detailed step-by-step tutorial refer to our [wiki page](https://wiki.tronka.de/How%20to%20set%20up).
## Linking
By enabling the `linking.enableLinking` option (default: true) players will be required to link their minecraft account to a discord account.
You can control which players can join by configuring `linking.requiredRoles` with a role id required to join the server.
By default, a player's discord account will be renamed to their ingame name whenever they join (`linking.renameOnJoin`).
For this to work the `manage roles` permission is required.
## Commands
### Minecraft
- `/discord reload` reload the configs
- `/discord unlink` remove the link of your minecraft account
- `/discord unlink ` remove a link from a discord user to a minecraft account (op required)
### Discord
- `/link ` used to link to your minecraft account
- `/justsync get` query link data for yourself
- `/justsync get ` query link data for other players (moderate member permission required)
- `/unlink` unlink yourself
- `/justsync unlink ` unlink a player (moderate members permission required)
- `/list` List the currently online players
- `/reload` reload the config file (admin only)
## Problems, Suggestions and general Questions
If you encounter any problems or bugs, have a suggestion or have a question for this mod feel free please join our [Discord Server](https://discord.com/invite/mvvwATzjsf).