When running OpenRCT2 from the command-line in verbose mode, this error (more like a warning) message appears in the shell:
ERROR[/Users/runner/work/OpenRCT2/OpenRCT2/src/openrct2/scripting/Plugin.cpp:175 (GetMetadata)]: Plug-in “Benchwarmer” does not specify a target API version or specifies it incorrectly. Emulating deprecated APIs.
To get rid of this message, and to ensure the plugin will not cause issues for users of older OpenRCT2 builds, the following needs to be specified in the registerPlugin() call:
minApiVersion: N,
targetApiVersion: N,
Determine what those minimum/target API versions should be and set them.
When running OpenRCT2 from the command-line in verbose mode, this error (more like a warning) message appears in the shell:
To get rid of this message, and to ensure the plugin will not cause issues for users of older OpenRCT2 builds, the following needs to be specified in the
registerPlugin()
call:Determine what those minimum/target API versions should be and set them.