minetest.get_modnames

From Minetest Developer Wiki
Jump to: navigation, search

Syntax

Description

Return a list of installed mods, sorted alphabetically.

Example

local modnames = minetest.get_modnames()
for i, name in ipairs(modnames) do
	print("[Mod] " .. name)
end
Personal tools
Namespaces

Variants
Actions
Navigation
API
Toolbox