Command line

From Luanti Wiki
Jump to navigation Jump to search
Languages Language: English • Deutsch • 日本語

List of arguments

To get a list of command-line arguments, simply pass the argument --help to the binary from the command line or the terminal. You can also find a reference of arguments if you run man minetest or man minetestserver if it has been installed in your system manual.

Running command line arguments

Linux

Open up the terminal.

Simply type:

./minetest --server --worldname MyWorld

Or you can make a shell (.sh) file.

Windows

The easiest way to run command line arguments on windows it to make a batch file. Open a plain text editor (for example Notepad, or Notepad++).

Enter your command line arguments in the following format:

minetest.exe --server --worldname MyWorld

And save to startserver.bat in the bin folder, next to minetext.exe (It doesn't need to be called “startserver”, that was just an example).

Now run it by double clicking your batch file.