A bug seems to be introduced with version 9.0 of Lightroom that when a plugin designer sets exports settings using the "updateExportSettings" of the Lightroom SDK all these settings are ignored and default settings are sent for the export job.
When the following code is used, the files are NOT renamed on export. The exported file have the same name as the original files.
updateExportSettings = function( settings )
settings.LR_collisionHandling = "rename"
-- Rename settings
settings.LR_renamingTokensOn = true
settings.LR_tokenCustomString = ""
settings.LR_tokens = "{
{naming_sequenceNumber_5Digits}}"
end
I do not know if this is the best place to put this, Adobe seems to have deleted the Lightroom SDK forum.