mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Rename “Minimal development test” to “Development Test” (#9928)
This commit is contained in:
parent
b546e8938d
commit
083b285f43
371 changed files with 25 additions and 25 deletions
14
games/devtest/mods/modchannels/init.lua
Normal file
14
games/devtest/mods/modchannels/init.lua
Normal file
|
@ -0,0 +1,14 @@
|
|||
--
|
||||
-- Mod channels experimental handlers
|
||||
--
|
||||
local mod_channel = minetest.mod_channel_join("experimental_preview")
|
||||
|
||||
minetest.register_on_modchannel_message(function(channel, sender, message)
|
||||
minetest.log("action", "[modchannels] Server received message `" .. message
|
||||
.. "` on channel `" .. channel .. "` from sender `" .. sender .. "`")
|
||||
|
||||
if mod_channel:is_writeable() then
|
||||
mod_channel:send_all("experimental answers to preview")
|
||||
mod_channel:leave()
|
||||
end
|
||||
end)
|
2
games/devtest/mods/modchannels/mod.conf
Normal file
2
games/devtest/mods/modchannels/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
name = modchannels
|
||||
description = Add experimental mod channel handlers
|
Loading…
Add table
Add a link
Reference in a new issue