HomeJavaModsTreevite
Treevite
ModsJava

Treevite

by raymondjxu · on Modrinth

A server-side Minecraft Fabric mod that implements a tree-based whitelist system for managing player access through an invitation chain.

⬇ Download on Modrinth

Treevite

A server-side Minecraft Fabric mod that implements a tree-based whitelist system for managing player access through an invitation chain.

Overview

Treevite allows you to control who can join your server through a hierarchical invitation system. Starting with just the console as the root administrator, whitelisted players can invite others, creating a "tree" of authorized players. This provides a flexible, organic way to manage server access without manually adding each player to a whitelist.

Key Features:

Requirements

Installation

  1. Download the tree-invite.jar mod file
  2. Place it in your server's mods folder
  3. Start your server
  4. (Optional) Install Fabric Permissions API for permission-based command access

Commands

Player Commands

/invite <player> [java|bedrock]

/revokeinvite <player> [java|bedrock]

/inviteinfo [player]

Admin Commands

/setmaxinvites <player> <count>

/setglobalmaxinvites <count>

How It Works

  1. Initialization: Only the console is whitelisted initially
  2. Invitations: Any whitelisted player can invite others using /invite
  3. Access Control: A player can join if they have at least one valid path back to console through the invitation chain
  4. Revocation: When an invite is revoked, affected players lose access unless they have another path to console
  5. Reinstatement: If a revoked player is invited again (directly or indirectly), they automatically regain access

Example Scenario

Console (root)
├── Alice (invited by Console)
│   ├── Bob (invited by Alice)
│   └── Carol (invited by Alice)
└── Dave (invited by Console)
    └── Eve (invited by Dave)

Configuration

Configuration is stored in config/tree-invite-messages.json and persists across restarts. The mod manages whitelist data automatically—you don't need to modify the vanilla whitelist.

Permissions

When Fabric Permissions API is available, the following permissions are recognized:

Database

Treevite uses SQLite for persistent storage by default, but can also use PostgreSQL. All invite relationships and rate limit data are stored automatically.

Support

License

GNU General Public License v3.0 - See LICENSE file for details

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more