S3 File Picker Settings

Can someone with an S3 configuration give me a test of the FilePicker settings api and tell me if a file picked on S3 gives an indication that it is on the S3 bucket? You can open console and do this in game:
game.settings.register("core", "chooseFoo", {
name: "Choose Foo",
scope: "client",
config: true,
type: String,
filePicker: true
});
game.settings.register("core", "chooseFoo", {
name: "Choose Foo",
scope: "client",
config: true,
type: String,
filePicker: true
});
Then in "Core Settings" it'll be at the bottom. After setting it, run game.settings.get("core", "chooseFoo") and lmk what you se.
2 Replies
Calego
Calego3y ago
Nevermind, I got S3 set up for testing shennenagins. Looks like for Directories chosen, the only information stored is the in-aws path. E.g.
'test-assets/tokens'
'test-assets/tokens'
But for files chosen, the URL of the file is stored. So for directories, this could lead to issues where a user selects a directory on S3, but the package has no way to know that.