Pokedex5E icon indicating copy to clipboard operation
Pokedex5E copied to clipboard

Networking - Host can hide self from members

Open magroader opened this issue 5 years ago • 0 comments

As the host of a networked group, I can hide my profiles from other members in the group. Previously, if I had multiple profiles, all of them would show up as fellow members in the group for everyone. This would be a problem if I used multiple profiles to manage encounters (in the absence of an encounter-building system).

This should allow the host to check a box to disable all their profiles by default (presumably when setting up the server), as well as the ability to UN-hide specific profiles (say, if there's an NPC trainer the host plays as).

The server settings should be:

Default member visibility:

  • Hide my profiles
  • Show my profiles

Each local member for the host should have 3 options for visibility status:

  • Hidden from others
  • Visible to others
  • Use default

If "Use default" is selected, it should use the default member visibility in the server settings.

This will require changes to net_members. It may also require some enhancements to netcore to have (modular) server settings - net_members may need to plug into netcore to make it aware that a server setting is available, and that server setting should transfer to all the members.

This should be a user-facing-only thing. Internally, the data should still know about other the server profiles, in case there are messages that need to be sent (notably, for a profile that is visible and later becomes invisible). The client members should simply not see those profile members in lists.

magroader avatar Jul 28 '20 14:07 magroader