1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00
Luanti (formerly Minetest) is an open source voxel game-creation platform with easy modding and game creation
Find a file
JosiahWI 4125ce877d
Do not discover mod directories that fail parsing (#15917)
The root issue of the unit test failure is that all directories that are found in the mod search are counted as mods, even if they are detected to be invalid as such by the parser. For example, the presence of an init.lua file is required, and the parser will return false if one is not found. This return value was completely ignored. Simply counting the mod conditionally on the parsing success makes the modserver tests pass on MSVC.
2025-03-19 18:43:19 +01:00
.github Refresh win32 toolchain and libraries (#15890) 2025-03-11 19:59:03 +01:00
.vscode Add documentation for IDE developer setup (#13935) 2024-05-26 14:28:12 +02:00
android Android: update SDL support code (#15853) 2025-03-01 18:27:46 +01:00
builtin Game: disable 'toggle_sneak_key' while flying 2025-03-19 18:42:26 +01:00
client Update github URL references (#15705) 2025-01-24 16:50:39 +01:00
clientmods/preview Rename hud_elem_type to type (#14065) 2023-12-29 21:51:02 +01:00
cmake/Modules Rename to Luanti (#15294) 2024-10-27 14:04:51 +01:00
doc Document core.MAP_BLOCKSIZE constant in lua_api.md (#15911) 2025-03-16 20:02:42 +01:00
fastlane/metadata/android/en-US Add Fastlane metadata for F-Droid (#15411) 2024-11-10 19:08:08 +01:00
fonts Fully remove bitmap font support (#11863) 2022-01-08 14:53:25 +01:00
games/devtest builtin: Return 'obj' from 'core.item_drop' (#15880) 2025-03-11 20:00:35 +01:00
irr SDL: Use scancodes for keybindings (#14964) 2025-03-16 20:35:34 +01:00
lib Update github URL references (#15705) 2025-01-24 16:50:39 +01:00
misc Bump OARS content rating to 1.1 2025-03-16 17:57:18 +01:00
mods Remove trailing whitespace (#13505) 2023-05-18 20:34:18 +02:00
po Delete empty languages 2025-02-14 19:13:14 +01:00
src Do not discover mod directories that fail parsing (#15917) 2025-03-19 18:43:19 +01:00
textures Main menu server tab mods button (#15561) 2025-01-12 16:23:56 +01:00
util Refresh win32 toolchain and libraries (#15890) 2025-03-11 19:59:03 +01:00
worlds Add a worlds_here.txt file in the worlds folder and update .gitignore (#12720) 2022-10-30 16:53:31 +01:00
.clang-tidy Clang-Tidy config: Ignore performance-avoid-endl and performance-inefficient-string-concatenation 2025-02-22 16:16:41 +01:00
.dockerignore fix: don't send the whole local context to the docker image 2021-04-02 14:40:22 +02:00
.editorconfig Fix .editorconfig mandating tabs for Markdown 2024-08-16 22:13:16 +02:00
.gitattributes Restore .x models to working state (#15550) 2024-12-18 20:29:35 +01:00
.gitignore Updates some Minetest references to Luanti (#15712) 2025-02-01 13:40:45 +01:00
.gitlab-ci.yml Remove GitLab CI and redirect GitLab pages to api.minetest.net 2024-01-10 20:52:08 +00:00
.luacheckrc Add table.copy_with_metatables (#15754) 2025-03-14 11:52:42 +01:00
.mailmap Rename erle in credits (as requested by them) 2024-10-26 10:28:55 +03:00
CMakeLists.txt Continue with 5.12.0-dev 2025-02-14 19:38:30 +01:00
CMakePresets.json Add documentation for IDE developer setup (#13935) 2024-05-26 14:28:12 +02:00
CNAME Migrate rendered Lua API docs CNAME to api.luanti.org 2024-12-08 19:48:52 +01:00
COPYING.LESSER Added copy of LGPL-2.1 (#12950) 2022-11-16 13:09:53 -05:00
Dockerfile Rename to Luanti (#15294) 2024-10-27 14:04:51 +01:00
LICENSE.txt Main menu server tab mods button (#15561) 2025-01-12 16:23:56 +01:00
minetest.conf.example Update minetest.conf.example and settings_translation_file.cpp 2025-02-09 13:23:22 +01:00
README.md Fix excessive space on README.md 2025-03-11 20:00:58 +01:00
shell.nix dev: add shell.nix (#14823) 2024-08-12 11:41:27 +02:00

Luanti (formerly Minetest)

Build Status Translation status License

Luanti is a free open-source voxel game engine with easy modding and game creation.

Copyright (C) 2010-2025 Perttu Ahola celeron55@gmail.com and contributors (see source file comments and the version control log)

Table of Contents

  1. Further Documentation
  2. Default Controls
  3. Paths
  4. Configuration File
  5. Command-line Options
  6. Compiling
  7. Docker
  8. Version Scheme

Further documentation

Default controls

All controls are re-bindable using settings. Some can be changed in the key config dialog in the settings tab.

Button Action
Move mouse Look around
W, A, S, D Move
Space Jump/move up
Shift Sneak/move down
Q Drop itemstack
Shift + Q Drop single item
Left mouse button Dig/punch/use
Right mouse button Place/use
Shift + right mouse button Build (without using)
I Inventory menu
Mouse wheel Select item
0-9 Select item
Z Zoom (needs zoom privilege)
T Chat
/ Command
Esc Pause menu/abort/exit (pauses only singleplayer game)
+ Increase view range
- Decrease view range
K Enable/disable fly mode (needs fly privilege)
J Enable/disable fast mode (needs fast privilege)
H Enable/disable noclip mode (needs noclip privilege)
E Aux1 (Move fast in fast mode. Games may add special features)
C Cycle through camera modes
V Cycle through minimap modes
Shift + V Change minimap orientation
F1 Hide/show HUD
F2 Hide/show chat
F3 Disable/enable fog
F4 Disable/enable camera update (Mapblocks are not updated anymore when disabled, disabled in release builds)
F5 Cycle through debug information screens
F6 Cycle through profiler info screens
F10 Show/hide console
F12 Take screenshot

Paths

Locations:

  • bin - Compiled binaries
  • share - Distributed read-only data
  • user - User-created modifiable data

Where each location is on each platform:

  • Windows .zip / RUN_IN_PLACE source:
    • bin = bin
    • share = .
    • user = .
  • Windows installed:
    • bin = C:\Program Files\Minetest\bin (Depends on the install location)
    • share = C:\Program Files\Minetest (Depends on the install location)
    • user = %APPDATA%\Minetest or %MINETEST_USER_PATH%
  • Linux installed:
    • bin = /usr/bin
    • share = /usr/share/minetest
    • user = ~/.minetest or $MINETEST_USER_PATH
  • macOS:
    • bin = Contents/MacOS
    • share = Contents/Resources
    • user = Contents/User or ~/Library/Application Support/minetest or $MINETEST_USER_PATH

Worlds can be found as separate folders in: user/worlds/

Configuration file

  • Default location: user/minetest.conf
  • This file is created by closing Luanti for the first time.
  • A specific file can be specified on the command line: --config <path-to-file>
  • A run-in-place build will look for the configuration file in location_of_exe/../minetest.conf and also location_of_exe/../../minetest.conf

Command-line options

  • Use --help

Compiling

Docker

Version scheme

We use major.minor.patch since 5.0.0-dev. Prior to that we used 0.major.minor.

  • Major is incremented when the release contains breaking changes, all other numbers are set to 0.
  • Minor is incremented when the release contains new non-breaking features, patch is set to 0.
  • Patch is incremented when the release only contains bugfixes and very minor/trivial features considered necessary.

Since 5.0.0-dev and 0.4.17-dev, the dev notation refers to the next release, i.e.: 5.0.0-dev is the development version leading to 5.0.0. Prior to that we used previous_version-dev.