18 Commits

Author SHA1 Message Date
Aaron Suen
7d88a00c4f Try fixing NodeCore inv dump on /unwatch
Move player to target position first, then restore
inventory after so it doesn't get left behind where
it's restored (i.e. next to the /watch-ed player)
2021-06-08 07:18:03 -04:00
Aaron Suen
9ce18fd427 Add all required mod.conf files 2021-03-01 20:04:16 -05:00
Aaron Suen
551d19a17d Add ability for players to grant watch access 2020-09-26 13:18:26 -04:00
Aaron Suen
779497807a Prevent watching watchers 2020-09-26 12:52:32 -04:00
Aaron Suen
a66ec8e9d5 Fix some watch bugs 2020-09-26 12:47:17 -04:00
Aaron Suen
bd88847bde Fix some watch issues
- Remove broken /watchall command
- Handle stealth/spectator players properly
2020-09-25 00:05:24 -04:00
Aaron Suen
a809cb57a8 Guard against profiler
Profiler apparently seems to cause extra params
to be sent into some hooks.  Block them to prevent
a crash.
2020-07-10 22:49:34 -04:00
Aaron Suen
72d0e08188 Guard against corrupt/blank data 2020-07-05 10:39:40 -04:00
Aaron Suen
fb77ef190c Set default watch location above player's head.
The "pretend to be in 3rd person view" camera angle
never really worked, and using the actual F7 key
seems to override this anyway, so let's try setting the
default offset to to something more useful maybe.
2019-12-11 22:30:29 -05:00
Aaron Suen
c7ea6daf36 Clear player HUD cache upon leaving. 2019-12-07 23:17:33 -05:00
Aaron Suen
d06edd2838 Fix deprecated methods, formatting. 2019-12-06 19:07:56 -05:00
Aaron Suen
cb08389b36 Add some missing README files. 2019-10-28 20:28:15 -04:00
Aaron Suen
73caf3021b Watch enhancements.
- HUD showing current target.
- Hotkey (wield) cycling via /watchall.
2019-09-12 20:10:42 -04:00
Aaron Suen
8ee5a36fd2 Code audit, cleanup and reformat. 2019-09-01 12:52:22 -04:00
Aaron Suen
add5bbe985 More careful handling of damage and breath in spectator mode. 2019-04-08 08:36:01 -04:00
Aaron Suen
7bb548afbd Prevent spectators from taking damage. 2019-04-06 21:42:37 -04:00
Aaron Suen
06ef219b6f Added player control HUD mod. 2019-03-29 07:01:39 -04:00
Aaron Suen
a8120da861 Imported spectator mod from nodecore server. 2019-03-25 19:17:52 -04:00