HomeJavaModsstaffprofiles
staffprofiles
ModsJava

staffprofiles

by MCMDEV · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21–26.1.2 · Folia⬇ Download for 1.21.1–26.1.2 · Paper⬇ Download for 1.21.1–1.21.11 · Velocity
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

staffprofiles

Please see the project on GitHub for the most up-to-date documentation.

staffprofiles is a Minecraft plugin that assigns staff members a different game profile if they are joining using a specific hostname. It's an evolution of my proof-of-concept plugin hostprofiles into a more practical, specialized solution for staff management.

Non-technical example

The plugin essentially does the following when a player is logging in:

  1. It checks if the address that the player is using to connect matches a configured staff address
  2. If the address matches, it verifies that the player has a configured permission
  3. If both are true, the player UUID and username are changed, causing the server to treat the player as if they were on a separate Minecraft account.

An example: If your server address is example.org, you could configure staff.example.org (the host) as a staff host so that all players connecting using that host, if they have the permission staffprofile, are connected using what is treated by the server like a separate account.

Configuration

The plugin is configured using a JSON file as opposed to a YAML file to reduce plugin jar size. Unfortunately, this means that the plugin configuration file cannot contain any comments.

Please see the reference below to learn about available configuration options:

hostRegex: A regular expression pattern that determines if a hostname should be treated as a staff hostname by matching against the entire address
permission: The permission the player must have to be allowed to join using a staff hostname
uuidTransformer: Specifies the transformation of player UUIDs into staff profile UUIDs using a regex pattern. The format is "pattern/replacement" where a pattern matches parts of the original UUID and replacement defines how to construct the new UUID.
usernameTransformer: Specifies the transformation of player username into staff profile username using a regex pattern. The format is "pattern/replacement" where a pattern matches parts of the original username and replacement defines how to construct the new username.

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