Read a plugin's source
read_plugin_sourceReturn a window of lines from an RPG Maker MZ plugin's js/plugins/.js file to inspect hooks and @param blocks before editing; use fromLine to page through long files.
Instructions
Return a window of lines from js/plugins/<name>.js, the only way to see what a plugin actually hooks before editing around it. Defaults to the first 200 lines; pass fromLine to page through a long file. declared carries the parsed @param blocks so a parameter name can be matched to the code that reads it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| fromLine | No | ||
| lineCount | No |