Command line/de

From Minetest Wiki
< Command line
Revision as of 07:07, 16 May 2018 by Chris (talk | contribs) (Created page with "{{Languages/de}} == Häufige Befehle == * <code>--address <value></code> - Verbindungsadresse (''leer'' → lokales Spiel) * <code>--gameid <value></code> ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Languages Sprache: English • Deutsch • 日本語

Häufige Befehle

  • --address <value> - Verbindungsadresse (leer → lokales Spiel)
  • --gameid <value> - setzt die Spielkennung
  • --gameid list - Liste verfügbarer Spielkennungen
  • --map-dir <value> - entspricht --world (veraltet)
  • --world <value> - Setzt Pfad zur Welt (setzt lokales Spiel voraus)
  • --world list - List all available worlds
  • --worldname <value> - Set world by name (implies local game)
  • --migrate <value> - Migrate from current backend to another (only works when using minetestserver or --server)
  • --migrate-players <value> - Migrate from current player backend to another (only works when using minetestserver or --server)
  • --name <value> - Set player name
  • --password <value> - Set password
  • --port <value> - Set network port (UDP)
  • --go - Disable main menu (skips and goes straight to game)
  • --config <value> - Load configuration from specified file
  • --server - Run dedicated server
  • --videomodes - Show available video modes
  • --help - Show allowed options

Debugging and Testing

  • --logfile <value> - Set logfile path (empty value → no logging)
  • --info - Print more information to console
  • --trace - Print enormous amounts of information to log and console
  • --verbose - Print even more information to console
  • --disable-unittests - Disable unit tests
  • --enable-unittests - Enable unit tests
  • --random-input - Enable random user input, for testing
  • --speedtests - Run speed tests

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.