{"id":57310,"date":"2026-06-03T06:46:53","date_gmt":"2026-06-03T03:46:53","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/discord-auth\/"},"modified":"2026-06-03T06:46:53","modified_gmt":"2026-06-03T03:46:53","slug":"discord-auth","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/discord-auth\/","title":{"rendered":"DiscordAuth"},"content":{"rendered":"<p># DiscordAuth<\/p>\n<p>![DiscordAuth](https:\/\/raw.githubusercontent.com\/orewaee\/DiscordAuth\/main\/pictures\/banner.png)<\/p>\n<p>DiscordAuth is a plugin that allows you to quickly and easily set up Discord authorization for your Velocity proxy.<br \/>\nAt the moment the plugin is under development, so some parts of the plugin may be changed.<br \/>\nIf any issue occurs, please report it to `issues`.<\/p>\n<p>## Installation<\/p>\n<p>To set up DiscordAuth, there are several steps you need to follow.<\/p>\n<p>First you need to set up a Velocity proxy.<br \/>\nThere must be at least two child servers, one of which will be a lobby.<br \/>\nIts name must be specified in `config.toml`.<\/p>\n<p>It is also important to specify the Discord bot token and user ID,<br \/>\nwhich will be able to use the commands of this very bot in `config.toml`.<\/p>\n<p>In general, these are all the necessary settings.<\/p>\n<p>The properties found in the `config.toml` and `messages.toml` files can be freely modified.<\/p>\n<p>Example of `config.toml` settings:<\/p>\n<p>&#8220;`toml<br \/>\n# Path to the file where player accounts will be stored<br \/>\naccounts_file_name = &#8220;plugins\/DiscordAuth\/accounts.json&#8221;<\/p>\n<p># Lifetime in seconds of the key and session, respectively<br \/>\nkey_expiration_time = 60<br \/>\nsession_expiration_time = 3600<\/p>\n<p># Server lobby name<br \/>\nlobby_server_name = &#8220;lobby&#8221;<\/p>\n<p># Discord bot token<br \/>\nbot_token = &#8220;&#8221;<\/p>\n<p># Discord admin<br \/>\ndiscord_admin_id = &#8220;&#8221;<br \/>\n&#8220;`<\/p>\n<p>## Commands<\/p>\n<p>### Discord<\/p>\n<p>&#8211; `\/add <name> <discord id>` &#8211; adds a new account.<br \/>\n&#8211; `\/remove <name> <discord id>` &#8211; deletes an existing account.<\/p>\n<p>### Minecraft<\/p>\n<p>&#8211; `\/discordauth reload config` &#8211; reloads the plugin config.<br \/>\n&#8211; `\/discordauth reload messages` &#8211; reloads the plugin messages.<br \/>\n&#8211; `\/discordauth reload all` &#8211; reloads the plugin config and messages.<\/p>\n<p>&#8211; `\/account add <discord id> <name>` &#8211; adds a new account.<br \/>\n&#8211; `\/account remove <discord id> <name>` &#8211; deletes an existing account.<br \/>\n&#8211; `\/test` is a temporary command needed for debugging.<\/p>\n<p>## Accounts<\/p>\n<p>Accounts are stored in JSON format. The schema is presented below:<\/p>\n<p>&#8220;`json<br \/>\n[<br \/>\n    {<br \/>\n        &#8220;name&#8221;: &#8220;&#8221;,<br \/>\n        &#8220;discordId&#8221;: &#8220;&#8221;<br \/>\n    },<\/p>\n<p>    &#8230;<\/p>\n<p>    {<br \/>\n        &#8220;name&#8221;: &#8220;&#8221;,<br \/>\n        &#8220;discordId&#8221;: &#8220;&#8221;<br \/>\n    }<br \/>\n]<br \/>\n&#8220;`<\/p>\n<p>## Gallery<br \/>\n![](https:\/\/raw.githubusercontent.com\/orewaee\/DiscordAuth\/main\/pictures\/key.png)<\/p>\n<p>![](https:\/\/raw.githubusercontent.com\/orewaee\/DiscordAuth\/main\/pictures\/minecraft_success.png)<\/p>\n<p>![](https:\/\/raw.githubusercontent.com\/orewaee\/DiscordAuth\/main\/pictures\/discord_success.png)<\/p>\n<p>![](https:\/\/raw.githubusercontent.com\/orewaee\/DiscordAuth\/main\/pictures\/discord_add.png)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Discord auth for Velocity proxy server<\/p>\n","protected":false},"featured_media":57311,"template":"","meta":{"_minecraft_slug":"discord-auth","_minecraft_project_id":"nNa3uDzp","_minecraft_author":"orewaee","_minecraft_license":"MIT","_minecraft_downloads":905,"_minecraft_follows":14,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"discord-auth.zip","_minecraft_size_bytes":99793550,"_minecraft_version_count":7,"_minecraft_updated_at":"2026-05-16T08:55:40.480265Z","_minecraft_date_created":"2023-10-29T05:49:47.463866Z","_minecraft_date_modified":"2024-08-20T21:06:41.649854Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/discord-auth","_minecraft_icon_attachment_id":57311,"_minecraft_imported_at":"2026-06-03T03:46:53+00:00","_minecraft_import_hash":"971bcca41ebc1bae3c2397882edf2dd4","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[126,92,985],"mod_loader":[986],"minecraft_version":[59,36,60,93,94,62],"class_list":["post-57310","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-management","mod_category-utility","mod_category-velocity","mod_loader-velocity","minecraft_version-1-20","minecraft_version-1-20-1","minecraft_version-1-20-2","minecraft_version-1-20-3","minecraft_version-1-20-4","minecraft_version-1-21"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>DiscordAuth - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/discord-auth\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DiscordAuth - Minecraft\" \/>\n<meta property=\"og:description\" content=\"Discord auth for Velocity proxy server\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/discord-auth\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/discord-auth\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/discord-auth\\\/\",\"name\":\"DiscordAuth - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/discord-auth\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/discord-auth\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/discord-auth-icon-48bd15d88614ba3897353967c31bfcdeb91f0102.png\",\"datePublished\":\"2026-06-03T03:46:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/discord-auth\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/discord-auth\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/discord-auth\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/discord-auth-icon-48bd15d88614ba3897353967c31bfcdeb91f0102.png\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/discord-auth-icon-48bd15d88614ba3897353967c31bfcdeb91f0102.png\",\"width\":512,\"height\":512},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/discord-auth\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"DiscordAuth\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DiscordAuth - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/discord-auth\/","og_locale":"en_US","og_type":"article","og_title":"DiscordAuth - Minecraft","og_description":"Discord auth for Velocity proxy server","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/discord-auth\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/discord-auth\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/discord-auth\/","name":"DiscordAuth - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/discord-auth\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/discord-auth\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/discord-auth-icon-48bd15d88614ba3897353967c31bfcdeb91f0102.png","datePublished":"2026-06-03T03:46:53+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/discord-auth\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/discord-auth\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/discord-auth\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/discord-auth-icon-48bd15d88614ba3897353967c31bfcdeb91f0102.png","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/discord-auth-icon-48bd15d88614ba3897353967c31bfcdeb91f0102.png","width":512,"height":512},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/discord-auth\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"DiscordAuth"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/57310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/57311"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=57310"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=57310"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=57310"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=57310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}