Cuberite Forum
How i can change player nickname in TAB menu? - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html)
+--- Thread: How i can change player nickname in TAB menu? (/thread-3378.html)



How i can change player nickname in TAB menu? - timaaos - 07-21-2022

Is there any API for changing player nickname on TAB menu and over player’s head?


RE: How i can change player nickname in TAB menu? - NiLSPACE - 07-21-2022

Hi, welcome to the forum!

You can try the cPlayer:SetCustomName(name) method.


RE: How i can change player nickname in TAB menu? - timaaos - 07-21-2022

(07-21-2022, 11:42 PM)NiLSPACE Wrote: Hi, welcome to the forum!

You can try the cPlayer:SetCustomName(name) method.

Will try it. Thanks!


RE: How i can change player nickname in TAB menu? - timaaos - 07-21-2022

Also, why Cuberite sources on GitHub have branch 1.14?


RE: How i can change player nickname in TAB menu? - NiLSPACE - 07-22-2022

1.13 and higher changed the way blocks are stored which is a huge task. That's why the branch hasn't been merged yet. I believe that branch is actually outdated, the one to look out for is the Block State pull request: https://github.com/cuberite/cuberite/pull/5151