Skip to content

Integer Value Type

Doink Oink edited this page Sep 11, 2025 · 9 revisions
mcm_int
_config.set_value("Int", "testInt", {
	"name" = "Test Int",
	"tooltip" = "A test int",
	"default" = 5,
	"value" = 5,
	"minRange" = 0,
	"maxRange" = 20
})
  • Section - "Int"
  • "name" - The friendly name of the value that will be displayed in the configuration menu.
  • "tooltip" - A short description of the value that will be displayed when hovering over the name in the configuration menu.
  • "default" - The default value that the player can revert back to in the configuration menu.
  • "value" - The current value that is set.
  • "minRange" - The minimum value the player is able to set the value to in the configuration menu.
  • "maxRange" - The maximum value the player is able to set the value to in the configuration menu.

Clone this wiki locally