fjallnari / morii-vtt

Web-based half-vtt for playing TTRPGs. Currently supports 5E, Cairn and Shadowdark.
https://moriivtt.com/
MIT License
12 stars 1 forks source link

Refactor client sockets so players store username/socketId pairs #108

Open fjallnari opened 1 year ago

fjallnari commented 1 year ago

Currently only the GM saves all in-game username/socket pairs ( to allow simultaneous PC sheet editing), while players only store the GM's socketID.

This would basically use the GM's model of dealing with sockets for players as well and would allow for both private messaging (#106) and in-game active player list (#107).