Configuration du serveur
Tout ce que vous devez savoir pour configurer votre serveur !
Fichier de configuration du serveur
Le fichier de configuration du serveur Config.toml
est généré automatiquement lorsque le serveur est lancé pour la première fois. Ce fichier sera toujours remplacé par le bon modèle après le chargement du serveur.
nanos world Config files use TOML (Tom’s Obvious, Minimal Language), please refer to https://github.com/toml-lang/toml for more information and syntax.
https://github.com/nanos-world/nanos-world-server/blob/main/Config.toml
Paramètres détaillés
Paramètre | Description |
---|---|
name | Nom du serveur |
description | Description du serveur |
max_players | Max amount of players allowed to join |
password | Password to be able to connect |
ip | Server IP. We recommend leaving it blank |
port | Server main Port and HTTP Port (UDP/TCP) |
query_port | Server query Port (UDP) |
announce | Whether to announce or not in the Server List |
tick_rate | Server Tick in ms. We recommend leaving it 33 |
log_level | Which Log level to output |
game_mode | game-mode package to load - you can only load one game-mode at once. |
loading_screen | loading-screen package to load - you can only load one loading-screen at once. |
packages | script packages to load |
map | map package to load |
assets | Additional assets to force to load |
token | Server Token used for authorize downloads through CLI |
banned_ids | List of banned nanos account IDs |
Logo Image
It is possible to have a custom image to be displayed in the server list. For that, add a file called Server.jpg
besides the server executable with the logo you wish. The recommended size is 300x150
.
You can pass a JPG image URL to --logo
parameter to download and use a image from the web instead of placing it physically in the folder.