yl_cinema/chatcommand_movie_show.lua
2023-06-11 20:26:48 +02:00

12 lines
425 B
Lua

local chatcommand_cmd = "movie_show"
local chatcommand_definition = {
params = "<name> <movie>", -- Short parameter description
description = "Shows to the <player> the <movie>", -- Full description
privs = {
[yl_cinema.settings.admin_priv] = true
}, -- Require the "privs" privilege to run
func = yl_cinema.cmd_show_movie
}
minetest.register_chatcommand(chatcommand_cmd, chatcommand_definition)