From 226de1a9a3826e53a94ba6eaf796c888f58078c7 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 25 Sep 2015 00:09:34 +0100 Subject: [PATCH] Server =!= is depreciated --- chapters/chat.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/chapters/chat.md b/chapters/chat.md index 1bb170e..ff69813 100644 --- a/chapters/chat.md +++ b/chapters/chat.md @@ -40,19 +40,19 @@ minetest.chat_send_player("player1", "This is a chat message for player1") Only player1 can see this message, and it's displayed the same as above. -### Server =!= +### Older mods -You can prefix a message to a single player with `Server =!=` by using +Occasionally you'll see mods with code like this: {% highlight lua %} minetest.chat_send_player("player1", "This is a server message", true) +minetest.chat_send_player("player1", "This is a server message", false) {% endhighlight %} -It will look like this: +The boolean at the end has been +[depreciated](https://github.com/minetest/minetest/commit/9a3b7715e2c2390a3a549d4e105ed8c18defb228) +so the third parameter is ignored and has no effect. - Look at this entrance - Server =!= This is a server message - What about it? ## Chat commands