What does the XML Injector mod do in The Sims 4?
XML Injector for The Sims 4
XML Injector is a Sims 4 mod by Triplis and LittleMsSam. It is a library that lets other mods add interactions and items to the game with a small XML file instead of their own script.
Cheats: all Sims 4 cheats, each checked in the game or the game files.
At a glance
- Creator
- Triplis and LittleMsSam
- Type
- Script mod (.ts4script)
- Price
- Free. Free, with an optional donation link.
- Get it
- The creator's page, checked on November 20, 2026
- Latest version
- Released on September 22, 2025
- Latest patch
- Yes, the creator confirmed the October 27, 2026 patch
What it does
- Lets mods add interactions to objects, Sims, the phone and the relationship panel.
- Supports loot actions, trait buffs and object states.
- Computer interactions that respect computer locks.
- Adds reward traits to the reward store.
- Adds items to purchase menus and their categories.
- Checks for duplicates when adding to those categories.
- First made by Scumbumbo, now kept up to date by Triplis and LittleMsSam.
What it needs
- Patch 1.116 or newer.
- Script mods turned on.
- No packs needed.
How to install it
- Download the XML Injector zip from the official page.
- Extract the .ts4script and the test .package straight into Mods, not a subfolder.
- Turn on Script Mods Allowed in Game Options and restart.
- Click a household mailbox and pick XML Injector Test; a notice should appear.
- Delete the test package after that and keep the script.
New to mods? Read how to install Sims 4 mods.
Does it work with the latest patch?
The latest version is v4.2, updated by Triplis on Sept 22, 2025. The creator's Mod Status page for Patch 1.129 lists XML Injector v4.2 as compatible, so no new update was needed for the Oct 27, 2026 patch.
After every game update, check the creator's page before you play. If the game breaks, read your newest error file with the LastException reader, and see the latest patch notes.
Known conflicts
- Removing it breaks every mod that depends on it.
- Do not bundle or reupload it with other mods.
More popular mods
Mod guides
Or live a life with AI people
LifeSim is a free life sim in your browser, with no mods to install. You pick a real city, and the people around you are AI-driven, have jobs and homes, and remember you. Live a life with AI people free in LifeSim. It doesn't change your Sims 4 game.
Questions
Do I need XML Injector?
Only if another mod says it requires it.
How do I test XML Injector?
Install the test file, click a mailbox and choose XML Injector Test. Then remove the test file.
Can XML Injector go in a subfolder?
The page says to put it in the main Mods folder.
