ProtocolLib

3M Downloads

Change player namer for other player.

matiw219 opened this issue ยท 0 comments

commented

Is there a way to change the player's nickname for another player? There are 3 players:

A, B, C

A sees B as B
C sees B as XXXX
Server version: 1.18.2

I would like to do this in a way similar to changing the name in gameprofile, but I want Player.getName() to still return the correct player's nickname, meaning if player B sees player C as XXXX, then for the server he is still C. I've tried various things, but nothing worked.

TY