I am building a modpack update checker and need the exact .txt layout code. I am using the latest FancyMenu version (v3+).
My Goal:
I want a layout to only LOAD if the local modpack version is NOT EQUAL to the web version.
Technical Details:
- Local Source:
config/fancymenu/modpack_version.json(Key:$.localVersion). - Web Source:
https://raw.githubusercontent.com/TylerBits/orb-meta/main/latest-version.txt. - Variable 1:
modpack_current_version(needs to pull from the JSON). - Variable 2:
orb-version(needs to pull from the web).
What I Need:
- The layout-meta code for a "Layout-Wide Loading Requirement" using
if_not+equalscomparison between these two variables. Use the full JSON placeholder syntax as recommended in the v3 docs. - A Ticker element that successfully overwrites these two variables on launch.
- Please clarify: Does the file path in the JSON placeholder require `` or just the path string?
- If the layout fails to load (versions match), will the Ticker inside that layout still run to update variables for next time? If not, where should I put the Ticker?
Please provide the code in a copy-pasteable format for a .txt layout file.