A Github-free Minetest source code hosting.

cx384 83bc27d99d Move formspec code from game.cpp to separate file 5 天之前
.github bcbee873e8 Use openssl's sha1 and sha256, optionally (#15472) 2 周之前
.vscode 82790b1556 Add documentation for IDE developer setup (#13935) 7 月之前
android 8503d8de5e Continue with 5.11.0-dev 1 月之前
builtin 7bf0b1fc7e Add server url button to main menu (#15536) 5 天之前
client a6293b9861 Initial refactoring on shader usage and generation 5 天之前
clientmods 467d3a8c62 Rename `hud_elem_type` to `type` (#14065) 1 年之前
cmake 4b90e582b4 Rename to Luanti (#15294) 1 月之前
doc f06383f78c Minor API reference fixes 5 天之前
fastlane a983b72713 Add Fastlane metadata for F-Droid (#15411) 1 月之前
fonts 76dbd0d2d0 Fully remove bitmap font support (#11863) 3 年之前
games a37bdbf8b7 Restore `.x` models to working state (#15550) 6 天之前
irr 7354cbe463 Fix core::array::reallocate when shrinking 5 天之前
lib c884e7181f JsonCPP: restore '1.0.0+' compatibility (#15368) 1 月之前
misc 7cc5a6ec68 Add Minetest keyword for backwards compatibility (#15491) 3 周之前
mods 180ec92ef9 Remove trailing whitespace (#13505) 1 年之前
po fbab80fced Translated using Weblate (Spanish (American)) 1 月之前
src 83bc27d99d Move formspec code from game.cpp to separate file 4 天之前
textures 7bf0b1fc7e Add server url button to main menu (#15536) 5 天之前
util bcbee873e8 Use openssl's sha1 and sha256, optionally (#15472) 2 周之前
worlds fcd670e6f7 Add a worlds_here.txt file in the worlds folder and update .gitignore (#12720) 2 年之前
.clang-tidy 8546d6089a Update clang-tidy configuration and scripts 4 年之前
.dockerignore c4b048fbb3 fix: don't send the whole local context to the docker image 3 年之前
.editorconfig 44db47e64a Fix `.editorconfig` mandating tabs for Markdown 4 月之前
.gitattributes a37bdbf8b7 Restore `.x` models to working state (#15550) 6 天之前
.gitignore 6569fdd4d1 Add QT Creator and Windows dump files to `.gitignore` (#15214) 2 月之前
.gitlab-ci.yml d98ea7fdb6 Remove GitLab CI and redirect GitLab pages to api.minetest.net 11 月之前
.luacheckrc 44b261d136 Luacheck: add VoxelManip to globals 1 月之前
.mailmap c3b5cc8611 Rename erle in credits (as requested by them) 2 月之前
CMakeLists.txt 8503d8de5e Continue with 5.11.0-dev 1 月之前
CMakePresets.json 82790b1556 Add documentation for IDE developer setup (#13935) 7 月之前
CNAME 8d43ad2522 Migrate rendered Lua API docs CNAME to `api.luanti.org` 2 周之前
COPYING.LESSER 6b6cd42ce4 Added copy of LGPL-2.1 (#12950) 2 年之前
Dockerfile 4b90e582b4 Rename to Luanti (#15294) 1 月之前
LICENSE.txt 7bf0b1fc7e Add server url button to main menu (#15536) 5 天之前
README.md a8ea165042 Replace occurences of 'wiki.minetest.net' with 'wiki.luanti.org' 1 月之前
minetest.conf.example a8ea165042 Replace occurences of 'wiki.minetest.net' with 'wiki.luanti.org' 1 月之前
shell.nix a0e33ba9ea dev: add shell.nix (#14823) 4 月之前

README.md

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-2024 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.