4 - Console commands

Updated 2 weeks ago

Console commands

Open the console with F5. Commands marked * need devcommands first, or admin rights on a server.

The water where you are

Command What it does
straumr here the water at your feet: each part of the current (river, tide, sea, rocks...), what's bending it, its way to the sea, and the river's level and state
straumr waterlevel the sea's usual level, the tide, the river's rise, and the water's actual surface
straumr weather the rain the rivers follow, how swollen they are, and whether your weather is the server's
straumr flood the levels' hourly step, the flood here and ahead, and what holds the water here
straumr drift 5 where something dropped here ends up over 5 minutes (up to 10)
straumr work the water power within 10 m and the best drop within 30 m, as a mod would read it
straumr tide* how the tide is running and when it turns
straumr races* the strongest tidal races and whirlpools within 4 km

Built water

Command What it does
straumr dam the dams near you, their ponds, what the river below carries, and their gates
straumr dam show / straumr dam off mark where each dam within 1 km spills or goes round / clear the marks
straumr pools the kept pools near you
straumr cofferdam the cofferdams near you and their state
straumr gate 0.5* sets the door you look at as a sluice gate that far open (0 to 1; off = as the door stands)
straumr drive the barriers across the rivers near you that catch logs

Maps

Command What it does
straumr atlas the seed atlas in your browser: type any seed and see its rivers, currents, tides and whirlpools (works from the main menu too)
straumr map* writes this world's flow map to a file the atlas page can open

The atlas shows the whole map, so don't type a seed you want to keep a surprise (or list it in [Atlas] HiddenSeeds).

Checking and reporting

Command What it does
straumr report writes a file describing the water where you stand: attach it to a bug report
straumr selftest checks Straumr is working right where you stand
straumr perf how hard Straumr is working
straumr overlay turns the moving surface off and on, to compare
straumr scenedump* dumps the water and ground round you: the best thing to send when something looks wrong

Testing tools*

straumr tide flood|ebb|high|low|spring|neap|auto holds the tide in your game. straumr rain light|rain|thunder|off makes a test rain (for everyone, on a server). straumr kit builds test scenes. straumr seam, waterstep, ownwater and mask are for comparing looks.