Skip to content
Snippets Groups Projects
Commit c259f7c8 authored by Matthew I's avatar Matthew I Committed by Perttu Ahola
Browse files

Update Lua API documentation to include minetest.get_modnames()

parent c62a121c
No related branches found
No related tags found
No related merge requests found
......@@ -718,6 +718,8 @@ minetest namespace reference
minetest.get_current_modname() -> string
minetest.get_modpath(modname) -> eg. "/home/user/.minetest/usermods/modname"
^ Useful for loading additional .lua modules or static data from mod
minetest.get_modnames() -> list of installed mods
^ Return a list of installed mods, sorted alphabetically
minetest.get_worldpath() -> eg. "/home/user/.minetest/world"
^ Useful for storing custom data
minetest.is_singleplayer()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment