Difference between revisions of "Modding Intro"

From Minetest Developer Wiki
Jump to navigation Jump to search
Line 19: Line 19:
  
 
== Other useful links ==
 
== Other useful links ==
* [[Lua API Documentation]]
+
* Check out [https://content.minetest.net/ ContentDB] to see mods that have been published by the community.
* Check out the [https://content.minetest.net/ ContentDB] to see mods that have been published by the community.
 
 
* Get mod help from the community:
 
* Get mod help from the community:
 
** [https://forum.minetest.net/viewforum.php?f=47 Forums]
 
** [https://forum.minetest.net/viewforum.php?f=47 Forums]

Revision as of 09:12, 16 August 2022

Language: [[::Modding Intro|English]]

Minetest has a scripting API (Application Programming Interface), which is used to program mods (short for "modifications") for the game, extending its features and adding new items. This API is accessed using an easy-to-use programming language called Lua. More specifically, the version of Lua is 5.1.

The only thing you will need is basic programming knowledge. See Lua for details.

Documentation

Lua API Reference

The official Lua API documentation is lua_api.txt. It's available in plaintext or HTML. You can find the plaintext version in your Minetest installation, in the doc directory.

Use this file to look up functions, core features of the Lua API, etc. This file is maintained by the core developers of Minetest and every change to it goes through a quality control process.

This document explains everything you need to know about the Lua API in concise form, but may be daunting for newbies to read. Therefore, it's recommended that you start with a tutorial.

Tutorials

The Minetest Modding Book is a friendly introduction to Minetest modding and game creation, introducing you to various aspects of the API.

Other useful links