Перейти к содержимому
Mineforgian

Impersonate

Impersonate: to assume or act the character of

Загрузки
52K
Подписчики
119
Обновлён
24 марта 2026 г.
Лицензия
LGPL-3.0-only

Опубликован 30 января 2021 г.

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.

Gamerules

  • impersonate:fakeCapes : Whether impersonators should get the cape and elytra of impersonated players. Defaults to false.
  • impersonate:opRevealImpersonations : Whether ongoing 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 as a mod developer

You can add Impersonate to your development environment by inserting the following in your build.gradle :

repositories {
    jcenter()
	maven { 
        name = "Ladysnake Libs"
        url = 'https://dl.bintray.com/ladysnake/libs' }
    }
}

dependencies {
    modImplementation "io.github.ladysnake:Impersonate:${impersonate_version}"
    include "io.github.ladysnake:Impersonate:${impersonate_version}"
    // Impersonate dependencies
    include "com.github.onyxstudios.Cardinal-Components-API:cardinal-components-base:${cca_version}"
    include "com.github.onyxstudios.Cardinal-Components-API:cardinal-components-entity:${cca_version}"
}

You can then add the library version to your gradle.propertiesfile:

# Impersonate
impersonate_version = 1.x.y
# Cardinal Components
cca_version = 2.x.y

You can find the current version of Impersonate in the versions tab, and the latest CCA version in the appropriate repository.

Ченджлог

3.4.0Релиз1.21.11 · 24 марта 2026 г.

Version 3.4.0:

  • Updated to MC 1.21.11
  • Fixed random crash upon death or joining a server
  • Gamerules have been renamed to match vanilla names (impersonate:fakeCapes -> impersonate:fake_capes, etc.)
  • Due to large changes in the game's codebase, this release may have some bugs. Please report any you find !

see full changelog here

3.3.0Релиз1.21.4 · 22 декабря 2024 г.

Version 3.3.0:

  • Updated to MC 1.21.4

see full changelog here

3.2.1Релиз1.21, 1.21.1 · 22 декабря 2024 г.

Version 3.2.1:

  • Fixed inadvertent clientside requirement from the 1.20.6 port

see full changelog here

3.2.0Релиз1.21 · 21 июля 2024 г.

Version 3.2.0:

  • Updated to MC 1.21

see full changelog here

3.1.0Релиз1.20.5, 1.20.6 · 20 июля 2024 г.

Version 3.1.0:

  • Updated to 1.20.6

see full changelog here

2.10.3Релиз1.20, 1.20.1 · 20 июля 2024 г.

Version 2.10.3:

  • Fixed impersonator's names appearing as "Faked(Faked)" for operators when the opRevealImpersonations gamerule is off
  • Toggling the impersonate:opRevealImpersonations gamerule now properly updates usernames without needing a re-log

see full changelog here

3.0.1Релиз1.20.4 · 20 июля 2024 г.

Version 3.0.1:

  • Fixed impersonator's names appearing as "Faked(Faked)" for operators when the impersonate:opRevealImpersonations gamerule is off
  • Toggling the impersonate:opRevealImpersonations gamerule now properly updates usernames without needing a re-log

see full changelog here

3.0.0Релиз1.20.4 · 2 января 2024 г.

Version 3.0.0:

  • Updated to 1.20.4
  • BREAKING (for developers) : Changed package from io.github.ladysnake to org.ladysnake

see full changelog here

Комментарии

Загружаем…