Guide : comment créer un serveur dédié Hurtworld

De Survival Servers
Aller à la navigation Aller à la recherche

Hébergez un serveur chez nous !

Si vous préférez une installation instantanée de serveur Hurtworld sans utiliser les ressources de votre ordinateur, vous pouvez commander un serveur ici :

SurvivalServers-Hurtworld_840x140.png

Prérequis du serveur

Windows 7, 8, 8.1, Server 2008, Server 2012 & 64 bits

Processeur quatre cœurs : 2 GHz

Mémoire : 4 Go de RAM

Carte graphique : GeForce 460/Radeon HD 5850/Intel HD 4600 avec au moins 1024 Mo de mémoire vidéo

2 Go d’espace disponible

Étape 1 Récupération des fichiers du serveur de jeu avec SteamCMD

  1. Téléchargez SteamCMD ici : Téléchargement de steamCMD
  2. Créez un dossier à l’emplacement où vous souhaitez installer votre serveur de jeu Hurtworld.
  3. Placez le fichier SteamCMD.exe dans ce dossier
  4. Créez un fichier batch nommé SteamCMD.bat dans le même dossier
Placez ce qui suit dans le fichier bat
@echo off
steamcmd.exe +force_install_dir C:\servers\hurtworld +login anonymous +app_update 405100 validate +quit
  1. Veillez à modifier le chemin vers lequel vous voulez télécharger vos fichiers serveur.
  2. Enregistrez, puis exécutez le fichier bat. Faites un clic droit et exécutez-le en tant qu’administrateur

Une fois tout cela fait, les fichiers du serveur se téléchargent.

Étape 2 : Configuration de votre serveur dédié Hurtworld

  1. Rendez-vous dans le dossier où vous avez téléchargé les fichiers
  2. Faites un clic droit sur le fichier host.bat et modifiez-le pour qu’il ressemble à ceci
Hurtworld.exe -batchmode -nographics -exec "host 12871;queryport 12881;servername <color=#FF0000>SurvivalServers.com</color> HurtWorld;addadmin UID here " -logfile "gamelog.txt"

Enregistrez, puis exécutez le fichier bat en tant qu’administrateur

Étape 3 : redirection de ports

Redirigez les ports suivants

12871 TCP/UDP
12881

Vous ferez cela via votre routeur ou le pare-feu Windows, selon la configuration de votre réseau. Le lien suivant vous aidera pour la redirection de ports sur votre routeur. portforward.com

Étape 4 : comment rejoindre votre nouveau serveur

Bientôt disponible....

Liste des commandes

Les commandes suivantes vous donneront un meilleur contrôle sur votre serveur :

host	<port>	Hosts a game on the default map, and specified port. Loads the autosave if there is one.	host 12871
host	<port> <map>	Hosts a game on the specified map, and specified port. Loads the autosave if there is one.	host 12871 Desert
host	<port> <map> <save>	Hosts a game on the specified map, and specified port. Loads the specified savegame (relative to the .exe and without an extension)	host 12871 Desert mysave
maxplayers	<num>	Specify the maximum number of players	maxplayers 20
servername	<name>	Set the name of the server, as visible in the server browser.	servername My Server
changelevel	<levelName>	Change, or reload the level.	changelevel Desert
creativemode	<val>	Turn creative mode on and off (free build). Value as 0 for off, 1 for on.	creativemode 1
kick	<guid> <reason>	Kick a player, with a reason. Enter the start of a guid for a player (you can see these with `serverstatus`) to identify them.	kick f422 Being a jerk 
saveserver	<saveName>	Save the server state to file, in the .exe directory. Can be loaded (see loadserver)	saveserver mySave
loadserver	<saveName>	Additively load the server state from file, relative to the .exe directory.	loadserver mySave
addadmin	<playerid>	Adds a player as admin to the local server for the current session only	addadmin UID Here
queryport	<port>	Specifies the port to use for communication with the master server, this port must be publicly accessible for the server to show up in the game browser. Default is 12881.	queryport 12882
quit		Quits the game immediately.	quit
quit	<time>	Quits the game after <time> seconds. Will show a nice message to all clients every 30 seconds, for 5 minutes before the server shuts down.	quit 86400

Saisir les commandes listées ci-dessus dans le fichier autoexec.cfg permet de les exécuter à chaque démarrage du serveur. Votre fichier autoexec s’appelle autoexec_default.cfg : il suffit de retirer le _default et le tour est joué.

Commandes admin côté client

itemlist	<name filter>	Shows a list of all items in game (some of them still in development) with item codes	itemlist bow
g	<code> <count>	Gives you an item based on item code. This can cause a great deal of lag. ( g 52 100 )
g	<name> <count>	Gives you <count> of every item thats name contains the string <name>	g ore 255
rcon	<command>	Executes a command on the server as if it was typed directly into its console	
spawn	<prefabname>	This will spawn any networked object 2 meters in front of you. Such as spawn sandstorm
refreshai		Destroys all creatures and resource nodes in the world	
teleport	<who> <toplayer>	Specified by full name, will take player A directly to player B	teleport spencer dazzler

D’autres à venir

Bientôt disponible...