JustQuests neoforge-26.2-0.6.4
Curse Maven Snippet
What's new
Added
- Quest files get the new fields by themselves. The first time a world (or the plugin) starts with a new
JustQuests version, every quest in the quest files gets the fields it doesn't have yet, each as
null("count_earlier": null).nullmeans "not set", so nothing changes until you fill one in - quest makers see every field they can use without rewriting their files after an update.- Which files: every
.jsonin the quests folders, sub-folders too:<world>/justquests/quests/(the plugin:plugins/JustQuests/quests/) and the quests folder of each datapack folder in the world'sdatapacks/(data/<namespace>/justquests/quests/). Never files in jars or zips, never quests of the generator. - Only text is added after the last field of each quest; order, spacing, line endings and comments stay as they were. A file that can't be read safely is left alone (the log says which), and so is a file over 16 MB. Tested with 20 000 quests in 5 000 files at once (one of them with 15 000 quests): about 10 seconds at the first start after the update; a normal pack takes a blink.
- Before it writes, everything in that quests folder is copied to
backup/<version>_<time>/inside it. Then each changed file is read again and must read exactly like before (apart from the nulls), and every quest in it must still load - or the file is put back. When everything is fine, the backup is deleted after 3 days; otherwise it stays. The quest loaders never read these backup folders. /quest fields(operators) does it any time, for example for new files.- Settings in
config/justquests.json(the plugin:config.yml), sectionquestFileFields, added there automatically:enabled(after updates),quest(the quest's own fields, on),goalsandrewards(also the fields of each goal and reward, off) andskip(field names never to write).
- Which files: every
Fixed
- Pack Discord: in singleplayer the badges went to the Discord only after the quest book was closed, because a paused game doesn't tick. They are sent while the game is paused now.
- The plugin reads
nullin a quest file as "not set" too (the mod already did).
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects