List of server commands/debug/en: Difference between revisions

From Vintage Story Wiki
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
<onlyinclude>
<onlyinclude>
*<code>/debug [subcommand]</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 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 server-debug.txt
**<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 helddura [value]</code><br /> Alias of '''/debug helddurability'''
**<code>/debug helddura [value]</code><br /> Alias of ''/debug helddurability''
**<code>/debug heldtemperature [value]</code><br /> Sets the temperature of the currently held item
**<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 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 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 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 /> Sets the generation of the currently looked-at 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 /> Prints 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 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 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 /> Changes privilege debugging mode
**<code>/debug netbench</code><br /> Toggles network benchmarking
**<code>/debug netbench</code><br /> Toggles network benchmarking
**<code>/debug tickposition</code><br /> Tick position
**<code>/debug tickposition</code><br /> Tick position
**<code>/debug stacktrace</code><br /> Stack trace
**<code>/debug stacktrace</code><br /> Stack trace
**<code>/debug chunk </code><br /> Various chunk commands.
**<code>/debug chunk </code><br /> Various chunk commands.
***<code>/debug chunk queue [quantity]</code><br /> Amount of generating chinks in queue.
***<code>/debug chunk queue [quantity]</code><br /> Amount of generating chunks in queue.
***<code>/debug chunk q [quantity]</code><br /> Alias of '''/debug chunk queue'''
***<code>/debug chunk q [quantity]</code><br /> Alias of ''/debug chunk queue''
***<code>/debug chunk stats</code><br /> Statistics of currently loaded chunks.
***<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 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 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 resend</code><br /> Resends a chunk to all players.
***<code>/debug chunk relight</code><br /> Relight a chunk for all players.
***<code>/debug chunk relight</code><br /> Relights a chunk for all players.
**<code>/debug sendchunks [0|1]</code><br /> Allows toggling of the normal chunk generation/sending operations to all clients. Force loaded chunks are not affected by this switch.
**<code>/debug sendchunks [0|1]</code><br /> Allows toggling of the normal chunk generation/sending operations to all clients. Force loaded chunks are not affected by this switch.
**<code>/debug rebuildlandclaimpartitions</code><br /> Rebuild land claim partitions
**<code>/debug rebuildlandclaimpartitions</code><br /> Rebuilds land claim partitions
**<code>/debug octagonpoints</code><br /> Print octagon points
**<code>/debug octagonpoints</code><br /> Prints octagon points
**<code>/debug cloh</code><br /> Compact a large object heap
**<code>/debug cloh</code><br /> Compacts a large object heap
**<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 /> Kills the main thread
**<code>/debug clrplrinv [player]</code><br /> Clear the player inventory on connect
** <code>/debug expclang</code><br /> Exports a list of block and item translations to collectiblelang.json and adds 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
*** <code>/debug rift clear</code><br /> Immediately remove all loaded rifts.
*** <code>/debug rift clear</code><br /> Immediately removes all loaded rifts.
*** <code>/debug rift fade</code><br /> Slowly remove all loaded rifts, over a few minutes.
*** <code>/debug rift fade</code><br /> Slowly removes all loaded rifts, over a few minutes.
*** <code>/debug rift spawn [quantity]</code><br /> Spawn the specified quantity of rifts.
*** <code>/debug rift spawn [quantity]</code><br /> Spawns the specified quantity of rifts.
*** <code>/debug rift spawnhere</code><br /> Spawn one rift.
*** <code>/debug rift spawnhere</code><br /> Spawns one rift.
** <code>/debug rooms</code><br /> Room registration debug tools. Equivalent of the previous <code>/roomregdebug</code> command.
*** <code>/debug rooms list</code><br /> Lists all rooms the player is in.
*** <code>/debug rooms hi </code><br /> Highlights the space of rooms with color. Unsuitable rooms are in red, eligible rooms are in green.
*** <code>/debug rooms unhi </code><br /> Removes room highlighting.
** <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 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.
** <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>
**<code>/debug delplr name</code><br /> Delete playerdata in a savegame.


[[List of server commands]]
[[List of server commands]]

Latest revision as of 20:10, 2 February 2024


  • /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 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 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]
      Sets the generation of the currently looked-at entity
    • /debug printcl [all|missing]
      Prints 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
      Changes 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 chunks 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
        Resends a chunk to all players.
      • /debug chunk relight
        Relights 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
      Rebuilds land claim partitions
    • /debug octagonpoints
      Prints octagon points
    • /debug cloh
      Compacts a large object heap
    • /debug mainthreadstate
      Main thread state
    • /debug killmainthread
      Kills the main thread
    • /debug expclang
      Exports a list of block and item translations to collectiblelang.json and adds placeholders for missing translations.
    • /debug rift [clear|fade|spawn|spawnhere]
      Various rift commands
      • /debug rift clear
        Immediately removes all loaded rifts.
      • /debug rift fade
        Slowly removes all loaded rifts, over a few minutes.
      • /debug rift spawn [quantity]
        Spawns the specified quantity of rifts.
      • /debug rift spawnhere
        Spawns one rift.
    • /debug rooms
      Room registration debug tools. Equivalent of the previous /roomregdebug command.
      • /debug rooms list
        Lists all rooms the player is in.
      • /debug rooms hi
        Highlights the space of rooms with color. Unsuitable rooms are in red, eligible rooms are in green.
      • /debug rooms unhi
        Removes room highlighting.
    • /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