UltimateDiscord [Link Discord & Minecraft ranks][BungeeCord & Spigot][MySQL][With API] 1.0

Link you Minrecraft and Discordaccounts

  1. SchlaumeierTV
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    Source Code:
    https://github.com/DRSchlaubi/ultimatediscord
    Contributors:
    DRSchlaubi, DV8FromTheWorld(https://github.com/DV8FromTheWorld/JDA)
    (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

    Requirements

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

    [​IMG]
    • /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

    [​IMG]
    • 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
    • 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
    Code (Text):
    depend: [UltimateDiscord]
    API Example: https://github.com/DRSchlaubi/ultimatediscordapiexample
    Methods:
    Code (Text):
    //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)