<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.gotopinion.info/wiki/index.php?action=history&amp;feed=atom&amp;title=How-to_edit_server.properties_file_on_Linux</id>
	<title>How-to edit server.properties file on Linux - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.gotopinion.info/wiki/index.php?action=history&amp;feed=atom&amp;title=How-to_edit_server.properties_file_on_Linux"/>
	<link rel="alternate" type="text/html" href="https://wiki.gotopinion.info/wiki/index.php?title=How-to_edit_server.properties_file_on_Linux&amp;action=history"/>
	<updated>2026-04-21T15:35:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.gotopinion.info/wiki/index.php?title=How-to_edit_server.properties_file_on_Linux&amp;diff=2201&amp;oldid=prev</id>
		<title>Paul: initial page creation</title>
		<link rel="alternate" type="text/html" href="https://wiki.gotopinion.info/wiki/index.php?title=How-to_edit_server.properties_file_on_Linux&amp;diff=2201&amp;oldid=prev"/>
		<updated>2020-05-04T00:01:09Z</updated>

		<summary type="html">&lt;p&gt;initial page creation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Basic steps&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Connect to Linux server&lt;br /&gt;
# Navigate to directory where server.properties file is located&lt;br /&gt;
# Use a text edit to open, modify, and save server.properties file&lt;br /&gt;
&lt;br /&gt;
== How-to edit server.properties using vi ==&lt;br /&gt;
&lt;br /&gt;
* The scope of this how-to is step 3 from basic steps.&lt;br /&gt;
* This how-to will cover changing maximum clients from 8 to 16.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;big&amp;gt;Step 1 - open server.properties file with vi&amp;lt;/big&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ vi server.properties&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
vi is a model editor that supports &amp;#039;&amp;#039;&amp;#039;insert&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;command&amp;#039;&amp;#039;&amp;#039; mode. insert mode is where typed text could become part of the file. command mode is where keystrokes are interpreted as commands that control the edit session.&lt;br /&gt;
&lt;br /&gt;
Basic cursor movement in vi:&lt;br /&gt;
* &amp;lt;code&amp;gt;ESC&amp;lt;/code&amp;gt; to enter command mode when in insert mode&lt;br /&gt;
* &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; to enter insert mode when in command mode&lt;br /&gt;
* &amp;lt;code&amp;gt;k&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;up arrow&amp;lt;/code&amp;gt; to move up one line&lt;br /&gt;
* &amp;lt;code&amp;gt;j&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;down arrow&amp;lt;/code&amp;gt; to move down one line&lt;br /&gt;
* &amp;lt;code&amp;gt;h&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;left arrow&amp;lt;/code&amp;gt; move left one character&lt;br /&gt;
* &amp;lt;code&amp;gt;l&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;right arrow&amp;lt;/code&amp;gt; move right one character&lt;br /&gt;
* &amp;lt;code&amp;gt;$&amp;lt;/code&amp;gt; to move to end of line&lt;br /&gt;
* &amp;lt;code&amp;gt;r&amp;lt;/code&amp;gt; replace single character under cursor (no &amp;lt;Esc&amp;gt; needed)&lt;br /&gt;
* &amp;lt;code&amp;gt;R&amp;lt;/code&amp;gt; replace characters, starting with current cursor position, until &amp;lt;Esc&amp;gt; hit&lt;br /&gt;
* &amp;lt;code&amp;gt;u&amp;lt;/code&amp;gt; undo last change&lt;br /&gt;
* &amp;lt;code&amp;gt;:x&amp;lt;/code&amp;gt; save and exit file&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;big&amp;gt;Step 2 - move cursor to max-players=8 line&amp;lt;/big&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Move cursor down to line that starts with &amp;#039;&amp;#039;&amp;#039;max-players=&amp;#039;&amp;#039;&amp;#039; using &amp;lt;code&amp;gt;j&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;down arrow&amp;lt;/code&amp;gt;. Your cursor should be over &amp;#039;&amp;#039;&amp;#039;m&amp;#039;&amp;#039;&amp;#039; in &amp;#039;&amp;#039;&amp;#039;max-players&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;big&amp;gt;Step 3 - move cursor over 8&amp;lt;/big&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Move cursor to right using &amp;lt;code&amp;gt;l&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;right arrow&amp;lt;/code&amp;gt; until over the &amp;#039;&amp;#039;&amp;#039;8&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;big&amp;gt;Step 4 - change 8 to 16&amp;lt;/big&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Press &amp;lt;code&amp;gt;R&amp;lt;/code&amp;gt; then type &amp;lt;code&amp;gt;16&amp;lt;/code&amp;gt; and press &amp;lt;code&amp;gt;ESC&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;big&amp;gt;Step 5 - save file and exit vi&amp;lt;/big&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Press &amp;lt;code&amp;gt;:x&amp;lt;/code&amp;gt; then press Enter.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;&amp;lt;big&amp;gt;Step 6 - verify file was changed&amp;lt;/big&amp;gt;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$ grep players server.properties&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should see &amp;#039;&amp;#039;&amp;#039;max-players=16&amp;#039;&amp;#039;&amp;#039; as part of output.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Minecraft | To Minecraft]]&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Paul</name></author>
	</entry>
</feed>