Revenge Next Defensive Engineering & FAQ
The 9 Inviolable Rules of Revenge Next modding:
- Rule 1: Never access
revenge.*at root module scope (preventscacheFilterNotFoundcache poisoning). - Rule 2:
beforepatchers must always returnargsarray. - Rule 3: Only one
insteadpatch per method repo-wide (avoids proxy loop call stack overflow). - Rule 4: Preserve
thison prototype patches viaReflect.apply. - Rule 5: Never hook persist-path Flux getters.
- Rule 6:
jsonStorage.set()deep merges; tombstone keys with explicitnullorfalse. - Rule 7: Coalesce
jsonStorage.cachewith default settings. - Rule 8: Check
.defaulton Metro exports. - Rule 9: Inline mentions are structured ContentNode trees, not plain strings.