Impersonate

Impersonate: to assume or act the character of
Server operators see impersonation through nameplates, player lists, and chat. This can be disabled with the appropriate gamerule.

Server operators see impersonation through nameplates, player lists, and chat. This can be disabled with the appropriate gamerule.

A server operator and a regular player both impersonating people (chat is the result of "/say hi @a").

A server operator and a regular player both impersonating people (chat is the result of "/say hi @a").

Description

Have you ever wanted to impersonate another player ? Be it for making machinimas, roleplaying, playing 5D chess in factions, or just pranking friends, there are lots of (relatively) good reasons to assume the identity of someone else.

 

Requires the latest version of Fabric API

 

Overview

Impersonate allows players to take on the name and appearance of other players. When impersonating someone, a player will:

  • have the skin of the impersonated player
  • have the nameplate of the impersonated player
  • send every chat message as if they were the impersonated player
  • appear as the impersonated players in online player lists
  • sign books as if they were the impersonated player
  • etc.

They will however not fool the impersonated player's pets, if any.

To avoid moderation chaos, server logs will always display the actual player's name, alongside their fake identity. Server operators will have ongoing impersonations revealed in the same way.

 

This mod works serverside (compatible with vanilla clients), but installation on clients is still recommended, notably for server operators.

 

Commands

Impersonate adds the /impersonate command, allowing server operators and mapmakers to interact with the API through commands.

  • /impersonate disguise
    • /impersonate disguise as <name> [<targets>] [<key>] : disguises one or more players
      • <name> : Name of the player to impersonate. Does not have to be online or even real.
      • [<targets>] (optional) : If specified, must be either a player's username or a target selector. If unspecified, defaults to the player using the command. When used in a command block, player is not optional.
      • [<key>] (optional) : If specified, must be a valid identifier serving as a key for the impersonation.
    • /impersonate disguise clear [<targets>] [<key>] : stops the impersonation of one or more players
      • [<targets>] (optional) : If specified, must be either a player's username or a target selector. If unspecified, defaults to the player using the command. When used in a command block, player is not optional.
      • [<key>] (optional) : If specified, must be a valid identifier that was previously used as a key to start an impersonation. If left unspecified, the command will clear every active impersonation.

 

Permissions

If you have LuckPerms installed, the above commands can be used by players with the impersonate.command.disguise permission. If you only grant impersonate.command.disguise.self, players will only be able to use the commands on themselves.

 

Gamerules

  • impersonate:fakeCapes : Whether impersonators should get the cape and elytra of impersonated players. Defaults to false.
  • impersonate:opRevealImpersonations : Whether impersonations should be revealed to online server operators. Defaults to true.
  • impersonate:logRevealImpersonations : Whether ongoing impersonations should be revealed in the server logs. Defaults to true.

 

Using Impersonate (for developers)

Mod developers can use gradle to add Impersonate as a dependency. More information is available in the Github Readme.

The Impersonate Team

profile avatar
  • 176
    Followers
  • 11
    Projects
  • 34.2M
    Downloads

More from PyrofabTheModsmithView all

  • Blabber project image

    Blabber

    • 859.4K
    • Mods

    RPG Dialogues for mods and modpacks

    • 859.4K
    • May 17, 2026
    • Mods
    • +2
  • Cardinal Components API project image

    Cardinal Components API

    • 34.2M
    • Mods

    API for data-driven content

    • 34.2M
    • April 11, 2026
    • Mods
    • +3
  • Blur+ project image

    Blur+

    • 21.7M
    • Mods

    Spice up the boring vanilla blur effect – featuring animations, colors and lots of customizability!

    • 21.7M
    • March 28, 2026
    • Mods
    • +1
  • PlayerAbilityLib project image

    PlayerAbilityLib

    • 1.1M
    • Mods

    Your good pal, fixing ability incompatibilities

    • 1.1M
    • March 27, 2026
    • Mods
  • Blabber project image

    Blabber

    • 859.4K
    • Mods

    RPG Dialogues for mods and modpacks

    • 859.4K
    • May 17, 2026
    • Mods
    • +2
  • Cardinal Components API project image

    Cardinal Components API

    • 34.2M
    • Mods

    API for data-driven content

    • 34.2M
    • April 11, 2026
    • Mods
    • +3
  • Blur+ project image

    Blur+

    • 21.7M
    • Mods

    Spice up the boring vanilla blur effect – featuring animations, colors and lots of customizability!

    • 21.7M
    • March 28, 2026
    • Mods
    • +1
  • PlayerAbilityLib project image

    PlayerAbilityLib

    • 1.1M
    • Mods

    Your good pal, fixing ability incompatibilities

    • 1.1M
    • March 27, 2026
    • Mods