Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

A very simple discord bridge for spigot servers

Notifications You must be signed in to change notification settings

KettleMC-Network/DiscordBridge

Repository files navigation

⚠ This project is archived and has been replaced by kEssentials.

🌉 Discord Bridge

A simple plugin providing a bridge between your discord and minecraft chats.

Dependencies

  • JDK >= 8
  • Server implementing the Bukkit API (Spigot, Paper, ...)

Important Files

  • Main files:
    • src/net/kettlemc/discordbridge/DiscordBridge.java
      • The main class of the plugin
      • Function:
        • handle incoming Minecraft and Discord commands
        • setup config by methods from Configuration.java
    • src/net/kettlemc/discordbridge/config/DiscordConfig.java
      • Stores the config settings loaded from the "config.json"
      • based on the configuration manager Konfiguration
      • Function:
        • defining methods to get the config values
    • src/net/kettlemc/discordbridge/discord/DiscordBot.java
      • Wrapper class for the Discord bot itself
      • Function:
        • simplifying the Discord API package functions (JDA)
        • defining methods for the DiscordBridge.java
    • src/net/kettlemc/discordbridge/discord/command/*
      • Here are the discord commands the bot can handle