MV Structuring Plugin Parameters

I've been trying to look into this, but plugin specifications are frustratingly incomplete - and slightly different between MV and MZ.

What's the best way to create...a user-defined hash table, if you will? A list of pairings?

I want to get a list of tile IDs within a tileset and a string associated with each. Just providing a long list of parameters labeled as numbers and the user can enter text for whichever seems very inefficient...and providing a note field where they'd type the number and text on each line seems too prone to user error.

Any suggestions?

Or, if anyone's seen anything like this in an existing plugin that they can recommend, I can look at how it was implemented there.
Create a struct for your tile data with parameters for the ID and string, and then create a parameter with that struct as its type.

For example:
1711632859699.png
Create a struct for your tile data with parameters for the ID and string, and then create a parameter with that struct as its type.
But that will create just the one entry, correct?

Or does that create some interface where the user can add entries within the plugin parameters?

I'll copy that in and see what it looks like in the plugin manager, but I didn't think that would result in a dynamic number of parameters.

Edit: I just noticed the array brackets after the struct, is that what I was missing?

Edit 2: Yup! That's what I needed, the array indicator. Thanks!
But that will create just the one entry, correct?

Or does that create some interface where the user can add entries within the plugin parameters?

I'll copy that in and see what it looks like in the plugin manager, but I didn't think that would result in a dynamic number of parameters.

Edit: I just noticed the array braces after the struct, is that what I was missing?

Edit 2: Yup! That's what I needed, the array indicator. Thanks!
Yeah, adding [] after a parameter type turns it into an array where the developer can add multiple entries. 🙂
Trihan already answered the question, but I found this tutorial very handy on the matter:
@Another Fen That's one of the pages I tried referencing, but I must've missed the List section where it mentioned appending brackets and how to parse them.

Original thread: https://forums.rpgmakerweb.com/threads/structuring-plugin-parameters.167248/