Aaron Suen 1a550952a7 Fix mis-restoring interact privs on unwatch
Apparently {interact=false} grants the interact
priv, it needs to actually be nil (i.e. key absent)
to not grant interact.
2022-01-23 20:56:02 -05:00
..
2021-03-01 20:04:16 -05:00

------------------------------------------------------------------------

This mod adds a "spectator mode."

- the "/watch <player>" command, to watch another player.
- the "/unwatch" command to return to normal play.
- the "/watchshare <list>" command sets a list of players allowed to
  watch a player without the "watch" privilege.

Players who have the "watch" privilege can always watch any other player
who isn't already watching another player or otherwise invisible.

Using the watchshare command allows a player to share their play
experience with other players (effectively in-game "streaming").  The
parameter is a whitelist of exact player names, or "*" to allow any
player.  The list is cleared automatically when the player logs out;
to reshare after rejoining, the command needs to be used again (this
is a safeguard against accidentally leaving it open).

------------------------------------------------------------------------