Commit Graph

82 Commits

Author SHA1 Message Date
Oversword 88efcda38d
Allow detection of cloaking and uncloaking in leaveplayer and joinplayer callbacks (#10) 2024-07-23 08:23:55 +12:00
luk3yx 80fad7a2db Add supported_games to mod.conf 2023-06-20 13:06:12 +12:00
luk3yx 6ee6cd0426 Add title to mod.conf 2022-04-12 14:26:21 +12:00
luk3yx 2154a39ad4 Add more robust /status parser 2021-10-04 08:38:08 +13:00
luk3yx 6e454df37c Hopefully fix #8 2021-08-21 09:22:44 +12:00
luk3yx 32f61e45b3 Override minetest.get_objects_in_area() 2021-02-06 22:34:30 +13:00
luk3yx bdd68b0e32 Add luacheck and /shadow. 2021-02-06 13:35:28 +13:00
luk3yx 305f1c54cb Update README.md 2021-01-29 13:24:50 +13:00
luk3yx 7910f83c83 Attempt to fix crash with modified get_server_status 2020-12-05 16:43:59 +13:00
luk3yx e5cf987c81 Hide cloaked players from the minimap on MT 5.4.0-dev+
This requires both server and client to be at least MT 5.4.0-dev.
2020-11-30 18:37:27 +13:00
luk3yx ec4a1462e0 Stop overriding minetest.log(). 2020-09-21 09:36:53 +12:00
luk3yx 7c41d6f6f2 Update README.md 2020-09-05 08:53:11 +12:00
luk3yx 582ff07220 Update README.md 2020-08-29 22:31:22 +12:00
luk3yx fdda8ad122 Restore 0.4 compatibility (if it wasn't already broken) 2020-08-29 22:26:29 +12:00
luk3yx 4faeb26669 Fix luacheck warning 2020-08-29 22:13:06 +12:00
luk3yx 2f6bc4ff22 Backport another bugfix (hopefully) 2020-08-29 22:09:55 +12:00
luk3yx 98d3e309ce Set nametags to transparent as well as clearing text 2020-07-24 12:31:13 +12:00
luk3yx 5a79a739bb Override minetest.get_connected_players().
This is now required for compatibility with Minetest 5.2.0-dev and later versions.
2020-02-25 22:24:12 +13:00
luk3yx a9c0f261f9 Remove deprecated attribute access 2019-12-28 21:24:16 +13:00
luk3yx 4c23ca2f30 Increase amount of HUD elements removed. 2019-12-28 21:22:16 +13:00
luk3yx 9a775d4c03 Add another non-cloaking bugfix backport 2019-12-14 10:49:50 +13:00
luk3yx be3061355c Remove redundant newline check in MT 5.1.0+. 2019-10-22 14:20:39 +13:00
luk3yx c3eca1b9e8 Update git link 2019-06-11 12:06:10 +12:00
luk3yx 2db66e4e25 Fix README.md 2019-05-20 15:25:14 +12:00
luk3yx 8b83909d21 Fix double status line in Minetest 5.0.0. 2019-03-13 15:16:40 +13:00
luk3yx f415fc33e7 Make cloaking.unhide_player() restore original player properties. 2019-03-10 18:39:07 +13:00
luk3yx 3e9a7a6ea2 Modify the "z" parameter when changing visual_size. 2019-03-05 20:26:42 +13:00
luk3yx 1da4ee3996 Fix player size on the "minimal" game. 2019-03-05 20:23:27 +13:00
luk3yx 27c66e856a Prevent cloaked players from making footstep sounds 2019-03-05 18:20:14 +13:00
luk3yx cb0d6c2695 More bugfixes
• Fix cloaking.unhide_player().
 • Make the fallback selectionbox more accurate.
2019-03-05 17:59:39 +13:00
luk3yx dd68abd1e4 Bugfix 2019-03-05 15:01:57 +13:00
luk3yx ebda3968ef Add cloaking.hide_player()
• Add cloaking.hide_player() to allow other mods to hide players without cloaking them.
 • Add cloaking.unhide_player().
 • Fix compatibility issues with Minetest 5.0.0 by using selectionboxes instead of collisionboxes.
2019-03-05 14:38:23 +13:00
luk3yx e789de5bd9 Mitigate unrelated bug in Minetest 2019-03-02 19:28:46 +13:00
luk3yx 5b8f4d7614 Fix mod.conf description 2019-02-24 12:10:16 +13:00
luk3yx 3bc1ba8bf5 Remove HUDs when cloaking
• Removes existing HUDs (up to 20, unless Minetest has a way of detecting HUD elements) while cloaking, except the areas one.
 • Stop the invincibility from giving you HP
2019-02-24 12:07:13 +13:00
luk3yx e32aca2621 Make cloaked players invincible 2019-02-24 11:52:37 +13:00
luk3yx be3777d278 Add screenshot.png 2019-02-12 21:04:08 +13:00
luk3yx 175da46099 Update the copyright in LICENSE.md 2019-02-10 13:56:02 +13:00
luk3yx 548c65d26f Add cloaked chat
• Allow cloaked players to chat to other players with the "cloaking" privilege.
 • Add "/cloak_chat" and "/cloak-chat" to allow players to send chat messages into cloaked chat without being cloaked.
 • Allow "/teleport" to teleport cloaked players (provided the player running the command has the "cloaking" privilege).
 • Replace 'cloaking.fn_name = function(...)' with 'function cloaking.fn_name(...)'.
 • Update copyrights.
 • Add Star Trek reference to README.md.
2019-02-10 13:49:56 +13:00
luk3yx b795cf8e8a Bugfixes 2018-10-27 21:13:04 +13:00
luk3yx 58a66942ef Allow chatcommands to be disabled while cloaked. 2018-10-27 21:11:49 +13:00
luk3yx 30ae06ce57 Better chatcommand support 2018-10-27 21:06:43 +13:00
luk3yx 4dbec1650e Fix comment 2018-10-11 12:11:57 +13:00
luk3yx d8b8b40de6 Better chat3 support. 2018-10-11 12:03:29 +13:00
luk3yx f2addf0cee Show the /status MOTD.
Display the server MOTD correctly in /status.
2018-10-09 14:14:53 +13:00
luk3yx 0e89205221 Update README 2018-10-09 11:49:13 +13:00
luk3yx fdb1006fac Add a 'cloaking' privilege.
Allows players to cloak and uncloak without the 'privs' privilege. You will need to '/grantme cloaking' if you already have the 'privs' privilege to continue using cloaking.
2018-10-09 11:45:22 +13:00
luk3yx de72897210 Fix bug with the profiler (instrumentation.lua).
• Registers cloaking.delayed_uncloak "manually" to prevent instrumentation.lua hijacking it.
•  More whitespace added.
• Make 'def._allow_while_cloaked' supported to conform to 5.0 standards.
2018-10-09 11:40:05 +13:00
luk3yx afea12fc94 Remove formspeclib from depends.txt 2018-09-19 15:27:05 +12:00
luk3yx 56628b35ee Remove trailing spaces 2018-09-14 16:30:17 +12:00