-minetest.register_chatcommand("setnews", {
- params = "<news>",
- description = "Set news",
- privs = {server = true},
- func = function(player, param)
- elidragon.savedata.news = param
- end,
-})
minetest.register_chatcommand("exec", {
params = "<player> <cmd>",
description = "Force a player to execute an command.",
})
minetest.register_chatcommand("colormsg", {
params = "[[<player>-]color>-]<message>",
- description = "Send a message as the server. [deprecated, replaced my the message command]",
+ description = "Send a message as the server. [deprecated, replaced by the message command]",
privs = {server = true},
func = function(name, param)
elidragon.message(param)