Disguise
Change your skin and displayed name on the fly, with random disguises, saved presets, scrambled names, mob disguises and a server-wide mode for events.
Requirements
- Paper 1.21+ (Folia supported)
- Java 21
- Optional: PlaceholderAPI, TAB, LuckPerms
Installation
- Drop
Disguise.jarintoplugins/. - Start the server once to generate
config.yml,messages.yml,skins.ymlandgui/disguised-list.yml. - Run
/disguiseadmin reloadafter editing configs.
MySQL and connection-pool libraries are downloaded automatically on first start.
When you update the plugin, missing settings and messages are added to your existing files and your values are kept.
Commands
| Command | Aliases | Description |
|---|---|---|
/disguise |
/hide |
Toggle your disguise. Removes it if you are disguised, otherwise follows the global mode, or restores your last saved disguise (a random one if you have none). |
/disguise help |
Show the command list. | |
/disguise random [skin] [name] [scramble] |
Random skin and name. Add skin or name to randomise only that part. |
|
/disguise <skin> [name] [scramble] |
Use another player's skin, optionally with a custom name. | |
/disguise preset <name> |
Apply a saved preset. | |
/disguise animal <mob> |
Disguise as a mob. Needs disguise.animal. |
|
/disguise off |
reset |
Remove your disguise. |
/disguise reload |
Reload everything. Needs disguise.admin. |
|
/disguiseadmin |
/disguisesettings |
Open the admin menu to set the global disguise mode. |
/disguiseadmin list |
Open the Disguised Players menu. | |
/disguiseadmin reload |
Reload config, messages, skins, menu and presets. | |
/disguiseadmin license |
Re-check the plugin license. | |
/disguiseadmin help |
Show the admin command list. |
Names accept colour codes. scramble shows an animated, constantly changing name above your head; put it after the name, as in /disguise Notch Mystery scramble. Commands can only be used by players.
Permissions
| Permission | Default | Description |
|---|---|---|
disguise.use |
everyone | Use /disguise. |
disguise.animal |
op | Use /disguise animal <mob>. Without it animal is hidden from tab completion. |
disguise.admin |
op | Use /disguiseadmin and /disguise reload. Bypasses the disguise cooldown. |
The three nodes above, plus inherit-rank, can be renamed under permissions in config.yml. permissions.inherit-rank (default disguise.admin) decides who copies the LuckPerms rank of the player they disguise as.
Features
Mob disguises
/disguise animal <mob> disguises you as any living mob, for example /disguise animal creeper. Other players see a client-side mob in your place; you still see yourself normally.
- Other players can hit the mob, and the hit lands on you, within
mob-disguise.attack-reachblocks. - Any other
/disguisecommand replaces it, and/disguise offor logging out removes it. Mob disguises are not saved across rejoin. - Mobs listed in
mob-disguise.blocked-mobscannot be used. Setfeatures.mob-disguisetofalseto turn the feature off. - If the server version cannot support it, the command says mob disguises are not supported.
Disguised Players menu
/disguiseadmin list opens a paged menu of every online disguised player. Each entry shows the player's real skin, real name, what they are disguised as, the skin and the nickname. Click an entry to teleport to that player. Layout, rows, slots, sounds and text are set in gui/disguised-list.yml.
Heads show each player's real skin. Skins the plugin has seen are cached in heads.yml, and a head that is not cached yet fills in shortly after the menu opens.
Rank copy (LuckPerms)
With LuckPerms installed, players with permissions.inherit-rank who run /disguise <skin> [name] also copy that player's LuckPerms prefix and suffix onto the fake nametag. The look is set by rank-inherit.format. It is skipped when scramble is used.
Fake nametags
Your disguised name is shown as a custom nametag above your head.
- It hides while you sneak, like vanilla (
nametag.hide-when-sneaking). - With TAB and PlaceholderAPI, it also shows your TAB abovename and belowname lines (
nametag.tab-lines). - Disguised players do not see their own fake nametag.
Global mode
Admins choose what a plain /disguise does for everyone from /disguiseadmin, or with global-mode.mode in config.yml:
off: the normal toggle.random: a random skin and name.fixed: the skin and name set in the admin menu (or underglobal-mode.fixed), optionally scrambled.
Cooldown
Set cooldowns.disguise-seconds to limit how often players can change their disguise. 0 disables it, and players with disguise.admin always bypass it.
Configuration
Files: config.yml, messages.yml, skins.yml and gui/disguised-list.yml, plus presets.yml and disguises.yml when using YAML storage. heads.yml is a skin cache for menu heads and is written by the plugin.
Everything reloads with /disguiseadmin reload except storage.type, mysql.* and the features entries placeholders, tab-hook and inherit-rank, which are read on startup.
| Key | Default | Description |
|---|---|---|
debug |
false |
Verbose logging. |
accent-color |
�D4FF |
Main colour used by every message, menu and dialog. |
colors.* |
Shared palette: success, error, warning, muted, separator, info, white. Use them as {success}, {error} and so on in messages.yml and gui/. |
|
persist-on-rejoin |
true |
Reapply a player's disguise when they join. |
reload-restore-delay-ticks |
20 |
Delay before disguises are restored for players already online after a plugin reload. |
settings.sounds-enabled |
true |
Global switch for sounds. |
settings.titles-enabled |
true |
Global switch for titles. |
settings.actionbars-enabled |
true |
Global switch for action bars. |
storage.type |
yaml |
yaml or mysql. Needs a restart. |
storage.cross-server-sync |
false |
Keep disguises in sync across servers (needs mysql). |
storage.sync-interval-ticks |
100 |
How often cross-server sync polls. |
storage.yaml-flush-interval-ticks |
100 |
How often pending YAML changes are written to disk. |
mysql.host |
localhost |
Database host. |
mysql.port |
3306 |
Database port. |
mysql.database |
minecraft |
Database name. |
mysql.username |
root |
Database user. |
mysql.password |
empty | Database password. |
mysql.pool.* |
Connection pool: max-pool-size (2), min-idle (1), max-lifetime-ms, connection-timeout-ms, leak-detection-ms, statement-cache-size, statement-cache-sql-limit. |
|
features.mob-disguise |
true |
/disguise animal. |
features.presets |
true |
/disguise preset. |
features.random |
true |
/disguise random. |
features.global-mode |
true |
Honour global-mode.mode. |
features.placeholders |
true |
Register the PlaceholderAPI expansion (restart). |
features.tab-hook |
true |
Hide vanilla nametags through TAB (restart). |
features.inherit-rank |
true |
LuckPerms rank copy (restart). |
permissions.use / admin / animal / inherit-rank |
disguise.use / disguise.admin / disguise.animal / disguise.admin |
Permission nodes. |
cooldowns.disguise-seconds |
0 |
Seconds between disguise changes. 0 disables. |
limits.max-nick-length |
64 |
Longest custom name (colour codes count). |
limits.skin-name-pattern |
^[A-Za-z0-9_]{1,16}$ |
Skin usernames must match this before any web request is made. |
titles.fade-in-ms / stay-ms / fade-out-ms |
500 / 2000 / 500 |
Title timing for messages that show a title. |
rank-inherit.format |
{prefix}{name}{suffix} |
Nametag shown when a rank is copied. |
mob-disguise.attack-reach |
6.0 |
How close a player must be to hit a mob disguise. |
mob-disguise.blocked-mobs |
empty list | Mobs nobody may disguise as. |
http.connect-timeout-ms |
5000 |
Web request connect timeout. |
http.request-timeout-ms |
8000 |
Web request timeout. |
skins.cache-seconds |
600 |
Keep fetched skins in memory this long. 0 disables the cache. |
skins.cache-max-entries |
100 |
Most skins kept in memory at once. |
mojang.profile-url / session-url / fallback-url |
Mojang and Ashcon endpoints | Skin lookup sources. Leave as is unless an endpoint changes. |
nametag.view-distance |
48.0 |
Distance at which the custom nametag is visible. |
nametag.y-offset |
0.2 |
Height adjustment of the custom nametag. |
nametag.scale |
1.0 |
Nametag size. |
nametag.tab-lines.enabled |
true |
Show TAB abovename and belowname lines (needs TAB and PlaceholderAPI). |
nametag.tab-lines.above |
%tab_abovename% |
Placeholder for the line above the name. |
nametag.tab-lines.below |
%tab_belowname% |
Placeholder for the line below the name. |
nametag.tab-lines.update-ticks |
20 |
How often the TAB lines refresh. |
nametag.hide-when-sneaking |
true |
Hide the fake nametag while sneaking. |
nametag.spawn-delay-ticks |
1 |
Delay before spawning a nametag after tracking or teleport. |
nametag.scramble-length |
8 |
Characters in a scrambled name. |
nametag.scramble-interval-ticks |
2 |
Scramble animation speed. |
nametag.scramble-charset |
letters and digits | Characters used for scrambled names. |
global-mode.mode |
off |
What plain /disguise does for everyone: off, random or fixed. |
global-mode.fixed.skin |
empty | Skin used in fixed mode. |
global-mode.fixed.name |
empty | Name used in fixed mode. |
global-mode.fixed.scramble |
false |
Use a scrambled name in fixed mode. |
random.name-api-url |
https://randomuser.me/api/?nat=us,gb,au,ca |
Source of random names. |
random.name-color |
{white} |
Colour of random names. |
style.* |
How menu items are written: title, description and information headers, the click line, and blank lines. | |
offline-heads.save-delay-seconds |
5 |
Seconds to wait before saving new skins to heads.yml. |
Invalid values are replaced with the default and a warning is logged.
skins.yml holds skin-source-pool, the list of usernames random skins are picked from.
Messages
messages.yml controls every message, sound and the admin dialog text. Each message can send chat lines, an action bar, a title and a sound, each with its own on/off switch, plus overall-enabled as a master switch. Sound names use the namespaced form, for example entity.player.levelup.
Presets
A preset is a skin plus an optional name, applied with /disguise preset <name>. With YAML storage, define them in presets.yml and run /disguiseadmin reload.
presets:
guard:
skin: Notch
nick: "&7Guard"
With MySQL storage, presets are read from the disguise_presets table (name, skin, nick).
Placeholders
Requires PlaceholderAPI.
| Placeholder | Returns |
|---|---|
%disguise_name% |
Disguise name (colourised), or the real name if not disguised. |
%disguise_disguised% |
true or false. |
Integrations
| Plugin | Effect |
|---|---|
| PlaceholderAPI | Registers the placeholders above and resolves the TAB lines on the fake nametag. |
| TAB | Hides the vanilla nametag while a custom name is shown, and supplies the abovename and belowname lines. |
| LuckPerms | Copies the prefix and suffix of the player you disguise as. |
Developer API
Disguise has no public developer API or events.
FAQ
Can players use any skin? Any valid Minecraft username works. Skins are fetched from Mojang, so the name must exist.
Disguise did not come back after a rejoin.
Check persist-on-rejoin is true. On networks, use MySQL storage with cross-server-sync. Mob disguises are never restored on rejoin.
What does plain /disguise do?
If you are disguised, it removes the disguise. Otherwise, with global mode off, it restores your last saved disguise (or a random one if none). With random or fixed, it applies that mode instead.
Why can I not set a preset in game?
Presets are server-defined in presets.yml (or the disguise_presets table on MySQL); there is no in-game editor.
Why can I not use /disguise animal?
You need disguise.animal, features.mob-disguise must be true, the mob must not be in mob-disguise.blocked-mobs, and the server version must support it.
My real name or rank shows through TAB.
Install TAB and keep features.tab-hook enabled, then restart the server.

