Difference between revisions of "Wizhelp/Jstat"

From DikuMUD Wiki
Jump to navigation Jump to search
(New page, from do_jstat (act_jstat.cpp); work in progress)
 
(checked against the code)
 
Line 9: Line 9:
 
The same as {Wizhelp Wstat}, with the same arguments, but the answer is  
 
The same as {Wizhelp Wstat}, with the same arguments, but the answer is  
 
JSON, for tools rather than people: the web client gets it as a data  
 
JSON, for tools rather than people: the web client gets it as a data  
−
packet, telnet as plain text. Not every part answers in JSON yet:  
+
packet, telnet as plain text. Not every part answers in JSON yet:
−
functions still answer as text.
+
functions, account, bank and combat still answer as text, and descriptor
 +
not at all.
  
 
Example:
 
Example:

Latest revision as of 21:40, 14 November 2026

Jstat (200)

Work in progress: jstat isn't finished.

Usage:

jstat room|zone|memory|account|creators|count|world
jstat <someone or something> [data|contents|affects|descriptor|...]

The same as {Wizhelp Wstat}, with the same arguments, but the answer is JSON, for tools rather than people: the web client gets it as a data packet, telnet as plain text. Not every part answers in JSON yet: functions, account, bank and combat still answer as text, and descriptor not at all.

Example:

jstat world
jstat papi affects


See Also:

> {Wizhelp Wstat}