Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Discord bot for handling authentication for minecraft servers.

License

Notifications You must be signed in to change notification settings

zabszk/MCNetworkLoginDiscordBot

Repository files navigation

MCNetworkLoginDiscordBot

Discord bot and WebAPI for https://github.com/zabszk/NetworkLogin minecraft plugin.

Bot written in C# in .NET Core - compatible with Windows and Linux x64. WebAPI written in PHP.

config.json for the bot

{
"token": "Discord application token",
"prefix": "!",
"RegisterChannel": ChannelIdForCommands,
"ApiUrl": "https://url.of.your.webapi/DiscordNetworkLoginProcessor.php",
"ApiToken": "Random API token - must be the same as in DiscordNetworkLoginProcessor.php"
}

WebAPI files

  • authenticator.php - used by the minecraft plugin for password verification
  • DiscordNetworkLoginProcessor.php - used by this bot for accounts management

3rd party libraries