List of server commands/debug: Difference between revisions

From Vintage Story Wiki
(Undo revision 96304 by Xandoria (talk))
Tag: Undo
(Removed clrplrinv [https://discord.com/channels/302152934249070593/420476226420080670/1146161099796918454 by request])
Line 38: Line 38:
**<code>/debug mainthreadstate</code><br /> Main thread state
**<code>/debug mainthreadstate</code><br /> Main thread state
**<code>/debug killmainthread</code><br /> Kill the main thread
**<code>/debug killmainthread</code><br /> Kill the main thread
**<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|fade|spawn|spawnhere]</code><br /> Various rift commands

Revision as of 13:23, 30 August 2023

Other languages:


  • /debug [subcommand]
    Various debug commands
    • /debug logticks [milliseconds]
      If a server tick required more then supplied milliseconds to process, a breakdown of that tick will be logged to the server-main.txt
    • /debug tickhandlers
      Displays a summary of ticking blocks and entities are currently registered.
    • /debug tickhandlers dump [gtblock|gtentity|dcblock|sdcblock|dcentity]
      Dumps a complete list of all tick/callback listeners to the server-debug.txt
    • /debug helddurability [value]
      Sets the durability of the currently held item
    • /debug helddura [value]
      Alias of /debug helddurability
    • /debug heldtemperature [value]
      Sets the temperature of the currently held item
    • /debug heldtemp [value]
      Alias of /debug heldtemperature
    • /debug heldstattr key [int|bool|string|tree|double|float] [value]
      Sets the stack attribute for the currently held item (e.g. /debug heldstattr key type normal-generic for chest-east).
    • /debug heldcoattr key [int|bool|string|tree|double|float] [value]
      Sets the collectible attribute for the currently held item.
    • /debug setgen [value]
      Set the generation of the currently looked entity
    • /debug printcl [all|missing]
      Print a full list of all/missing collectible codes to the server-debug.txt
    • /debug itemcodes
      Exports a full list of all item codes to the server-main.txt
    • /debug blockcodes
      Exports a full list of all block codes to the server-main.txt
    • /debug blockids
      Lists the blocks that consume most block ids to the server-main.txt
    • /debug blockstats
      Generates amount of block ids used, grouped by first block code part to server-main.txt
    • /debug privileges
      Change privilege debugging mode
    • /debug netbench
      Toggles network benchmarking
    • /debug tickposition
      Tick position
    • /debug stacktrace
      Stack trace
    • /debug chunk
      Various chunk commands.
      • /debug chunk queue [quantity]
        Amount of generating chinks in queue.
      • /debug chunk q [quantity]
        Alias of /debug chunk queue
      • /debug chunk stats
        Statistics of currently loaded chunks.
      • /debug chunk printmap
        Exports a map of loaded chunk as a png image.
      • /debug chunk here
        Information about the chunk at the caller's position.
      • /debug chunk resend
        Resend a chunk to all players.
      • /debug chunk relight
        Relight a chunk for all players.
    • /debug sendchunks [0|1]
      Allows toggling of the normal chunk generation/sending operations to all clients. Force loaded chunks are not affected by this switch.
    • /debug rebuildlandclaimpartitions
      Rebuild land claim partitions
    • /debug octagonpoints
      Print octagon points
    • /debug cloh
      Compact a large object heap
    • /debug mainthreadstate
      Main thread state
    • /debug killmainthread
      Kill the main thread
    • /debug expclang
      Export a list of block and item translations and add placeholders for missing translations.
    • /debug rift [clear|fade|spawn|spawnhere]
      Various rift commands
      • /debug rift clear
        Immediately remove all loaded rifts.
      • /debug rift fade
        Slowly remove all loaded rifts, over a few minutes.
      • /debug rift spawn [quantity]
        Spawn the specified quantity of rifts.
      • /debug rift spawnhere
        Spawn one rift.
    • /debug tiledd [tiled_dungeon_code] [amount_of_tiles]
      Tiled dungeon generator debugger/tester. Usage: amount of tiles is an integer number.
    • /debug astar [command]
      A path finding debug testing tool. Usage: command is one of the following: start, end, bench, clear.


List of server commands