see here: List of all the sims medieval cheats
It does work it just need the testingcheatsenabled turned on you have to do this manually outside of the game look it up online after thats turned on the cheat setkingdompoints works!