plugin:newFileFormat is currently not documented anywhere.
As seen here, for it accepts a table with the following fields:
binary (boolean): whether or not the file format is binary or not
supports (integer): Some sort of bitfield I assume, but I'm not sure what each one represents. Appears to be used to set the CustomFormatDefinition.flags variable; I can look into it later
extensions/extension (string or string[]): All valid file extensions
name (string): The name of the file format, I assume
onload (function) and onsave (function): Determine behavior on load and save
plugin:newFileFormatis currently not documented anywhere.As seen here, for it accepts a table with the following fields:
binary(boolean): whether or not the file format is binary or notsupports(integer): Some sort of bitfield I assume, but I'm not sure what each one represents. Appears to be used to set theCustomFormatDefinition.flagsvariable; I can look into it laterextensions/extension(string or string[]): All valid file extensionsname(string): The name of the file format, I assumeonload(function) andonsave(function): Determine behavior on load and save