Aller au contenu principal
⚔️ Valheim 1.0 est disponible. 25 % de réduction :DOOM25

OUTIL COMMANDES VALHEIM

Commandes console Valheim

Toutes les commandes console, admin et cheat de Valheim dans une seule liste consultable, avec un générateur de spawn qui écrit la commande exacte avec le bon prefab ID. Copiez-collez dans la console F5.

Comment ouvrir la console de Valheim

  1. Ajoutez -console aux options de lancement : clic droit sur Valheim dans votre bibliothèque Steam, Propriétés, puis le champ Options de lancement.
  2. Lancez le jeu et appuyez sur F5 pour ouvrir la console. Les commandes de chat et les commandes admin fonctionnent tout de suite.
  3. Pour les commandes de triche, tapez devcommands et appuyez sur Entrée. Relancez la commande pour les désactiver.

Sur un serveur dédié, les commandes de triche sont désactivées. Ajouter votre SteamID64 ou votre identifiant crossplay dans adminlist.txt vous donne les commandes admin (kick, ban, save, world modifiers), pas devcommands, qui reste réservé au solo et aux mondes hébergés depuis votre client.

Générateur de commande spawn

Quantité
Niveau

Le niveau 1 est sans étoile, 2 une étoile, 3 deux étoiles. Les objets ne s'en servent pas.

spawn Greydwarf

Générateur de raid

Eikthyr rallies the creatures of the forest.

Boars and Necks

event army_eikthyr

Générateur de global key

Building costs no resources.

setkey NoBuildCost

Référence des commandes

help [page] [pages]

Lists the available commands. The optional arguments show one slice at a time, so "help 2 4" shows the second quarter.

info

Prints the current system information.

ping

Pings the server and prints your latency.

lodbias [number]

Sets the draw distance, from 1 to 7.

nomap

Toggles map visibility. On a server this also toggles the nomap global key.

noportals

Toggles portals. On a server this also toggles the noportals global key.

optterrain

Converts terrain modifications made before update 0.150.3 in the nearby area to the new system.

resetsharedmap

Removes the shared map data from the cartography table.

printseeds

Prints the seeds and positions of nearby dungeons.

bind [keycode] [command]

Binds a command to a Unity keycode, for example "bind mouse4 cheer".

unbind [keycode]

Clears every custom bind from a keycode.

printbinds

Prints your current custom binds.

resetbinds

Removes all custom binds.

fov [number]

Changes the field of view.

maxfps [fps]

Sets the frame rate limit.

clear

Clears the console window.

cr

Forces an unload of unused assets, which otherwise happens every 20 minutes.

die

Kills your character.

respawn

Kills the character so you respawn.

resetspawn

Resets your spawn location.

resetknownitems

Resets your known items and recipes.

resetplayerprefs

Resets saved settings and variables. The save game is not touched.

s [message]

Shouts a chat message.

say [message]

Says a chat message.

w [player] [message]

Whispers a chat message to a player.

filtercraft [name]

Filters the crafting list to entries containing the text.

sortcraft [type]

Sorts the crafting list by Name, Type, Weight, Count or Original.

tutorialtoggle

Toggles whether tutorial messages are shown.

tutorialreset

Resets the tutorial messages you have already seen.

restartparty

Restarts the PlayFab party network, which is what crossplay sessions run on.

kick [name/ip/userID]

Kicks the named player from the server.

ban [name/ip/userID]

Bans the named player. The ban is written to bannedlist.txt.

unban [name/ip/userID]

Removes a ban.

banned

Prints the full list of banned players.

save

Forces the world to save right now.

setworldmodifier [name] [value]

Sets a world modifier, for example "setworldmodifier portals casual". Modifier names are combat, deathpenalty, resources, raids and portals.

setworldpreset [name]

Applies a world preset: normal, casual, easy, hard, hardcore, immersive or hammer.

resetworldkeys

Resets every world modifier back to default. Boss progression keys are not touched.

devcommands

Turns cheat commands on, and off again if you run it a second time. Singleplayer and locally hosted worlds only.

debugmodedevcommands

Toggles debug mode, which adds the free-build and fly hotkeys: B free build, Z fly, K kill nearby enemies, L remove nearby drops.

goddevcommands

Toggles god mode. Your health is held at 1 instead of dropping to 0.

ghostdevcommands

Toggles ghost mode, so enemies ignore you.

flydevcommands

Toggles fly mode. Space gains altitude, Ctrl loses it.

freeflydevcommands

Toggles the free camera, which is the one to use for screenshots.

ffsmooth [0-1]devcommands

Adds smooth movement to the free camera. Run "ffsmooth 0" to go back to normal.

nocostdevcommands

Toggles no cost mode, so building and crafting need no resources.

healdevcommands

Refills health, stamina and eitr.

pukedevcommands

Clears your food, returning health and stamina to the base values.

addstatus [name]devcommands

Adds a status effect, for example Rested, Burning, Wet or SoftDeath.

clearstatusdevcommands

Removes every status effect, good and bad.

killalldevcommands

Kills nearby enemies and tamed creatures. Players are not affected.

killenemiesdevcommands

Kills nearby enemies but leaves tamed creatures alone.

killtamedevcommands

Kills nearby tamed creatures.

tamedevcommands

Instantly tames every tameable creature nearby.

aggravatedevcommands

Aggravates neutral creatures within 20 meters.

removedropsdevcommands

Removes all item drops in the area.

removebirdsdevcommands

Removes all active birds.

removefishdevcommands

Removes all active fish.

forcedelete [radius] [name]devcommands

Removes objects within the radius, up to 50 meters. Players, tombstones, dungeons, Vegvisirs and the starting boss stones are never removed.

posdevcommands

Prints your current coordinates.

goto [x] [z]devcommands

Teleports you to the given world coordinates.

find [text] [pingmax]devcommands

Finds matching objects and pings them on the map.

findtp [text]devcommands

Finds matching objects and teleports you to the nearest one.

recall [name]devcommands

Teleports every player matching the name to you. Without a name it pulls in everyone.

raiseskill [skill] [amount]devcommands

Raises a skill by the amount. Use All for every skill, and put a minus in front of the value to lower it.

resetskill [skill]devcommands

Sets a skill back to level 0. Use All to reset every skill.

resetcharacterdevcommands

Resets all of your character data.

setpower [name]devcommands

Sets your Forsaken power and clears its cooldown, for example GP_Eikthyr or GP_TheElder.

setfuel [value]devcommands

Adds fuel to every nearby fire source. The default is 10 and a negative value drains them.

beard [beard]devcommands

Changes your beard permanently. With no argument it removes the beard.

hair [hair]devcommands

Changes your hair permanently. With no argument it removes the hair.

model [0-1]devcommands

Switches the character model between masculine and feminine.

players [number]devcommands

Scales difficulty as if that many players were present. Use 0 to reset it.

dpsdebugdevcommands

Toggles the damage per second debug print.

printcreaturesdevcommands

Prints the count and level of the active creatures.

printlocationsdevcommands

Prints the loaded locations with their distance and offset to you.

spawn [name] [amount] [level]devcommands

Spawns a prefab. Level applies to creatures only: 1 is no stars, 2 is one star, 3 is two stars.

itemset [name] [keep]devcommands

Spawns a premade gear set such as Meadows, Swamps, Mountains, Plains, Mistlands, MistlandsMage, Ashlands or Fisherman. Without the keep flag your current items are dropped.

location [name]devcommands

Spawns a location instance. This permanently disables saving for the session unless you add SAVE after the name.

genlocdevcommands

Redistributes every location that has not been placed yet.

nextseeddevcommands

Regenerates the next dungeon with a new seed. This permanently disables saving.

exploremapdevcommands

Reveals the entire map.

resetmapdevcommands

Hides the entire map again.

listkeysdevcommands

Lists every global key currently set on the world.

setkey [name]devcommands

Adds a global key, which is how boss progress and world modifiers are stored.

removekey [name]devcommands

Removes a single global key.

resetkeysdevcommands

Removes all global keys. The name argument the console suggests does nothing.

event [name]devcommands

Starts the named raid event at your position.

stopeventdevcommands

Stops the raid event that is running.

randomeventdevcommands

Starts a random raid event.

tod [0-1]devcommands

Sets the time of day. 0 and 1 are midnight, 0.5 is noon, and -1 hands control back to the game.

skiptime [seconds]devcommands

Skips time forward, 240 seconds by default. Spawns, crops, smelters and kilns pause until the world time catches up.

sleepdevcommands

Skips forward one day.

timedevcommands

Prints the current time and whether sleeping is possible.

timescale [target] [fadetime]devcommands

Sets the speed of time, up to 5x. A value of 0 pauses the game and free camera still works.

env [name]devcommands

Forces a weather environment, for example Clear, Misty, Rain, ThunderStorm, SnowStorm, Ashrain, Bonemass or Moder.

resetenvdevcommands

Hands the weather back to the game.

wind [angle] [intensity]devcommands

Sets wind direction and strength. Angle is 0 to 360 and intensity is 0 to 1.

resetwinddevcommands

Resets wind angle and intensity.

Questions fréquentes Retrouvez les réponses aux questions courantes sur notre hébergement de serveurs .

D'autres questions ?