List of server commands/debug: Difference between revisions

From Vintage Story Wiki
Added missing and updated existing debug commands
(Added /debug expclang command)
(Added missing and updated existing debug commands)
Line 4: Line 4:
<!--T:1-->
<!--T:1-->
<onlyinclude>
<onlyinclude>
*<code>/debug [logticks|tickhandlers|ci|cs|cr]</code><br /> Various debug commands
*<code>/debug [subcommand]</code><br /> Various debug commands
**<code>/debug logticks [milliseconds]</code><br /> If a server tick required more then supplied milliseconds to process, a breakdown of that tick will be logged to the server-main.txt
**<code>/debug logticks [milliseconds]</code><br /> If a server tick required more then supplied milliseconds to process, a breakdown of that tick will be logged to the server-main.txt
**<code>/debug tickhandlers</code><br /> Displays a summary of ticking blocks and entities are currently registered.
**<code>/debug tickhandlers</code><br /> Displays a summary of ticking blocks and entities are currently registered.
**<code>/debug tickhandlers dump [gtblock|gtentity|dcblock|sdcblock|dcentity]</code><br /> Dumps a complete list of all tick/callback listeners to the server-debug.txt
**<code>/debug tickhandlers dump [gtblock|gtentity|dcblock|sdcblock|dcentity]</code><br /> Dumps a complete list of all tick/callback listeners to the server-debug.txt
**<code>/debug ci</code><br /> Display some information on the current chunk the player is in
**<code>/debug cs</code><br /> Forcefully resends the current chunk the player is in
**<code>/debug cr</code><br /> Forcefully completely relights the chunk the player is in and all of them within one chunk of it
**<code>/debug helddurability [value]</code><br /> Sets the durability of the currently held item
**<code>/debug helddurability [value]</code><br /> Sets the durability of the currently held item
**<code>/debug heldtemp [value]</code><br /> Sets the temperature of the currently held item
**<code>/debug helddura [value]</code><br /> Alias of '''/debug helddurability'''
**<code>/debug heldstattr key [int|bool|string|tree|double|float] [value]</code><br /> Sets the attribute for the currently held item (e.g. <code>/debug heldstattr key type normal-generic</code> for chest-east).
**<code>/debug heldtemperature [value]</code><br /> Sets the temperature of the currently held item
**<code>/debug heldtemp [value]</code><br />  Alias of '''/debug heldtemperature'''
**<code>/debug heldstattr key [int|bool|string|tree|double|float] [value]</code><br /> Sets the stack attribute for the currently held item (e.g. <code>/debug heldstattr key type normal-generic</code> for chest-east).
**<code>/debug heldcoattr key [int|bool|string|tree|double|float] [value]</code><br /> Sets the collectible attribute for the currently held item.
**<code>/debug setgen [value]</code><br /> Set the generation of the currently looked entity
**<code>/debug setgen [value]</code><br /> Set the generation of the currently looked entity
**<code>/debug printcl [all|missing]</code><br /> Print a full list of all/missing collectible codes to the server-debug.txt
**<code>/debug printcl [all|missing]</code><br /> Print a full list of all/missing collectible codes to the server-debug.txt
**<code>/debug itemcodes</code><br /> Exports a full list of all item codes to the server-main.txt
**<code>/debug blockcodes</code><br /> Exports a full list of all block codes to the server-main.txt
**<code>/debug blockcodes</code><br /> Exports a full list of all block codes to the server-main.txt
**<code>/debug blockids</code><br /> Lists the blocks that consume most block ids to the server-main.txt
**<code>/debug blockids</code><br /> Lists the blocks that consume most block ids to the server-main.txt
**<code>/debug blockstats</code><br /> Generates amount of block ids used, grouped by first block code part to server-main.txt
**<code>/debug privileges</code><br /> Change privilege debugging mode
**<code>/debug privileges</code><br /> Change privilege debugging mode
**<code>/debug netbench</code><br /> Toggles network benchmarking
**<code>/debug netbench</code><br /> Toggles network benchmarking
Line 24: Line 26:
**<code>/debug chunksummary</code><br /> Chunk summary
**<code>/debug chunksummary</code><br /> Chunk summary
**<code>/debug chunkmap</code><br /> Print a chunk map
**<code>/debug chunkmap</code><br /> Print a chunk map
**<code>/debug chunk </code><br /> Various chunk commands.
***<code>/debug chunk queue [quantity]</code><br /> Amount of generating chinks in queue.
***<code>/debug chunk stats</code><br /> Statistics of currently loaded chunks.
***<code>/debug chunk printmap</code><br /> Exports a map of loaded chunk as a png image.
***<code>/debug chunk here</code><br /> Information about the chunk at the caller's position.
***<code>/debug chunk resend</code><br /> Resend a chunk to all players.
***<code>/debug chunk relight</code><br /> Relight a chunk for all players.
**<code>/debug sendchunks [state]</code><br /> Allows toggling of the normal chunk generation/sending operations to all clients. Force loaded chunks are not affected by this switch. Usage: '''state''' is boolean, including 1 or 0, yes or no, true or false, or on.
**<code>/debug rebuildlandclaimpartitions</code><br /> Rebuild land claim partitions
**<code>/debug rebuildlandclaimpartitions</code><br /> Rebuild land claim partitions
**<code>/debug cgenq</code><br /> Currently chunks in generation queue
**<code>/debug cgenq</code><br /> Currently chunks in generation queue
Line 32: Line 42:
**<code>/debug clrplrinv [player]</code><br /> Clear the player inventory on connect
**<code>/debug clrplrinv [player]</code><br /> Clear the player inventory on connect
** <code>/debug expclang</code><br /> Export a list of block and item translations and add placeholders for missing translations.
** <code>/debug expclang</code><br /> Export a list of block and item translations and add placeholders for missing translations.
** <code>/debug rift [clear|fade|spawn|spawnhere]</code><br /> Various rift commands
*** <code>/debug rift clear</code><br /> Immediately remove all loaded rifts.
*** <code>/debug rift fade</code><br /> Slowly remove all loaded rifts, over a few minutes.
*** <code>/debug rift spawn [quantity]</code><br /> Spawn the specified quantity of rifts.
*** <code>/debug rift spawnhere</code><br /> Spawn one rift.
** <code>/debug tiledd [tiled_dungeon_code] [amount_of_tiles]</code><br /> Tiled dungeon generator debugger/tester. Usage: '''amount of tiles''' is an integer number.
** <code>/debug astar [command]</code><br /> A path finding debug testing tool. Usage: '''command''' is one of the following: start, end, bench, clear.
</onlyinclude>
</onlyinclude>


Confirmedusers, editor
982

edits