Live Whitelist

Quick rating

Live Whitelist

No reviews yet

A mod that allows you to connect your server to an api or discord bot to allow or disallow connections based on uuid

Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Dedicated Server Only

Runs on a dedicated server only; does not work in singleplayer.

About

Project Details

Type
Mod
License
Apache License 2.0
Latest Version
1.3.1
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

A mod by cyber.98

This very simple mod allows you to connect to an api running somewhere on the internet (or on your machine) to validate or invalidate minecraft UUIDS. This was originally intended to be used with a discord bot running an api, but is completely valid outside of that use case. If you'd like to use the discord bot to make sure specific people have a role before joining, please skip to that section.

Configuration settings

The mod has two configuration settings:

api:[a url by default]
message:[a string by default]
  • The api url is what defines the base of where all requests should go. This can be a site, or an ip, but the server must allow for http connections.
  • The message string is what is shown to the player if the api is online, and responds with a false verification for that uuid.

Setting up an API

API setup is super simple. It should meet the following guidelines:

  • Have at least one endpoint, being at '/verify'
  • Respond within about 2 seconds to ensure no progress can be made by players before being kicked
  • follow this json guide for urls and responses:
URLS:
[base url defined in config]/[minecraft uuid sent from the server] // make sure you have something to parse the url bar, as the server sends get requests, not post requests.

Responses:

{
  "verified":boolean
}

It's that easy (at least for this version)

Discord bot setup

This mod comes feature complete with a discord bot! Follow these steps to allow users to authenticate using the discord bot instead of having to make your own api!

Prerequisites

  • Script running is enabled on your system (see microsoft's page on this)
  • You have nodeJS and npm installed (I'm a js developer idk what you want me to do)

Usage:

/link uuid:[uuid] -> will link your discord account to your mojang account. if you don't know your uuid, try joining the server first, the server will tell it to you (assumming the api is running already). /unlink -> pretty self-explanatory, will remove your entry from the database, allowing you to relink it /ping -> gets the status of the api and some response times

setup guide

Head to The github page for the bot and download the source code as a zip. extract it, and open the root folder and run

npm install

and wait a few moments for it to get the required packages. afterwards, create a config.json file with the following information (fill in the fields)

{
    "token":"discord bot token",
    "botname":"a name you wanna see in the terminal for the bot",
    "author":"your name",
    "clientId":"the bots client id",
    "adminids":["your user id"],
    "authorid":"your user id",
    "roleID":"the id of the role you want to look for"
}

your discord bot will need: Guild install only. Public bot off (unless you are not discord server admin) Server members intent. These permissions: Replace this with a descriptionScopes: application.commands, bot || Permissions: Use slash commands

Add in your token, and you're ready to hit the ground running! To run the script, open the folder and run

npm start

Screenshots

Gallery

  • Connection lost screen
    Connection lost screen An image featuring the screen you can customize for players to see when they are not verified.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works