List of server commands/debug: Difference between revisions

From Vintage Story Wiki
No edit summary
mNo edit summary
Line 8: Line 8:
**<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 heldtemp [value]</code><br /> Sets the temperature of the currently held item
**<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

Revision as of 10:21, 14 October 2021

  • /debug [logticks|tickhandlers|ci|cs|cr]
    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 ci
      Display some information on the current chunk the player is in
    • /debug cs
      Forcefully resends the current chunk the player is in
    • /debug cr
      Forcefully completely relights the chunk the player is in and all of them within one chunk of it
    • /debug helddurability [value]
      Sets the durability of the currently held item
    • /debug heldtemp [value]
      Sets the temperature of the currently held item
    • /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