-
Notifications
You must be signed in to change notification settings - Fork 199
Configuration
Sirawit Thaya edited this page Jun 22, 2021
·
22 revisions
Note: This information is incomplete and inaccurate. It should be completed by people who actually understand all of these configurations.
The server.conf file is used by MiNET to configure how the server will behave. The basic element contained in the configuration file is the key. Every key has a name and a value, delimited by an equals sign (=). The name appears to the left of the equals sign. Using a number sign (#) at the beginning of a line indicate a comment. Comment lines are ignored. Blank lines are also ignored.
Configuration | Value | Default | Description |
---|---|---|---|
ip | An IP address | 0.0.0.0 | The server IP address. |
port | A numeric value | 19132 | The server port. |
ForwardAllPlayers |
A Boolean value
|
true | Forward all players. **DEPRECATED** |
ForwardIP | An IP address | Forward IP address. **DEPRECATED** | |
ForwardPort | A numeric value | Forward port. **DEPRECATED** | |
MaxNumberOfPlayers | A numeric value | 1000 | The maximum number of players allowed on the server. |
MaxNumberOfConcurrentConnects | A numeric value | 1 | The maximum number of concurrent connects. |
InactivityTimeout | A numeric value | 8500 | Inactivity timeout in seconds. |
UseEncryption |
A Boolean value
|
false | Enable / Disable encryption |
UseEncryptionForAll |
A Boolean value
|
false | If true, forces encryption for all players. If false, only enables encryption for XBOX Live users |
ForceOrderingForAll |
A Boolean value
|
false | Force ordering for all. |
MinWorkerThreads | A numeric value | -1 | The Min number of Worker Threads. |
MinCompletionPortThreads | A numeric value | -1 | The Min number of Completion Port Threads. |
EnableStatistics |
A Boolean value
|
true | Enable statistics. |
motd | A text value | MiNET: MCPE Server | Message of the day (MOTD). |
motd-2nd | A text value | MiNET | Second message of the day (MOTD). Displayed below the message of the day (MOTD). |
WorldProvider |
List
|
anvil | The world provider to be used |
ViewDistance | A numeric value | 11 | View distance calculated in blocks. |
MaxViewDistance | A numeric value | 22 | Maximum view distance calculated in blocks. |
MoveRenderDistance | A numeric value | 1 | Move render distance calculated in blocks. |
GameMode |
List
|
Survival | The default gamemode for players |
Difficulty |
List
|
Peaceful | The game difficulty. |
PCWorldFolder | A text value | World | The location of an Anvil (World Provider) world. The path can be relative or absolute. |
PCWaterOffset | A numeric value | 0 | PC water offset calculated in blocks. |
EnableSecurity |
A Boolean value
|
true | Enable vanilla MiNET security. **TO BE DEPRECATED** |
EnableCommands |
A Boolean value
|
false | Wether commands should be enabled or not. |
PluginDirectory | A text value | The directory from which plugins are loaded, can have multiple folders by using semicolons to split them. | |
PluginDisabled |
A Boolean value
|
false | If set to true, plugins are disabled |
PluginName.Enabled |
A Boolean value
|
true | Enables / disables a plugin. |
CalculateLights |
A Boolean value
|
false | If true, MiNET does light calculations for anvil worlds. |
CheckForSafeSpawn |
A Boolean value
|
false | If true, MiNET makes sure that players don't spawn inside of blocks. |
EnableBlockTicking |
A Boolean value
|
false | Enables / disables block ticking (leafe decay etc) |