Sueta
UL

UltimateDiscord [Link Discord & Minecraft ranks][BungeeCord

1.2.1

Link you Minrecraft and Discordaccounts

·Plugin

(This Plugin is made with the Discord API of https://github.com/DV8FromTheWorld/JDA)
What does this plugin do?
With this plugin you can link your Minecraft and Discord accounts and roles/ranks

How it works
- You type in /teamspeak verify
- You'll get a code
- You send !verify <code> to the Discord bot
- DONE

Requirements

- MySQL database
- Discord bot
- Vault and an supported permission plugin (Spigot only)

  • /discord unlink - "Unverify" command
  • /discord verify - Verify Command
  • /discord update - Updates roles when you asigned a new role to the user
  • /discordreload - reload command Permission: discord.reload

  • Download the newest version of the plugin and place it in your plugins/ folder
  • Restart your server
  • Modify config.yml (You need to dm your bot with '!roles' to get the roleids for the config
  • Register you Discord bot here
  • Invite your bot here replace CLIENTID with your clientid
  • Restart your server again
  • DONE

Developer API
This plugin has an integrated API when you you want to use it just add the plugin to your project and the following line to your plugin/bungee.yml

depend: [UltimateDiscord]

API Example: https://github.com/DRSchlaubi/ultimatediscordapiexample
Methods:

//Tests of Discord is verified
UltimateDiscordAPI.isVerified(String identity)
//Tests of Player is verified
UltimateDiscordAPI.isVerified(Player player)
//Tests of ProxiedPlayer is verified
UltimateDiscordAPI.isVerified(ProxiedPlayer player)
//Retrives MCUsername from TeamSpeak DBID
UltimateDiscordAPI.getUserName(String id)
//Retrives DiscordID from Player
UltimateDiscordAPI.getDatabaseId(Player player)
//Retrives DiscordID from Player
UltimateDiscordAPI.getDatabaseId.getDatabaseId(ProxiedPlayer player)

Maven:

<repositories>
       <repository>
           <id>jitpack.io</id>
           <url>https://jitpack.io</url>
       </repository>
   </repositories>
<dependency>
       <groupId>com.github.DRSchlaubi</groupId>
       <artifactId>ultimatediscord</artifactId>
       <version>f5daf27c12</version>
   </dependency>

Similar projects

Plugin →