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 sections of the game, one for each of its files.
- A property and its value. Press
Enterto change it. - What the game says about the selected property: the English comment that the game wrote below it in
server.properties, including its allowed values. - 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.
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.
-
Move to the property, here
allow-cheats.- The value: an empty box is
false, and a checked box istrue. - What the file says about the property.
- The value: an empty box is
-
Press
SpaceorEnterto toggle the box.
Nothing is written to the file yet. The page marks your changes in four ways:
- A star
*appears before the property. - A star appears after the section name in the list.
- The description shows Original: followed by the value still saved in the file.
- 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.
- Move to the property and press
Enter. - Select a value with
↑and↓, then pressEnter. PressEscto close the list without making a change.
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 range allowed by the file.
- Why the value was rejected. Correct it and press
Enteragain.
Text values are a single line, saved just as you type them.
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.
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.
-
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. -
Press
Enteron Add player…. Type the name, pressTab, and type the XUID if you know it.- Name: the player's gamertag. A name already on the list is rejected.
- XUID (optional): the player's Xbox account number, digits only. Leave it empty if you do not know it.
-
Press
Enter. The player is added to the end of the list and selected. -
Press
Enteron a player to open their actions.- 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.
- Remove takes the player off the list.
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.
-
In the list, move to Permissions and press
Enter.- A player. This file identifies players by XUID only, not by name.
- That player's permission.
- What the list is for. Every other player gets
default-player-permission-level.
-
Press
Enteron Add player… and type the player's XUID.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.
-
Press
Enterand choose the permission. The list starts onmember, 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.Permission The player operatorCan use every command. memberCan play and build. visitorCan only look around. -
Press
Enteron a player to open their actions: Change permission… opens the same list, and Remove takes the player off the list.
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 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.
- lip never writes to a file it cannot read. Saving the other sections leaves it untouched.
- Where the file is broken. This message is always in English, regardless of the interface language.
- The raw file. If it is longer than the view area, press
Enterto 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.yamlfiles directly inmods/<mod>/(excludingmanifest.json), along withmods/<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.
- A file: the mod's folder name, followed by the file's path inside that folder. A mod with several files gets several rows.
- A mod without a configuration file, dimmed.
- 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:
- 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 mods and their files.
- The file's values, shown one level at a time.
Enteropens a group or changes a value. - 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
- Select a group or a list and press
Enterto open it. - Press
Escor←to go back up one level. At the top level, they return to the section list.
- 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
…. - A true or false value.
- 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 type of value the row holds.
- Why the input was rejected. Fix it and press
Enteragain.
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.
- A value in the list.
- 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 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.
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.
- Why pressing
Enterdoes 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.
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.
- Why the file is not shown as a tree. The JSON parser's message is in English regardless of the selected language.
- 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.
-
Press
Tabuntil the buttons have focus. From the last row of a list,↓also moves focus there.- The note: the server reads the files when it starts.
-
Press
Enteron Save. lip writes every file that has changes and shows Saved. at the bottom right. The stars disappear.
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.jsonandpermissions.jsonare 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.jsonandpermissions.jsonare created if they do not exist.server.propertiesis 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.
Save a mod file
You edit one mod file at a time. When it has unsaved changes, the page marks it in three places:
- Unsaved appears at the right end of the first line.
- A dot
●appears after the file in the list. - Save and Discard become active. Save writes the file; Discard reads it again.
To save your changes:
-
Press
Tabuntil the buttons have focus. From the last row, pressing↓also moves focus to the buttons. -
Press
Enteron Save. lip writes the file and displays Saved. at the bottom right.
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 files that have changes.
For a mod file, the dialog names the mod and the file:
| 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 file that changed. Neither this file nor any other has been written yet.
- Overwrite replaces the version on disk with yours. Cancel, which
Enterselects 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:
- Overwrite replaces the file on disk with your version. Any changes the mod wrote are lost.
- Reload reloads the file as it currently is on disk. Your changes are lost.
- 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.
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.
If the server starts while you have unsaved changes, the page keeps them:
- The note changes to Server runs: stop it to save. Once the server stops, you can save as usual.
- Meanwhile, Discard is the only active button.
You cannot save when leaving either. lip offers to discard the changes or stay where you are:
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.
- This note remains visible as long as the server is running.
- 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.
-
The section list fills the page. Select a section and press
Enter. -
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.
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.