Relative Variables Per Client?

I don’t know how to word this/what it’s called, but is there any way I can show different things to each player on a sign?
Just as an example for code, how would I show each player’s individual name on a sign?

I did this in bukkit using the “SendSignEvent” and getting the player’s info from that event, but I can’t find anything like that in Sponge.

You can use Player#sendBlockChange and Player#resetBlockChange to modify the local world of a particular player. However, there’s currently no way to sent TileEntity data, which means that you won’t be able to set the text of a sign on a per-player basis atm.

1 Like

Alternatively you could temporary use MCP. Manually sending a “sign change packet”.
And maybe this can help [OLD] Utilities - A collection of API's to make coding faster and simpler

1 Like