-
-
Notifications
You must be signed in to change notification settings - Fork 7
Validating JSON File
Eivind Norling edited this page Jun 4, 2021
·
8 revisions
If you are experiencing issues with Ore-Tweaker and none of the ore generation you just configured seems to work make sure your json file is valid and configured properly. Small typos and markdown mistakes can occur, and these can be hard to spot. Below you will find a quick guide on how to spot these mistakes.
- Copy-Paste the json file in a json validator such as this one: https://jsonlint.com/ and have it validate your json. It will tell you what's wrong in red text, if there are any issues.
- Read the json file line by line slowly. Make sure the syntax is at the right place [ ] { } , `` etc or have someone else look at it, it's sometimes hard to spot errors like this after staring at the same file for a long time.
- Use a proper text editor tool such as VS-Code, Notepad++, Atom, Sublime or any of these online tools.
- Look at the template files generated by Ore-Tweaker in the
config/oretweaker/templates
folder.
Ore Tweaker generates a few templates with examples that can be used as reference or copy-pasted from into the OreTweaker.json file. These can be used side by side as a comparison to spot mistakes.
Made by Ewy - License MIT
Version | Supported |
---|---|
1.18.x-3.0.x | ✔️ |
1.17.x-2.6.x | ✔️ |
1.16.5-2.6.x | ✔️ |
1.12.x-1.x.x | ❌ |
1.11.x-1.x.x | ❌ |
1.10.x-1.x.x | ❌ |
1.9.x-1.x.x | ❌ |
1.8.x-1.x.x | ❌ |
1.7.x-1.x.x | ❌ |
Versions marked with ❌ is no longer supported. Help to configure these version will not be provided.