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
luk3yx
e3dc20f7a8
Fix typo
2018-09-12 07:49:02 +12:00
luk3yx
add9e17175
Add a more descriptive README
2018-09-12 07:30:12 +12:00
luk3yx
05fe704c99
Remove unnecessary code
2018-08-23 10:13:46 +12:00
luk3yx
82caf7753f
Fixed crash
2018-08-23 10:08:42 +12:00
luk3yx
f1bd2d1442
Remove undefined global variable warnings
2018-07-26 19:21:03 +12:00
luk3yx
f4ac72a0c0
Fix crash
2018-07-26 07:39:52 +12:00
luk3yx
271e978d98
Bugfixes
...
• Make sure sent chat messages aren't chatcommands (fixes #2 )
• Add checks to cloaking.cloak() and cloaking.uncloak().
2018-07-26 07:29:19 +12:00
luk3yx
ad11b33cee
Allow cloaked players to receive IRC messages
...
Override irc.sendLocal() to send messages to cloaked players.
2018-04-14 09:54:35 +12:00
luk3yx
b3f6c84415
Stop the cloaking mod fooling itself
...
The cloaking mod was fooling itself (at least chat3.lua) into thinking cloaked players did not exist at all.
2018-04-14 09:17:20 +12:00
luk3yx
9f24644c43
Fix some bugs
...
The cloaking mod no longer crashes whenever a cloaked player leaves!
2018-04-14 09:02:20 +12:00
luk3yx
398dec3d82
Allow minetest.get_player_by_name while leaving
...
Allow minetest.registered_on_leaveplayers to use minetest.get_player_by_name while the player is leaving.
2018-04-14 08:33:35 +12:00
luk3yx
a05b314ccc
Fix game crashing bug
...
Auto-uncloak on leave
2018-04-13 09:08:29 +12:00
luk3yx
f1f20664e0
Don't auto-uncloak on leave
...
This is not required anymore.
2018-04-04 08:04:27 +12:00
luk3yx
d3311e6fc3
Fix another bug
...
The first cloaked player would not become cloaked.
2018-04-04 07:20:15 +12:00
luk3yx
a35742bd5c
Fix crashing bug
...
If a cloaked player leaves on_leaveplayers are no longer called twice.
2018-04-04 07:16:15 +12:00
luk3yx
cd8e3f52da
Don't show join message with chat3
2018-04-03 09:00:27 +12:00
luk3yx
72463866b3
Fake the leaveplayer and joinplayer events
...
Sends leaveplayer and joinplayer when players cloak/uncloak.
2018-04-03 08:28:09 +12:00
luk3yx
8adde253fa
Override the on-join status
...
Overrides the status message on join and adds a . to the end of the fake join/part messages.
2018-04-02 14:32:32 +12:00
luk3yx
514fcdcfaa
Override minetest.get_objects_inside_radius()
...
Overrides minetest.get_objects_inside_radius(), meaning meseconds player detectors and mesecons pressure plates do not activate on cloaked players.
2018-04-02 12:00:02 +12:00
luk3yx
46f70ce01e
Disable chat while cloaked and allow some commands
...
Disables cloaked users sending chat messages and allows some commands to be run while cloaked. Sending chat messages will not be disabled with chat3 installed.
2018-04-02 11:30:47 +12:00
luk3yx
38552b207a
Allow /me while cloaked
...
Adds the allow_while_cloaked parameter to /me.
2018-04-02 08:47:36 +12:00
luk3yx
b5012c39b2
Add areas support
...
Change the areas HUD to "Cloaked" while cloaked if it exists.
2018-04-02 08:38:36 +12:00
luk3yx
b91825abd1
Prevent chatcommands being executed while cloaked
...
Prevents chatcommands being executed while cloaked. Currently the best way of doing it is iterating over every command and modifying it. Mods may prevent this from happening by setting allow_while_cloaked in the chatcommand definition.
2018-04-02 08:01:04 +12:00
luk3yx
3df9c5cdd7
Override minetest.get_server_status()
...
Override minetest.get_server_status() instead of /status in a futile attempt to get the initial status message hiding cloaked players.
2018-04-02 06:57:11 +12:00
luk3yx
e90e1d7583
More chat3 support
...
Adds auto-uncloak on message and /me and exposes cloaking.auto_uncloak().
2018-04-01 19:03:13 +12:00
luk3yx
dc5cce34fb
Add chat3 support
...
Override minetest.get_connected_players() and minetest.get_player_by_name() to return the real value when called from chat3.send(), so cloaked players can still use chat.
2018-04-01 18:40:31 +12:00
luk3yx
e52a34b98a
Change file structure
...
Split the main code and the chatcommands out into separate files.
2018-04-01 18:31:55 +12:00
luk3yx
fa8a51b693
Override /status, formatting changes
...
Make /status hide cloaked players. However, when a player joins, they are still sent a list of players including cloaked players.
2018-04-01 16:14:29 +12:00
luk3yx
1008d05e94
Override minetest.get_player_by_name()
...
This makes the cloaking more effective by throwing player does not exist errors when you try and message/teleport to a cloaked player.
2018-04-01 15:51:30 +12:00
luk3yx
65e61441af
Automatically uncloak on message
...
When a cloaked player says something, they are automatically uncloaked to avoid confusion. Players can now uncloak themselves without permissions.
2018-04-01 15:40:31 +12:00
luk3yx
2ee722d591
Add mod
2018-04-01 15:11:07 +12:00
luk3yx
b79fbca296
Initial commit
2018-04-01 15:10:22 +12:00