<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.minetest.org/index.php?action=history&amp;feed=atom&amp;title=Command_line</id>
	<title>Command line - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.minetest.org/index.php?action=history&amp;feed=atom&amp;title=Command_line"/>
	<link rel="alternate" type="text/html" href="https://wiki.minetest.org/index.php?title=Command_line&amp;action=history"/>
	<updated>2026-05-13T16:00:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.4</generator>
	<entry>
		<id>https://wiki.minetest.org/index.php?title=Command_line&amp;diff=11505&amp;oldid=prev</id>
		<title>&gt;Wsor4035: /* Common Commands */</title>
		<link rel="alternate" type="text/html" href="https://wiki.minetest.org/index.php?title=Command_line&amp;diff=11505&amp;oldid=prev"/>
		<updated>2022-03-06T21:25:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Common Commands&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:25, 6 March 2022&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key mediawiki-mw_:diff::1.12:old-7740:rev-11505 --&gt;
&lt;/table&gt;</summary>
		<author><name>&gt;Wsor4035</name></author>
	</entry>
	<entry>
		<id>https://wiki.minetest.org/index.php?title=Command_line&amp;diff=7740&amp;oldid=prev</id>
		<title>&gt;Wsor4035: /* Common Commands */</title>
		<link rel="alternate" type="text/html" href="https://wiki.minetest.org/index.php?title=Command_line&amp;diff=7740&amp;oldid=prev"/>
		<updated>2022-03-06T21:25:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Common Commands&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:25, 6 March 2022&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key mediawiki-mw_:diff::1.12:old-3975:rev-7740 --&gt;
&lt;/table&gt;</summary>
		<author><name>&gt;Wsor4035</name></author>
	</entry>
	<entry>
		<id>https://wiki.minetest.org/index.php?title=Command_line&amp;diff=3975&amp;oldid=prev</id>
		<title>&gt;Wsor4035: /* Common Commands */</title>
		<link rel="alternate" type="text/html" href="https://wiki.minetest.org/index.php?title=Command_line&amp;diff=3975&amp;oldid=prev"/>
		<updated>2022-03-06T21:25:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Common Commands&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:25, 6 March 2022&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key mediawiki-mw_:diff::1.12:old-210:rev-3975 --&gt;
&lt;/table&gt;</summary>
		<author><name>&gt;Wsor4035</name></author>
	</entry>
	<entry>
		<id>https://wiki.minetest.org/index.php?title=Command_line&amp;diff=210&amp;oldid=prev</id>
		<title>&gt;Wsor4035: /* Common Commands */</title>
		<link rel="alternate" type="text/html" href="https://wiki.minetest.org/index.php?title=Command_line&amp;diff=210&amp;oldid=prev"/>
		<updated>2022-03-06T21:25:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Common Commands&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Languages}}&lt;br /&gt;
== Common Commands ==&lt;br /&gt;
* &amp;lt;code&amp;gt;--address &amp;lt;value&amp;gt;&amp;lt;/code&amp;gt;             - Address to connect to. (''empty value'' → local game)&lt;br /&gt;
* &amp;lt;code&amp;gt;--gameid &amp;lt;value&amp;gt;&amp;lt;/code&amp;gt;              - Set gameid&lt;br /&gt;
* &amp;lt;code&amp;gt;--gameid list&amp;lt;/code&amp;gt;                 - List available gameids&lt;br /&gt;
* &amp;lt;code&amp;gt;--map-dir &amp;lt;value&amp;gt;&amp;lt;/code&amp;gt;             - Same as &amp;lt;code&amp;gt;--world&amp;lt;/code&amp;gt; (deprecated)&lt;br /&gt;
* &amp;lt;code&amp;gt;--world &amp;lt;value&amp;gt;&amp;lt;/code&amp;gt;               - Set world path (implies local game)&lt;br /&gt;
* &amp;lt;code&amp;gt;--world list&amp;lt;/code&amp;gt;                  - List all available worlds&lt;br /&gt;
* &amp;lt;code&amp;gt;--worldname &amp;lt;value&amp;gt;&amp;lt;/code&amp;gt;           - Set world by name (implies local game)&lt;br /&gt;
* &amp;lt;code&amp;gt;--migrate &amp;lt;value&amp;gt;&amp;lt;/code&amp;gt;             - Migrate from current backend to another (only works when using minetestserver or &amp;lt;code&amp;gt;--server&amp;lt;/code&amp;gt;)&lt;br /&gt;
* &amp;lt;code&amp;gt;--migrate-players &amp;lt;value&amp;gt;&amp;lt;/code&amp;gt;     - Migrate from current player backend to another (only works when using minetestserver or &amp;lt;code&amp;gt;--server&amp;lt;/code&amp;gt;)&lt;br /&gt;
* &amp;lt;code&amp;gt;--name &amp;lt;value&amp;gt;&amp;lt;/code&amp;gt;                - Set player name&lt;br /&gt;
* &amp;lt;code&amp;gt;--password &amp;lt;value&amp;gt;&amp;lt;/code&amp;gt;            - Set password&lt;br /&gt;
* &amp;lt;code&amp;gt;--port &amp;lt;value&amp;gt;&amp;lt;/code&amp;gt;                - Set network port (UDP)&lt;br /&gt;
* &amp;lt;code&amp;gt;--go&amp;lt;/code&amp;gt;                          - Disable main menu (skips and goes straight to game)&lt;br /&gt;
* &amp;lt;code&amp;gt;--config &amp;lt;value&amp;gt;&amp;lt;/code&amp;gt;              - Load configuration from specified file&lt;br /&gt;
* &amp;lt;code&amp;gt;--server&amp;lt;/code&amp;gt;                      - Run dedicated server&lt;br /&gt;
* &amp;lt;code&amp;gt;--videomodes&amp;lt;/code&amp;gt;                  - Show available video modes&lt;br /&gt;
* &amp;lt;code&amp;gt;--help&amp;lt;/code&amp;gt;                        - Show allowed options&lt;br /&gt;
* &amp;lt;code&amp;gt;--console&amp;lt;/code&amp;gt;                     - Starts with the console (Windows only)&lt;br /&gt;
* &amp;lt;code&amp;gt; --terminal&amp;lt;/code&amp;gt;                   - Feature an interactive terminal (Only works when using minetestserver or with &amp;lt;code&amp;gt;--server&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
== Debugging and Testing ==&lt;br /&gt;
* &amp;lt;code&amp;gt;--logfile &amp;lt;value&amp;gt;&amp;lt;/code&amp;gt;     - Set logfile path (''empty value'' → no logging)&lt;br /&gt;
* &amp;lt;code&amp;gt;--info&amp;lt;/code&amp;gt;                - Print more information to console&lt;br /&gt;
* &amp;lt;code&amp;gt;--trace&amp;lt;/code&amp;gt;               - Print enormous amounts of information to log and console&lt;br /&gt;
* &amp;lt;code&amp;gt;--verbose&amp;lt;/code&amp;gt;             - Print even more information to console&lt;br /&gt;
* &amp;lt;code&amp;gt;--disable-unittests&amp;lt;/code&amp;gt;   - Disable unit tests&lt;br /&gt;
* &amp;lt;code&amp;gt;--enable-unittests&amp;lt;/code&amp;gt;    - Enable unit tests&lt;br /&gt;
* &amp;lt;code&amp;gt;--random-input&amp;lt;/code&amp;gt;        - Enable random user input, for testing&lt;br /&gt;
* &amp;lt;code&amp;gt;--speedtests&amp;lt;/code&amp;gt;          - Run speed tests&lt;br /&gt;
&lt;br /&gt;
== Running command line arguments ==&lt;br /&gt;
=== Linux ===&lt;br /&gt;
&lt;br /&gt;
Open up the terminal.&lt;br /&gt;
&lt;br /&gt;
Simply type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
./minetest --server --worldname MyWorld&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or you can make a shell (&amp;lt;code&amp;gt;.sh&amp;lt;/code&amp;gt;) file.&lt;br /&gt;
&lt;br /&gt;
=== Windows ===&lt;br /&gt;
The easiest way to run command line arguments on windows it to make a batch file.&lt;br /&gt;
Open a plain text editor (for example Notepad, or Notepad++).&lt;br /&gt;
&lt;br /&gt;
Enter your command line arguments in the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
minetest.exe --server --worldname MyWorld&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And save to &amp;lt;code&amp;gt;startserver.bat&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;bin&amp;lt;/code&amp;gt; folder, next to &amp;lt;code&amp;gt;minetext.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
(It doesn't need to be called “startserver”, that was just an example).&lt;br /&gt;
&lt;br /&gt;
Now run it by double clicking your batch file.&lt;br /&gt;
&lt;br /&gt;
[[Category:About Minetest]]&lt;/div&gt;</summary>
		<author><name>&gt;Wsor4035</name></author>
	</entry>
</feed>