List of users in a domain?


#1

Any way to get a list of users currently in your domain? https://metaverse.highfidelity.com/api/v1/users?status=online won’t work because users can hide their location. There has to be some way to list them other than that.


#2

if they are in your domain, they should show up in the domain Node list.

Alternatively, an Assignment client could be made for it, but its a bit lacking in documentation


#3

I need it for script, not just informational purposes. I am just going to modify my fork of assignment client to emit an event for it. That way I can just run a AC script to keep a list of users.


#4

There are many script accessible interfaces missing. I cannot determine if this deficiency is lack of documentation or simply that no one has given thought to what is needed. Some transparency from development would be useful right now.


#5

Changes are here, if anybody cares.


#6

How can you access the “domain node list” from script?


#7

@Menithal? Any ideas? Would be a big help!


#8

#9

As far as I know the other nodes aren’t accessible from script. I may be wrong.


#10

Hrm. So, what’s the best way (if any) to get a list of avatars that are currently in your domain?


#11

Use a AC script that accesses the functions listed in the link I provided. You can keep a list of users that way.


#12

Oh, excellent. Sorry I didn’t even see that GIANT LINK for some reason. I’ll try it out!
Appreciate it!


#13

If you want their username you will have to change libraries/avatars/src/AvatarHashMap.cpp and add avatar->getDisplayName() to the emit.