What is it?
Configify is a non invasive, plug-and-play constant/config variable editor during runtime, meant to help debug and find the perfect values for your games.
It can be quite annoying to keep testing the game with different values to really figure out what values you need, whether it be for UI animations, combat values, etc.
With Configify, you slightly alter how your constants look and you will get procedurally generated UI to change them during runtime.
Usage
Here is an example of using the module.
Please note that Configify needs to be created before any other scripts start making constants/configs with it!
This means you will need to have some sort of module execution order, or require Configify before other modules.
-- Some main client script
require(path.to.configify)
-- Method 1
local CONSTANT = _G.Cfg:Set("MY_CONSTANT", 50, 0, 100)
RunService.RenderStepped:Connect(function()
SomeUI.Text = CONSTANT()
end)
-- Method 2
local Configify = require(Configify) -- Requiring configify after its been initialized will just return you the object
Configify:Set("MY_CONSTANT", 50, 0, 100)
RunService.RenderStepped:Connect(function()
SomeUI.Text = Configify.MY_CONSTANT
end)
Features
- String, Number & Boolean support
- Server-Sided Constants that sync visually
- Exporting values into output (will export to a in-game textbox in future)
- Dragging, Minimizing & Resizing UI
Build
You can build Configify using Wally, downloading from releases, or getting the model from the devforum thread (see the top of this readme)
Please note that getting the latest version from github/wally will be best, the model might not be up to date.
[dependencies]
Configify = "tony1-dev/configify@0.2.25"
Support
This is my first public release, any feedback is appreciated. Please report bugs in this thread.
If you’d like to support me, just leave a like on this post and star the github repo!