Skip to content

Server Configuration

Tomas Almeida edited this page Mar 29, 2020 · 3 revisions

The server configuration is done throw the file server.json located in the server root directory. Here we will guide you on understanding its properties and possible values.

Index

Essential Settings

maxPlayers

The maximum amount of players allowed to join the server. When the server reaches this amount of players online, players trying to join will get kicked due to the sever being full.

Value type: Integer

Example:
"maxPlayers": 150

onlyPremium

This should be true if the server should only allow premium clients to join the server, or false if both premium and cracked clients are allowed to join.

Value type: Boolean

Example:
"onlyPremium": true

eulaCheck

// TODO

Value type: Boolean

Example:
"eulaCheck": true

World Settings

initialWorld

The name of the initial world, this world will be used as the default world when required.

Value type: String

Example:
"initialWorld": "World"

renderDistance

The maximum render distance allowed for players. If a player has a render distance greater than this, this value will be used instead.

Value type: Integer

Example:
"renderDistance": 16

disableMobs

This should be false if mobs are allowed to spawn naturally on the server, or true if you don't want them to spawn at all.

Value type: Boolean

Example:
"disableMobs": false

Motd

description

The server description displayed in the server list. Each string represents a new line.

Value type: String list

Example:
"description": ["&aHello World", "&bThis is a test server"]

pingText

The text to display when hovering the player count. Also supports multi-line text as seen before in description.

Value type: String list

Example:
"pingText": [
  "This is the",
  "pingText value",
  "Foo bar bazz"
]

maxPlayers

The fake player limit to show on the server list. This is not the real player limit of the server, that can be found here.

Value type: Integer

Example:
"maxPlayers": 1