Commit Graph

30 Commits (master)

Author SHA1 Message Date
Luke aka SwissalpS 1b031ebd4c
Extend mod to also support invites (#15)
MAJOR MOD CHANGE

As before, moderators can silently observe any player that is not observing another player. (configurable)

New: Players can invite other players to observe them. Invitations can be accepted or denied. (configurable privileges, defaults to interact)

All the chat-commands are configurable.
Temporary privileges can be given to observers, same set for sneak-observers and invited ones or separate set.
2022-03-08 17:03:18 +01:00
Luke aka SwissalpS 487307fc8f
Fix errors caused by circular observation (#11) 2022-02-10 13:27:58 +01:00
Lemente 36483716ed
Update collisionbox for Minetest 5.x (#8)
After leaving the spectator mode in Minetest 5.x, the collisionbox isn't the right size and at the right place.
I simply changed the values of the collisionbox to match the vanilla ones.

A better solution would be to get the current size of the collisionbox when the player enter the spectator mode, store them, and use those when leaving that mode.
This would make the mod more compatible with other mods that changes the player's size.
2020-07-15 20:34:52 +02:00
Panquesito7 7aed82d42d Improve README.md 2020-06-04 20:47:14 +02:00
Panquesito7 712ab750be Add GitHub workflow 2020-06-04 20:47:14 +02:00
Panquesito7 08ea89ee03 Give privilege automatically to admins 2020-06-04 20:47:14 +02:00
Panquesito7 a2d69ad699 Replace deprecated functions with newer ones
Also replaces `depends.txt` and `description.txt` with `mod.conf`.
2020-06-04 20:47:14 +02:00
JPG 7d68beccdd haaaands 2017-03-30 17:00:18 +02:00
JPG d86c472d39 Rewrite stuff 2017-03-09 16:09:45 +01:00
Auke Kok 6473e7a96a We use (a bad) writable part of `default` in this mod.
Account for that in .luacheckrc.
2017-03-08 21:21:14 -08:00
Auke Kok 5d55a36579 Whitespace cleanup. 2017-03-08 21:20:27 -08:00
Tim 3459db48e1 Add .gitignore and .luacheckrc 2016-08-05 19:54:08 +02:00
Tim d39bd77d12 Fix crash when a player /unwatches and disconnects within 0.1 seconds. 2016-08-05 19:51:05 +02:00
kilbith b81ed1761a Merge pull request #2 from minetest-mods/sofar-patch-1
Add mod.conf
2016-03-09 10:29:12 +01:00
kilbith 1631c06637 Merge pull request #3 from minetest-mods/sofar-patch-2
Add description.txt
2016-03-09 10:29:04 +01:00
Auke Kok c0aee2fb92 Add description.txt 2016-03-08 22:30:11 -08:00
Auke Kok ca39417f8f Add mod.conf 2016-03-08 22:29:25 -08:00
Jean-Patrick Guerrero ab7290cdc9 Fix crash when watcher leaves the game 2016-02-25 10:26:17 +01:00
kilbith ea4709d796 Revert previous commit 2016-01-03 20:19:02 +01:00
kilbith e71bbdbd07 Watcher is immortal 2016-01-03 16:44:50 +01:00
kilbith 2ce331c866 Fix crash when no argument is specified on /watch 2016-01-02 17:20:50 +01:00
jp 27e6a379c7 Move camera lower and additional HUD flags to disable/enable 2015-12-25 14:35:06 +01:00
jp 8499a8c2f7 Switch gracefully to another player when someone is already watching 2015-12-22 16:52:01 +01:00
jp 1dc7aff26d simplification 2015-12-10 11:34:36 +01:00
jp bd6487a055 Move player at his original position when he leaves the game 2015-12-09 11:14:11 +01:00
jp 6fb3c509bc lower eye's height a bit 2015-12-08 20:26:40 +01:00
jp 03e96f8141 Disable interact in spectator mode 2015-12-08 18:48:32 +01:00
jp deeb195d67 don't watch yourself 2015-12-08 17:03:17 +01:00
jp 18b41f64e5 oops 2015-12-08 16:57:09 +01:00
jp 2821f9cae9 add files 2015-12-08 16:28:41 +01:00