Difference between folder and configuration?

Whats the difference? is it only for values?

8 Likes

Well for configurations you put Settings and Values, and in folders you can store models and others. Configurations are more for settings and Folders are stored data and other objects, I hope this helped you! :smile:

22 Likes

Folders are just intended to organise your game’s hierarchy and superseded the legacy method of using unrelated containers (e.g. Models, Backpacks, Accoutrements, so on) to store items. They have organisational value, not functional value.

Configuration works the same way as a Folder in essence though the intention is that you use it to configure something. Only ValueObjects are intended to be in here. I would say this object is legacy and you can use Folder for both purposes.

12 Likes

I mainly use it for the Icon honestly, it points out that it’s a Folder for Options.

Anywho, here’s what the api-reference states:

The Configuration object is just a container, and does not automatically offer any additional functionality to a Folder .
Configurations should hold value objects ( BrickColorValue , NumberValue , IntValue , ObjectValue etc). These value objects should be read by the Script or LocalScript associated with the configuration to determine constants such as damage, speed or color.

The Configuration object is intended to be placed inside a BasePart in a Model or Tool . It was originally intended to be used with a tool that provided a GUI interface to edit these properties. However it is more common now for developers to edit these values directly in the Roblox Studio properties window.

3 Likes