Language

DiscordLogin

DiscordLogin

Modrinth

This plugin/mod adds so players can authenticate with their Discord accounts

36 downloads 1 followers updated 26d ago
Modrinth
Fabric Paper 1.21 – 1.21.11 Management

Discord Login

Allows your members to log in with discord

Configuration:

Config file
# DiscordLogin Configuration

# Your Discord bot token
bot-token: "discord_token"

# Your Discord server (guild) ID
guild-id: 43902483920

# How long (in seconds) to IP-ban a user when they press No (default: 300 = 5 minutes)
ip-ban-duration-seconds: 900

# How long (in seconds) a player has to approve the login before being kicked
login-timeout-seconds: 60

# Chat message prefix (supports & color codes)
message-prefix: "&8[&bDiscordLogin&8]&r "
Replace the bot_token with yours and put in your server id in guild-id
How to get guild-id? https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID

Login request

Faq

Where do I see how the plugin works?

Check the gallery tab

Go into the data file (plugins/DiscordLogin/data.yml for Paper or config/DiscordLogin_data.json), and find the UUID of the person (formatted UUID: DiscordID) and remove the whole line, then restart the server

If you are a member, ask a staff member to do these steps

I wanna suggest an idea/report a problem

Add me on discord: stacik_

How to exclude members?

That's coming soon

Can players chat during the verification?

No

What can players do during verification?

Absolutely nothing

Why did you create this plugin?

To prevent the problem with of forgetting passwords (if using a normal login system) and also to prevent people from accessing your account without your permission

How do I know this plugin won't compromise my Minecraft or Discord account?

It can't. Here's why:

-The plugin never asks for your password, email, or any credentials

-It only sends a one-time code in-game that you paste into a Discord bot command

-The bot only knows your Discord user ID (a public number) and your Minecraft UUID, the same info any server already has

What if I don't put my server guild id?

You will have to wait an hour for discord to register the commands globally

Is there any discord bot commands, like in DMs?

No not yet, but I am absolutely thinking of adding that

Current ideas:

  • !account kick - Kicks your account if its online
  • !account unlink - Unlinks your account with 2 confirmations
  • !account info - Returns some basic account info and possibly the player skin

Versions

No version history available. Use the Download button to get the latest from the source.

Comments 0

No comments yet. Be the first to share your thoughts.

Download DiscordLogin

Files are served directly from the original source. Modgrid does not host or modify them.