wxyz-abcd / node-haxball

The most powerful and lightweight API that allows you to develop your original Haxball(www.haxball.com) host, client, and standalone applications both on node.js and browser environments and also includes every possible hack and functionality that you can imagine.
MIT License
34 stars 13 forks source link

Set color of nickname from spec #63

Closed abreiter closed 11 months ago

abreiter commented 11 months ago

So, I have a 24-hour room at haxball, I have a script, the room is Space Bounce Brasil, you must have seen it. Well, sorry to create this as an "issue" but I didn't know how to contact you.

Come on, I would need it to be possible to edit the color of a nick/playerName in the spectator list, as I have specific treatment for AFK players.

I would like these AFK players to have a certain color, so that players who choose teammates can differentiate them, since my script does not allow choosing a player who is AFK.

Can you help me ?

Suddenly create a NickColor type property on the "Player" object.

Thanks.

God bless you.