Skip to content
On this page

Config

This page shows how to change the settings of the game and of your mods from the interface: the server properties, who may join the server, what each player is allowed to do, and the configuration files of the installed mods.

The Config page edits these files in the server folder. You never open them in a text editor: the page displays each file as a list or a tree and writes your changes back when you save.

Group Section File Holds
Game Properties server.properties The server settings: its name, the game mode, the port, and so on.
Allowlist allowlist.json The players who may join while the allow-list property is on.
Permissions permissions.json The players who have their own permission instead of the default one.
Mods One row for each file Files in mods/<mod>/ The settings of each installed mod.

When a change takes effect

The server reads the game files when it starts. Any change you save to them takes effect the next time the server starts, as shown at the bottom right of the game sections: Applies on next server start. Many mods also read their files only when the server starts; see While the server runs.

The section list

To open the page, move to Config in the sidebar with ↓ and press Enter.

The Config page: at the left, the Game group with Properties, Allowlist and Permissions, and the Mods group with only the row Marketplace…; at the right, the properties of the server, the description of the selected property below them, and the Save and Discard buttons at the bottom.

  1. The sections of the game, one for each of its files.
  2. A property and its value. Press Enter to change it.
  3. What the game says about the selected property: the English comment that the game wrote below it in server.properties, including its allowed values.
  4. Save and Discard. Nothing is written until you save, and you can select these only when you have unsaved changes.

The list at the left has two groups. Game holds the three sections of the server's files. Mods holds a row for each configuration file of the installed mods; see The files of the mods. The headings Game and Mods are not rows of their own: ↑ and ↓ skip them.

Use ↑ and ↓ to select a section; the right side shows it at once. Press Enter or → to move into its rows.

If no installed mod has its own folder, or no mods are installed at all, the Mods group has a single row, Marketplace…, and the right side says No configurable mods. Press Enter on that row to open the Marketplace page.

The Config page of a server without mods: the row Marketplace… is selected below the Mods heading, and the right side says "No configurable mods."

Keys and focus

The page has areas that take the focus in turn: the section list, the rows of the section (or the text of a file), and the Save and Discard buttons below them.

Key Does
↑ ↓ In the list: selects a section. In the rows: moves through them. From the last row, ↓ moves to the buttons when you have unsaved changes.
Enter, → In the list: moves into the rows of the section.
Enter On a row: changes it, opens it, or opens its actions.
Space Toggles an on/off value.
← On the rows of a game section, or at the top level of a mod's file: goes back to the list. Deeper in a mod's file: goes up one level.
Esc Goes back one step: from the buttons to the rows, from the rows to the list (in a mod's file, up one level first), and from the list to the sidebar.
Tab Moves to the next area: sidebar, list, rows, buttons, and back to the sidebar. The buttons take the focus only while you have unsaved changes. Shift+Tab goes the other way.

The bottom line of the screen always shows the keys that work in your current location. A tour of the interface explains the keys shared across every page.

Change a property

Select Properties and press Enter to move into its rows. What Enter does on a property depends on the kind of value it holds. lip detects the value type from the Allowed values: line in the description.

Switch a property on or off

A property that is true or false shows a checkbox: [x] is true, and [ ] is false.

  1. Move to the property, here allow-cheats.

    The property allow-cheats is selected. Its value is an empty box, and its description below the list says that cheats like commands can be used when it is true.

    1. The value: an empty box is false, and a checked box is true.
    2. What the file says about the property.
  2. Press Space or Enter to toggle the box.

    allow-cheats now shows a checked box. A star stands before it and after the section name Properties in the list, the description starts with "Original: false", and the Save and Discard buttons are bright.

Nothing is written to the file yet. The page marks your changes in four ways:

  1. A star * appears before the property.
  2. A star appears after the section name in the list.
  3. The description shows Original: followed by the value still saved in the file.
  4. Save and Discard become selectable.

Choose one of a few values

A property with a fixed set of values, such as gamemode, opens a list.

  1. Move to the property and press Enter.
  2. Select a value with ↑ and ↓, then press Enter. Press Esc to close the list without making a change.

A list titled gamemode with the values survival, creative and adventure; survival is selected.

Type a number or a text

Any other property opens a field with its current value. Type the new value and press Enter, or press Esc to close the field without making a change.

Numbers must be whole numbers. If the file specifies a range or a minimum value, the field displays it. If you enter a value outside that limit, the field rejects it, stays open, and explains why. A property described in the file as a positive integer, such as max-players, accepts neither 0 nor a negative number, and view-distance accepts nothing below 5.

The field of server-port, labelled "Value (1–65535)", holds 70000. Below it the message "Enter an integer from 1 to 65535." is shown.

  1. The range allowed by the file.
  2. Why the value was rejected. Correct it and press Enter again.

Text values are a single line, saved just as you type them.

The field of server-name holds "Survival SMP".

Take a change back

On a modified property, pressing Enter opens a menu instead: its first row edits the value again, and Reset value restores the value currently saved in the file.

The menu of the changed property allow-cheats with two rows, Toggle and Reset value.

Space still toggles an on/off property directly.

Edit the allowlist

The allowlist names the players who may join. The server uses it only while the allow-list property in Properties is on.

  1. In the list, move to Allowlist and press Enter. The first row is Add player…; below it are the players, each with their XUID if the file has one. A player who may join a full server is marked ignores player limit.

    The Allowlist section: the row "Add player…", then the players Steve, Alex, Noor and Kai with their XUIDs. Steve is marked "ignores player limit".

  2. Press Enter on Add player…. Type the name, press Tab, and type the XUID if you know it.

    The Add player dialog with two fields: Name holds Sunny, and "XUID (optional)" holds a number of sixteen digits.

    1. Name: the player's gamertag. A name already on the list is rejected.
    2. XUID (optional): the player's Xbox account number, digits only. Leave it empty if you do not know it.
  3. Press Enter. The player is added to the end of the list and selected.

  4. Press Enter on a player to open their actions.

    The menu of the player Sunny with two rows: "Ignore player limit" and "Remove".

    1. Ignore player limit lets the player join when the server is full. For a player who already has this setting, the row reads Apply player limit and removes it.
    2. Remove takes the player off the list.

    The row of Sunny now ends with "ignores player limit".

Edit the permissions

Permissions give individual players a different permission level from the default that every new player gets, which is set by the default-player-permission-level property in Properties.

  1. In the list, move to Permissions and press Enter.

    The Permissions section: the row "Add player…", then two players shown by XUID, one with the permission operator and one with member.

    1. A player. This file identifies players by XUID only, not by name.
    2. That player's permission.
    3. What the list is for. Every other player gets default-player-permission-level.
  2. Press Enter on Add player… and type the player's XUID.

    The Add player dialog of the permissions with one field, XUID, which holds a number of sixteen digits.

    Where to find an XUID

    The allowlist shows the XUID of every player whose XUID is in the file. The server also writes it to its output when a player connects; see Server.

  3. Press Enter and choose the permission. The list starts on member, or on the player's current permission if the XUID is already on the list; in that case, it updates the player's permission instead of adding a second row.

    A list titled with the XUID: operator, member and visitor. member is selected, and the line below says "Can play and build."

    Permission The player
    operator Can use every command.
    member Can play and build.
    visitor Can only look around.
  4. Press Enter on a player to open their actions: Change permission… opens the same list, and Remove takes the player off the list.

    The menu of a player of the permissions with two rows: "Change permission…" and "Remove".

Game files that cannot be edited

A new server has no server.properties until it has run once, because the game creates the file on first start. The page notes this and does not create the file. Start the server once on the Server page, stop it, and return here.

The Properties section shows no rows, only a sentence that says that server.properties does not exist yet and that starting the server once creates it.

  1. The server creates the file when it first starts.

If lip cannot read a file—such as an allowlist.json with a syntax error—it displays the raw file and never writes to it. Fix the file in a text editor.

The Allowlist section shows a warning, the message of the JSON reader with a line number, and below it the text of allowlist.json.

  1. lip never writes to a file it cannot read. Saving the other sections leaves it untouched.
  2. Where the file is broken. This message is always in English, regardless of the interface language.
  3. The raw file. If it is longer than the view area, press Enter to focus it and ↑ ↓ to scroll.

The files of the mods

Each mod has its own folder on the server, mods/<mod>/, where <mod> is the mod's name. For each installed mod, the Mods group lists:

  • every file in mods/<mod>/config/ and its subfolders; or,
  • if there are none: the .json, .ini, .toml, .yml, and .yaml files directly in mods/<mod>/ (excluding manifest.json), along with mods/<mod>/data/config.json.

Most mods generate their configuration file the first time the server starts with them installed. lip does not create configuration files.

The Config page with the files of the mods: below the Mods heading, two dimmed mods without a file and four files; the file of GMLIB is open at the right with its three values.

  1. A file: the mod's folder name, followed by the file's path inside that folder. A mod with several files gets several rows.
  2. A mod without a configuration file, dimmed.
  3. The selected file. The first line at the right shows the mod and the file in full.

If the list is too narrow for a long row, it keeps the mod's name and cuts the beginning of the file's path, as in LeviOptimize · …config.json.

A mod without a file has nothing to show:

LegacyRemoteCall is selected in the list. The right side says "No config file. Starting the server may create one."

  1. lip found no configuration file for this mod in the expected locations. The mod may create one the next time the server starts.

Edit a JSON file

Select a file and press Enter or → to enter it. The page displays one level of the file at a time, with a row for each name and its value.

The file of LeviOptimize, inside its group "features": the group optPushEntity with 3 items, and five values that are true.

  1. The mods and their files.
  2. The file's values, shown one level at a time. Enter opens a group or changes a value.
  3. Save and Discard: nothing is written to disk until you save.
A value shown as Is Enter
{…} 3 items A group of named values (a JSON object). Opens it.
[…] 1 item A list of values (a JSON array). Opens it.
[x] true, [ ] false True or false. Toggles it (as does Space).
3, 0.05 A number. Prompts for a new number.
"en" Text. Prompts for new text.
null Empty. Prompts for a value of any type.

The line below the rows shows the value type of the selected row.

Move through the file

  1. Select a group or a list and press Enter to open it.
  2. Press Esc or ← to go back up one level. At the top level, they return to the section list.

Two levels down in the file of LeviOptimize. The first line reads "… › features › optPushEntity", and the rows are enabled, maxPushTimes and a third name that is cut.

  1. Your current location: the mod and the file, followed by each level you have opened. When the line is too long, the beginning is replaced with ….
  2. A true or false value.
  3. A number.

Names too long for their column are truncated with ….

Change a value

On a number or text value, press Enter to open an input field with the current value. Type the new value and press Enter, or press Esc to close the field without making a change.

Each value keeps its type. A number field accepts only numbers; a text field takes whatever you type verbatim, including spaces, so typing 5 into a text field keeps it as the text "5".

The field of def_money, labelled Number, holds "a lot". Below it the message "Enter a number." is shown.

  1. The type of value the row holds.
  2. Why the input was rejected. Fix it and press Enter again.

On a true or false value, press Space or Enter to toggle it immediately.

Change a list

A list shows its values along with their positions ([0], [1], and so on) and ends with the Add value… row.

The list ignoredDimensions with one value, "the_end", at position 0, and the row "Add value…" below it.

  1. A value in the list.
  2. The row that adds a new value.

To add a value, press Enter on Add value… and type it in. Your input is parsed as JSON: 42 is a number, true is true, and {"a": 1} is a group. Anything that is not valid JSON becomes plain text, so you do not need to put quotes around a word.

The Add value dialog with one field, Value, which holds the word nether.

The new value is added to the end of the list.

To change or remove a value in a list, press Enter on it. The menu offers Edit… (or Toggle or Open, depending on the type of value) and Remove.

The menu of the value at position 1 with two rows, "Edit…" and "Remove".

What the page cannot do

Only lists can grow and shrink. You cannot add, remove, or rename names in a group on this page, because the mod decides which names its file contains. To make those changes, edit the file in a text editor.

The version row

Many mods store a whole number named version at the top of their file to track the file's layout. The page dims this row and prevents you from changing it: pressing Enter does nothing, and the line below the rows explains why.

The top level of the file of LeviOptimize. The row "version 4" is selected, and the line below the rows says "The mod keeps this version itself."

  1. Why pressing Enter does nothing on this row.

Mod files that are only shown

A mod's file that is not JSON is shown as plain text below the line Read-only. Use a text editor. Edit it in a text editor outside lip.

The file ranking.yml of LegacyMoney, shown as text below the line "Read-only. Use a text editor."

A .json file that is not valid JSON is shown the same way, below Read-only: not valid JSON. and the error from the JSON parser. Comments (// and /* */) and a trailing comma after the last value do not make a file invalid: lip accepts them.

The file money.json of LegacyMoney, shown as text. The line above it starts with "Read-only: not valid JSON." and goes on in English with what is wrong.

  1. Why the file is not shown as a tree. The JSON parser's message is in English regardless of the selected language.
  2. The mistake—here, a missing colon. Fix it in a text editor and reopen the page.

When the text does not fit the area, press Enter to focus it; use ↑, ↓, PgUp, PgDn, Home, and End to scroll, and Esc to return to the list.

Save or discard your changes

Nothing is written to disk while you edit. The game and the mods each have their own Save and Discard buttons, below the section they belong to.

Save the game files

Changes across the three game sections are saved together. Moving between Properties, Allowlist and Permissions keeps them.

  1. Press Tab until the buttons have focus. From the last row of a list, ↓ also moves focus there.

    The Save button has the focus. The note at the bottom right reads "Applies on next server start."

    1. The note: the server reads the files when it starts.
  2. Press Enter on Save. lip writes every file that has changes and shows Saved. at the bottom right. The stars disappear.

    The properties after saving, without stars. The bottom line ends with "Saved."

What lip writes:

  • In server.properties, only the values of the properties you changed. Every other character in the file stays intact, including comments.
  • allowlist.json and permissions.json are rewritten in full. Players keep their order, and any player data not shown on the page is preserved. Comments in these files are not kept.
  • allowlist.json and permissions.json are created if they do not exist. server.properties is not; see Game files that cannot be edited.

To discard your changes instead, move to Discard with → and press Enter. lip asks for confirmation, then reloads all three files.

The dialog "Discard changes" asks "Discard the changes?" with the buttons Discard and Cancel.

Save a mod file

You edit one mod file at a time. When it has unsaved changes, the page marks it in three places:

The file money.json of LegacyMoney with a changed value. "Unsaved" stands at the top right, a dot follows the file in the list, and the Save and Discard buttons are bright.

  1. Unsaved appears at the right end of the first line.
  2. A dot ● appears after the file in the list.
  3. Save and Discard become active. Save writes the file; Discard reads it again.

To save your changes:

  1. Press Tab until the buttons have focus. From the last row, pressing ↓ also moves focus to the buttons.

    The Save button of the file has the focus.

  2. Press Enter on Save. lip writes the file and displays Saved. at the bottom right.

    The file after saving: "Unsaved" and the dot are gone, and the bottom line ends with "Saved."

lip rewrites the entire file, keeping your updated values, preserving the order of the names, and indenting with four spaces. Any comments in the file are removed. If the file was deleted while you were editing it, lip does not recreate it and instead displays The file is gone.

Discard asks for confirmation, then reloads the file from disk, dropping your changes.

Leave with unsaved changes

lip asks what to do with unsaved changes before it leaves them behind:

  • when you go to another page, select another workspace, or quit lip;
  • when you select another mod file, or a game section, while a mod file has changes;
  • when you select a mod file while the game sections have changes.

If both the game and a mod file have changes, lip asks about the game first, then about the file.

The dialog "Unsaved changes" asks "Save the changes?", names allowlist.json and permissions.json, and has the buttons Save, Discard and Cancel.

  1. The files that have changes.

For a mod file, the dialog names the mod and the file:

The dialog "Unsaved changes" names "LeviOptimize · config/config.json", asks "Save the changes?", and has the buttons Save, Discard and Cancel.

Button Does
Save Saves the named files, then continues.
Discard Drops the changes, then continues.
Cancel, or Esc Stays where you are and keeps your changes.

A file that changed on disk

lip reads the files when the page opens, and a mod's file when you select it. The server and the mods write these files too, sometimes while the server is running. If a file on disk has changed since lip read it, saving will not overwrite it without asking.

For the game files:

The dialog "Save game config" says "Changed on disk since it was read. Overwrite?", names allowlist.json, and has the buttons Overwrite and Cancel.

  1. The file that changed. Neither this file nor any other has been written yet.
  2. Overwrite replaces the version on disk with yours. Cancel, which Enter selects by default, writes nothing and keeps your changes on the page.

To see the current contents of the file, choose Cancel, then Discard.

For a mod file:

The dialog "Save config/config.json" says "Changed on disk since it was read. Overwrite?" and "Reload drops your changes.", with the buttons Overwrite, Reload and Cancel.

  1. Overwrite replaces the file on disk with your version. Any changes the mod wrote are lost.
  2. Reload reloads the file as it currently is on disk. Your changes are lost.
  3. Cancel (selected by default when you press Enter) writes nothing and keeps your changes on screen.

While the server runs

The game files and the mod files behave differently while the server of the selected workspace is running. This applies whether the server was started from the interface or with lip run in another terminal.

The game files are only shown

While the server runs, the game sections are read-only: you can browse the three files, but you cannot change or save anything. Stop the server on the Server page to edit.

The Config page while the server runs. The top bar says Running, and the note at the bottom right reads "Server runs: stop it to edit."

Pressing Enter on a row still opens its actions menu so you can see the available options. The actions are dimmed, and the menu explains why: Stop the server first.

The menu of allow-cheats while the server runs: its only row, Toggle, is dimmed, and below a rule it says "Stop the server first."

If the server starts while you have unsaved changes, the page keeps them:

The page with an unsaved change while the server runs. The note at the bottom right reads "Server runs: stop it to save."

  1. The note changes to Server runs: stop it to save. Once the server stops, you can save as usual.
  2. Meanwhile, Discard is the only active button.

You cannot save when leaving either. lip offers to discard the changes or stay where you are:

The dialog "Unsaved changes" says "Changes cannot be saved while the server runs.", names server.properties, and has the buttons Discard and Cancel.

When the server stops, lip reloads the three files, as the server may have modified them. However, it does not reload them if you have unsaved changes; when you save later, lip asks before overwriting a file that changed on disk.

The mod files are saved all the same

You can edit and save the mod files while the server is running. The last line of the right side then reads Changes may need a server restart., because many mods read their configuration only when the server starts.

The Config page with a mod file open while the server runs. The last line of the right side reads "Changes may need a server restart.", and the bottom line ends with "Saved. May need a restart."

  1. This note remains visible as long as the server is running.
  2. The message shown when you save while the server is running.

Whether a change requires a restart depends on the mod. When in doubt, restart the server on the Server page.

In a narrow terminal

When the page has fewer than 72 columns, it shows either the section list or the section, whichever has the focus.

  1. The section list fills the page. Select a section and press Enter.

    The Config page in a terminal of 72 columns: only the section list is shown, with the Game and Mods groups, and the sidebar shows icons.

  2. The section fills the page; for a mod file, the first line names the mod and the file. Press Esc (at the top level of a mod file) to return to the list.

    The same terminal with the file of GMLIB open: its first line reads "GMLIB · config/config.json", and its three values follow.

What the right side would say in place of the rows, such as No config file. Starting the server may create one., No configurable mods. or Server runs: stop it to edit., is shown below the list instead. Everything else works as in a wide terminal. See Small terminals for more about narrow terminals.