Stop other kingdoms declaring war to curb your realm's power (2.021)
Ok, backup scripts.txt and then find this bit:
npc_decision_checklist_peace_or_war -1
445
Change the 445 to 427
then remove this whole section from that script:
5 0 31 2 1224979098644774951 1224979098644774913 31 2 1224979098644774920 0 1073741854 2 1224979098644774932 -1 2147483678 2 1224979098644774960 1440 2133 2 1224979098644774966 0 6 3 1224979098644774967 432345564227567631 432345564227567653 2147483679 2 1224979098644774967 1224979098644774912 2147483679 2 1224979098644774967 1224979098644774913 542 3 1224979098644774967 21 0 2190 3 1224979098644774968 1224979098644774967 1224979098644774913 2147483678 2 1224979098644774968 0 2133 2 1224979098644774966 1 3 0 31 2 1224979098644774966 1 2133 2 1224979098644774961 -1 2106 2 1224979098644774961 1224979098644774939 2133 2 1224979098644774962 216172782113786260
I think that will mean no more declaring war to curb power, if I'm reading it right. Your existing wars will still be ongoing, and they might declare war for other reasons. Not tested it myself but apparently it works.