SSCL Wiki

Config Category

A config category contains the actual config values.

All values must belong to a category.

comment()

Adds a comment to the category.

camera.comment("Third-person camera settings.");

The comment is written into the TOML file.

id()

Gets the category ID.

String id = camera.id();

comment()

Gets the category comment.

String comment = camera.comment();

values()

Gets all values inside the category.

Collection<ConfigValue<?, ?>> values = camera.values();