This page summarizes the events notified by the baseware to plugins.
For information about the PLUGIN/2.0 communication specification itself, see the PLUGIN/2.0 page.
Events marked [NOTIFY] are always notified with the NOTIFY command.
Any script returned in response to an event notified with the NOTIFY command is ignored completely.
Events without a specific mark may be notified with either NOTIFY or GET, depending on the situation.
Occurs immediately after the plugin is loaded.
The plugin returns its version information for this event in the Value header.
Specifying a character encoding in the Charset header sets the character encoding used for subsequent requests (default: Shift_JIS).
Note that the response format differs from that of other events.
Lists installed plugins and notifies. [NOTIFY]
Lists installed ghosts and notifies. [NOTIFY]
\0 names, delimited by byte value 1\1 names, delimited by byte value 1Lists installed balloons and notifies. [NOTIFY]
Paths of the loaded ghost folders. [NOTIFY]
Paths of the loaded balloon folders. [NOTIFY]
Paths of the loaded headline sensor folders. [NOTIFY]
Paths of the loaded plugin folders. [NOTIFY]
Occurs each second.
The notification interval can be configured with secondchangeinterval in descript.txt.
Occurs when a ghost talks.
Can be configured with otherghosttalk in descript.txt.
Occurs when a ghost starts.
\0, separated by byte value 1.Occurs when a ghost exits. [NOTIFY]
\0, separated by byte value 1.Occurs when ghost information changes.
May also occur at load time. [NOTIFY]
\0, separated by byte value 1.Occurs when a plugin is run from the owner-draw menu.
Some kind of reaction is recommended.
\0 of the ghost that called the plugin, delimited by byte value 1.Occurs when an installation completes.
A plugin-side hook for SHIORI Events that occur when a choice or anchor is selected.
If the script sent by a plugin to a ghost, or the script returned by a ghost in response to an event notified by a plugin, contains a choice- or anchor-related Sakura Script tag, then for that occurrence only, the same event notified to SHIORI when the choice or anchor is selected is also forwarded to the plugin.
Occurs when \![raiseplugin] or \![notifyplugin] is executed.
For \![notifyplugin], [NOTIFY]
Occurs when retrieving an extended property using pluginlist(plugin name/path/ID).ext.
Returns the value of the retrieved property.
Occurs when setting an extended property using pluginlist(plugin name/path/ID).ext.
Returns 204 on success, or an appropriate status code on failure.