7 Days to Die Wiki
Advertisement
Cet article doit être traduit. Vous pouvez aider 7 Days to Die Wiki, en le traduisant.


Un Serveurs est utilisé pour jouer à plusieurs dans le même monde. Serveurs peut être un déployé sur un serveur personnel comme sur un serveur privée. Le nombre maximum joueurs est de 4 mais cela a évolué depuis la version Alpha 1.1 [1]

Comment configurer son serveur

Serverconfig.xml

C'est un fichier XML qui permet de configurer les différents paramètres du serveur Version Alpha 15.B105 7 Days to Die.

Il faut uniquement changer la donnée dans la case "value=" sinon cela risque d'empêcher le démarrage du serveur.

Option Values Description
ServerPort 26900 Port d'écoute du serveur
ServerIsPublic true Rendre publique son serveur (Affichage dans la liste des serveurs sur le jeu)
ServerName My Game Host Nom du serveur
ServerPassword Mot de passe du serveur (laisser vide si pas de mot de passe)
ServerMaxPlayerCount 8 Nombre maximum de joueur
ServerDescription A 7 Days to Die server Description du serveur
ServerWebsiteURL Url du site web du serveur
GameWorld Navezgane Navezgane (Type de création de map)
GameName My Game Si vous souhaitez une map faite aléatoirement (bogue possible)
GameDifficulty 2 0 - 5 (0 : facile - 5 difficile)
GameMode GameModeSurvivalMP Type de jeux (GameModeSurvivalMP / GameModeSurvivalSP). Le mode MP à la protection du territoire
ZombiesRun 0 Valeurs possibles 0(défaut),1,2. 0 = Court la nuit / Marche le jour, 1 = zombie ne court jamais, 2 = zombie court tout le temps
BuildCreate false mode triche on/off
DayNightLength 40 Longueur en temps réel de la nuit : 40 minutes
DayLightLength 18 Nombres d'heures de jeu où le soleil brille (par défaut : 18 heures)
FriendlyFire false Autoriser ou non le tir ami (False/True)
PersistentPlayerProfiles true If disabled a player can join with any selected profile. If true they will join with the last profile they joined with
PlayerSafeZoneLevel 5 If a player is less or equal this level he will create a safe zone (no enemies) when spawned
PlayerSafeZoneHours 5 Hours in world time this safe zone exists
ControlPanelEnabled false Active / désactive le panneau de controle
ControlPanelPort 8080 Port du panneau de controle
ControlPanelPassword CHANGEME Mot de passe du panneau de controle
TelnetEnabled true Active/désactive le telnet
TelnetPort 8081 Port du telenet
TelnetPassword CHANGEME Mot de passe du telenet
AdminFileName serveradmin.xml Nom du fichier XML donnant le nom des administrateurs et de leurs droits
DropOnDeath 0 Ce que le joueur perd lorsqu’il meurt : 0 = Tout, 1 = Uniquement la ceinture, 2 = Uniquement le Sac, 3 = Suppression total (irrécupérable)
DropOnQuit 1 Ce que le joueur perd en quittant le jeu : 0 = Rien, 1 = Tout, 2 = Uniquement la ceinture, 3 = Uniquement le sac
EnemySenseMemory 60 Temps en seconde pendant lequel le zombie pourchasse une joueur "ressenti"
EnemySpawnMode 3 0 = Disabled 0%, 1 = Very Low 50%, 2 = Low 75%, 3 = Medium 100%, 4 = High 125%, 5 = Very High 150%
EnemyDifficulty 0 0 = Normal, 1 = Feral
BlockDurabilityModifier 100 Percentage in whole numbers
LootAbundance 100 Percentage in whole numbers
LootRespawnDays 7 Nombre de jours avant le rechargement d'objet (respawn)
LandClaimSize 7 Size in blocks that is protected by a keystone
LandClaimDeadZone 30 Keystones must be this many blocks apart (unless you are friends with the other player)
LandClaimExpiryTime 3 The number of days a player can be offline before their claims expire and are no longer protected
LandClaimDecayMode 0 Controls how offline players land claims decay. All claims have full protection for the first 24hrs. 0=Linear
LandClaimOnlineDurabilityModifier 4 How much protected claim area block hardness is increased when a player is online. 0 means infinite (no damage will ever be taken). Default is 32x
LandClaimOfflineDurabilityModifier 4 How much protected claim area block hardness is increased when a player is offline. 0 means infinite (no damage will ever be taken). Default is 32x
AirDropFrequency 72 Fréquence du largage d'avion en heures dans le jeu
MaxSpawnedZombies 60 Nombre maximum de zombies pouvant être créé. Augmenter cette valeur au dessus de 80 peut ralentir le serveur
MaxSpawnedAnimals 50 Nombre maximal d'animaux pouvant être créé
EACEnabled true Active / Désactive EasyAntiCheat
SaveGameFolder absolute path Chemin du dossier de sauvegarde (Laisser vide pour utilisation du chemin de base)

To host a server just edit the startdedicated.bat file and the serverconfig.xml using notepad or notepad++. You shouldn't need to edit the startdedicated.bat. In the batch file you will see the following text:

startdedicated.bat

@echo off

rem
rem Starts a dedicated server
rem
rem -quit, -batchmode, -nographics: Unity commands
rem -configfile			  : Allows server settings to be set up in an xml config file. Use no path if in same dir or full path.
rem -dedicated                    : Has to be the last option to start the dedicated server.

echo|set /p="251570" > steam_appid.txt

start 7daystodie -quit -batchmode -nographics -configfile=serverconfig.xml -dedicated

echo Wait until game started
timeout 15

echo.
echo Connect to the service interface. use 'shutdown' to stop the server
echo.
if exist "Tools/bin/putty.exe" (
     "Tools/bin/putty.exe" -raw localhost 8081
) else (
     telnet localhost 8081
)

echo.
echo Server is running in background, you can close this window
echo.

pause

Transfert de port

Si vous êtes derrière un routeur, il faudra paramétré un transfert de port sur certains ports pour que le serveur soit accessible de l’extérieur.

Les ports à ouvrir sont de 25000 à 25003(UDP).

Si votre routeur supporte UPNP vous pouvez utiliser cet outil : http://upnp-portmapper.sourceforge.net/

Si vous ne savez pas paramétrer un transfert de port, suivez les instructions suivantes:

  1. Allez sur ce Site
  2. Sélectionnez votre routeur
  3. Select Minecraft (since 7 Days to Die is a new game it hasn't been added to the list of games/programs. Minecraft is pretty much the same except that you port forward 25000 to 25003 instead of 25565)
  4. Suivez les instructions sur le site

Si vous avez complété les étapes correctement, vos amis pourront vous rejoindre sur votre serveur.

Trouver son IP

Pour trouver son IP WAN (IP internet), vous pouvez utiliser ce Site. Envoyez cet IP à vos amis et ils seront capable de vous rejoindre si vous avez bien réalisé l'étape concernant le transfert de port (Etape précédente).

Looking for servers

If you are looking for a server to play on, you can find one on the current top servers list for 7 Days To Die here 7daystodie-servers.com or use the server browser on your game client.

For computers on the same local network as the server you can connect to it by using its internal IP 127.0.0.1, simply enter this and the chosen port number into the two boxes at the bottom of the games server browser screen.
If 127.0.0.1 does not work try the IP address the server had assigned. Go to start, click run or search, type cmd. In the window that opens type ipconfig. You'll see a list of information. You're looking for IP address.

Example: Ethernet adapter Local Area Connection:

  Connection-specific DNS Suffix  . : home
     IPv4 Address. . . . . . . . . . . : 192.168.1.100
  Subnet Mask . . . . . . . . . . . : 255.255.255.0
  Default Gateway . . . . . . . . . : 192.168.1.1


Where mine says 192.168.1.100 that's the IP your server has.

Renting a server

There are several companies/websites that allow you to rent a server from them. This rented server will reside in a datacenter and hosted by them.

These servers are mostly 24/7 servers. This is useful because you won't need to keep your computer running 24/7. You can rent servers to many different specifications, some may not be powerful enough to host a server. Generally, network connections at a datacenter far exceed what is available to residential ISPs, which will cut down on latency that you might experience hosting at home.

Managing a server

You can use the 7daystodie Server Manager by FrontRunnerTek (preferred, more updated). Uses either telnet or webconsole connection. Can be used locally or remotely. More info

You can use 7 Days server Manager to setup server. 7 Days Server Manager

See also

  • Linux Server
  • OSX Server
  • Server: serverconfig.xml

References

Advertisement