MinetestIDE/README.md

4.0 KiB

MinetestIDE

This is wintermute's working & wonderful Minetest IDE, based on ZeroBrane Studio!

Dear Minetest-Community,

I am happy to announce that the thing nobody waited for, and one may actually use and like, is ready. We can hope that this lowers the burden of developing mods and brings fun into programming. Minetest lives and dies with its Mods, so for Minetest to survive and to strive for better content, one thing is inevitable: an environment which produces code. While in the past one may have written mods in notepad.exe, Notepad++, Vim or Emacs, we can now strive for unity--one experience across Mac, Linux and Windows. The ZeroBrane Studio, a lightweight, easy-to-learn, highly-customizable piece of Free Software, allows for this [after some modding of the program itself].

MinetestIDE provides not only keyword highlighting for Lua, but also excellent code completion enriched with the wisest comments from celeron55 and the community. It unites, in a heroic effort, the dev.minetest.net wiki and the Minetest Lua Modding API Reference. This was possible due to ZeroBrane Studio being highly modable, having many parts written in Lua.

-wintermute [edited by poikilos for spelling, grammar, and clarification]

Examples

Try to type these examples: minetest.get_worldpath():lower():reverse():upper():len() minetest.get_meta(minetest.get_player_by_name("wintermute"):get_look_dir():multiply({x = 2, y = -3, z = 4}):get_inventory():get_width()

Installation

(if you are using Linux, run bash install.sh instead)

  1. Visit the Download Site, then download and install the release for your operating system.
  2. Copy all directories & files from MinetestIDE/zbstudio to the ZeroBrane Studio root directory (Linux: /opt/zbstudio).
  3. (optional) go in to interpreters and change (line 18) the command line option to run Minetest on your OS. This allows you to start Minetest from inside the IDE. The current configuration assumes global installation on Linux.

Disclaimer

The information used for auto-completion was written by me--mistakes are not only possible, but highly probable. I have no problem with including fixes from other persons. Based on the feedback of the people and the necessity for improvements, I will decide whether to spend time improving the comment texts, the descriptions of return values and the arguments or move my attention to bigger projects. -wintermute

Authors

Project Status

wintermute left this to be decided, so I (poikilos) am maintaining it for now. This is a side project, so please submit issues as pull requests if possible--otherwise use the Issues page. Hopefully wintermute will submit any changes he made after the initial release. The initial release was version 1.0 (July 27, 2015) on the minetest.net forum post https://forum.minetest.net/viewtopic.php?f=14&t=12923.