altmp / altv-issues

Issues and roadmap for alt:V project
93 stars 16 forks source link

player.name global sync setting #2207

Open Lekenthu opened 8 months ago

Lekenthu commented 8 months ago

Description of the problem

Since the last alt:V patch, the name property is now only synchronized to other players within the streaming distance. It would be nice if it could be set in server configuration to continue to synchronize with everyone.

But why is this necessary? For example, for scoreboard (online player list).

Desired solution for the problem

-

Alternatives you considered

No response

Additional context

No response

xxshady commented 8 months ago

do you have sendPlayerNames option in your server config?

xxshady commented 8 months ago

or do you use .sendNames anywhere in your code?

Lekenthu commented 8 months ago

do you have sendPlayerNames option in your server config?

Yes, it is currently at true value. I don't use sendNames anywhere.

xxshady commented 8 months ago

It's bug then

FabianTerhorst commented 7 months ago

Use synced meta data for global name sync. This was a breaking change that wasn't written in the changelog

Lekenthu commented 7 months ago

But I think the point of the sendNames property (or sendPlayerNames config) would be to send the name to everyone. Also, syncedMeta is still buggy if I set it during playerConnect event. (https://github.com/altmp/altv-issues/issues/2187)