Home›Java›Mods›AnonymousPotion
AnonymousPotion

AnonymousPotion

A player under Invisibility never has their username shown in a death message. It is replaced with obfuscated text — the scrambling characters Minecraft animates client-side.

One exception: when the invisible player dies, their own name is shown in plain text.

Zeffut was slain by ▓╫≡┼╪▒≈╬
Zeffut tried to swim in lava to escape ▓╫≡┼╪▒≈╬
Steve was slain by Zeffut          ← Zeffut is invisible, but he is the victim

No player ever sees the real username — operators included. The gameplay is the same for everyone, and the server log keeps the real identity for moderation.

Features

Configuration

Key Default What it does
obfuscated-length 8 Number of characters in the obfuscated text, 1–32. The same for every player.
filler-character a Base character. Minecraft swaps each character for a random glyph of the same width, so this setting fixes the width on screen.
obfuscate-weapon-name true Also obfuscate custom weapon names, which can give the killer away.
log-real-names true Write the real usernames of obfuscated players to the server log, for moderation.
telemetry true Send anonymous usage statistics. false turns every send off.
telemetry-host https://eu.i.posthog.com The PostHog instance the statistics are sent to. Change it to point at a self-hosted instance.

/anonymouspotion reload reloads the config in place — permission anonymouspotion.admin, operators by default.

Known limitations

Telemetry

The plugin sends anonymous usage statistics to PostHog. Set telemetry: false in config.yml to turn it off.

What is sent: a random installation id generated on first start, four properties attached to every event, plus five events.

The four properties present on every event, whichever it is:

The body also carries $ip set to null. That is not data — it is the instruction telling PostHog not to record the request's IP address, nor derive a geolocation from it. Without it, the server's public IP would be stored by the service.

The five events:

What is never sent: no usernames, no IP addresses, no player UUIDs, no message contents. This plugin exists to stop a username from leaking — it is not going to ship those same usernames somewhere else.

Requirements

Paper 1.21.x, Java 21. No dependencies.

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