Add files via upload

This commit is contained in:
ManElevation 2016-12-23 11:34:11 +10:00 committed by GitHub
parent 1278d05c50
commit 7120007cf8
3 changed files with 18 additions and 0 deletions

9
init.lua Normal file
View File

@ -0,0 +1,9 @@
core.register_chatcommand("mods", {
params = "",
description = "List mods installed on the server",
privs = {mods=true},
func = function(name, param)
return true, table.concat(core.get_modnames(), ", ")
end,
})

1
mod.lua Normal file
View File

@ -0,0 +1 @@
name = mods

8
privs.lua Normal file
View File

@ -0,0 +1,8 @@
minetest.register_chatcommand("mods", {
params = "mods = true",
description = S("This Privigile lets you look at the mod names of the instaled mods)"),
privs = {server = true} end,
})