2020-10-04 22:22:55 +02:00

8 lines
264 B
Lua

minetest.register_on_receiving_chat_message(function(message)
if message:sub(1, 1) == "#" and minetest.settings:get_bool("ignore_status_messages") ~= false then
return true
end
end)
minetest.register_cheat("IgnoreStatus", "Player", "ignore_status_messages")