<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Luma (tool) on Luanti Documentation</title><link>https://docs.luanti.org/for-server-hosts/luma/</link><description>Recent content in Luma (tool) on Luanti Documentation</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://docs.luanti.org/for-server-hosts/luma/index.xml" rel="self" type="application/rss+xml"/><item><title>Command line</title><link>https://docs.luanti.org/for-server-hosts/luma/cli/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.luanti.org/for-server-hosts/luma/cli/</guid><description>&lt;p>Passing a command runs it without opening the terminal UI. Commands take the form &lt;code>&amp;lt;noun&amp;gt; &amp;lt;verb&amp;gt;&lt;/code>:&lt;/p>
&lt;pre>&lt;code>luma [global flags] &amp;lt;noun&amp;gt; &amp;lt;verb&amp;gt; [flags] [arguments]
&lt;/code>&lt;/pre>
&lt;p>Global flags, such as &lt;code>--dir&lt;/code>, go before the command. See &lt;a href="../global-flags">Global flags&lt;/a> for the full list.&lt;/p>
&lt;pre>&lt;code>luma --dir /path/to/luanti mods list
luma --flatpak mods outdated
&lt;/code>&lt;/pre>
&lt;h2 id="help">Help&lt;a class="anchor" href="#help">#&lt;/a>&lt;/h2>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>command&lt;/th>
 &lt;th>shows&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>&lt;code>luma --help&lt;/code>&lt;/td>
 &lt;td>global flags and command groups&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>luma mods --help&lt;/code>&lt;/td>
 &lt;td>the commands of a group&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>luma mods update --help&lt;/code>&lt;/td>
 &lt;td>the flags of a command&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;h2 id="exit-codes">Exit codes&lt;a class="anchor" href="#exit-codes">#&lt;/a>&lt;/h2>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>code&lt;/th>
 &lt;th>meaning&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>0&lt;/td>
 &lt;td>success&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>1&lt;/td>
 &lt;td>error&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>2&lt;/td>
 &lt;td>usage error, e.g. unknown command or flag&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;p>Results are written to standard output, errors and warnings to standard error.&lt;/p></description></item><item><title>Global flags</title><link>https://docs.luanti.org/for-server-hosts/luma/global-flags/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.luanti.org/for-server-hosts/luma/global-flags/</guid><description>&lt;p>Global flags apply to both the terminal UI and the command line. They go before any command:&lt;/p>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>flag&lt;/th>
 &lt;th>meaning&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>&lt;code>--dir &amp;lt;path&amp;gt;&lt;/code>, &lt;code>-d &amp;lt;path&amp;gt;&lt;/code>&lt;/td>
 &lt;td>use the Luanti install at &lt;code>&amp;lt;path&amp;gt;&lt;/code>, defaults to the current directory&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>--flatpak&lt;/code>&lt;/td>
 &lt;td>use the Luanti flatpak install&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>--engine-version &amp;lt;version&amp;gt;&lt;/code>, &lt;code>-e &amp;lt;version&amp;gt;&lt;/code>&lt;/td>
 &lt;td>override the detected engine version&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;p>&lt;code>--dir&lt;/code> and &lt;code>--flatpak&lt;/code> can&amp;rsquo;t be used together. If no install is found, luma exits with an error.&lt;/p>
&lt;h2 id="no-flags">No flags&lt;a class="anchor" href="#no-flags">#&lt;/a>&lt;/h2>
&lt;p>Without &lt;code>--dir&lt;/code> or &lt;code>--flatpak&lt;/code>, the current directory is assumed to be the Luanti install, so luma can be run with no arguments from inside it:&lt;/p></description></item><item><title>Terminal UI</title><link>https://docs.luanti.org/for-server-hosts/luma/terminal-ui/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.luanti.org/for-server-hosts/luma/terminal-ui/</guid><description>&lt;p>Running luma without a command opens the terminal UI:&lt;/p>
&lt;pre>&lt;code>luma --dir /path/to/luanti
luma --flatpak
&lt;/code>&lt;/pre>
&lt;p>The main menu shows the folders and engine version in use, and leads to the mods, games and texture packs screens.&lt;/p>
&lt;h2 id="general-keys">General keys&lt;a class="anchor" href="#general-keys">#&lt;/a>&lt;/h2>
&lt;table>
 &lt;thead>
 &lt;tr>
 &lt;th>key&lt;/th>
 &lt;th>action&lt;/th>
 &lt;/tr>
 &lt;/thead>
 &lt;tbody>
 &lt;tr>
 &lt;td>&lt;code>up&lt;/code> / &lt;code>k&lt;/code>, &lt;code>down&lt;/code> / &lt;code>j&lt;/code>&lt;/td>
 &lt;td>move&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>enter&lt;/code> / &lt;code>space&lt;/code>&lt;/td>
 &lt;td>select, or open details&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>esc&lt;/code> / &lt;code>backspace&lt;/code>&lt;/td>
 &lt;td>go back&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>q&lt;/code>&lt;/td>
 &lt;td>quit&lt;/td>
 &lt;/tr>
 &lt;tr>
 &lt;td>&lt;code>ctrl+c&lt;/code>&lt;/td>
 &lt;td>quit immediately&lt;/td>
 &lt;/tr>
 &lt;/tbody>
&lt;/table>
&lt;p>&lt;code>q&lt;/code> is ignored while certain operations are happening to avoid leaving directories in an invalid state.&lt;/p></description></item></channel></rss>