A non invasive, plug-and-play constant/config variable editor during runtime, meant to help debug and find the perfect values for your games.
Configify is a simple tool thats meant to be simple to add to pre-existing projects in order to really lock in those values for balancing, debugging or whatever you need.
Reply in the devforum thread if you have an issues/bugs.
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)- Server side constants
- String support
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.1.6"Please just support by starring the repo and sharing with friends you might think its useful to.
