Difference between revisions of "Wizhelp/Wedit"

From DikuMUD Wiki
Jump to navigation Jump to search
(Created page with "= Wedit = Is an experimental command that serializes world objects as JSON and sends them to the web-client. The long term goal is to have an editing interface on the web-cl...")
 
(Wedit: targets (name, unit@zone, room), web client only, the client logs the JSON to the console for now, level 200, from act_wizard do_wedit and wsclient.js setJson)
Line 1: Line 1:
−
= Wedit =
+
= Wedit (200) =
  
−
Is an experimental command that serializes world objects as JSON and sends them to the web-client.
+
Usage:
 +
wedit <someone or something>
 +
wedit <unit@zone>
 +
wedit room
  
−
The long term goal is to have an editing interface on the web-client allowing users to edit objects with a reasonably good content editor.
+
An experimental command: it sends a unit's data, as JSON, to your web
 +
client ("Sending json edit info to your browser."). Name anyone or
 +
anything in the world, a unit by its symbolic name (the name alone looks
 +
in your own zone), or room for the room you are in. It only works in the
 +
web client.
 +
 
 +
For now the client only writes the data to the browser's console (open
 +
the browser's developer tools to see it). The long-term goal is an  
 +
editor in the web client, for editing units with a good content editor.
 +
 
 +
 
 +
See Also:
 +
> {Wizhelp Wstat}
 +
> {Wizhelp Set}

Revision as of 01:41, 7 November 2026

Wedit (200)

Usage:

wedit <someone or something>
wedit <unit@zone>
wedit room

An experimental command: it sends a unit's data, as JSON, to your web client ("Sending json edit info to your browser."). Name anyone or anything in the world, a unit by its symbolic name (the name alone looks in your own zone), or room for the room you are in. It only works in the web client.

For now the client only writes the data to the browser's console (open the browser's developer tools to see it). The long-term goal is an editor in the web client, for editing units with a good content editor.


See Also:

> {Wizhelp Wstat}
> {Wizhelp Set}