TOML file database auto-split metatag feature request #1123
DatTheDragon
started this conversation in
Design & Brainstorm
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m planning to create a database.toml file set for my game that will hold configs and values, for example crafting recipes or item databases.
Some fields, like server tags or anti cheat values, should only exist on the server. Currently, Rojo allows pointing a file to multiple directories (e.g., ReplicatedStorage and ServerScriptService), but there’s no way to automatically filter certain values within a TOML file.
a feature that would let Rojo support a metatag in default.project.json that instructs it to include or exclude fields based on a convention (like a starting character) would be a nice thing to have.
Example:
Here, _AntiCheatTrigger would only be visible in modules that Rojo has been instructed to include server-only fields for.
A possible syntax in default.project.json could look like this:
This would allow Rojo to automatically generate two versions of the TOML module — one for client-accessible fields and one including server-only fields — without requiring runtime filtering or manual recreation.
Beta Was this translation helpful? Give feedback.
All reactions