From your files to the LS Store, step by step.
Where everything goes
Everything lives in your game's mods folder. On Windows that's:
Documents\My Games\FarmingSimulator2025\
log.txt <- errors from your script show up here
mods\
HS25_Lifestyle_Mod\ <- Lifestyle (your app needs it on)
API.md <- the full API reference
FS25_MyPhoneApp\ <- your app: one folder (or one .zip)
modDesc.xml <- step 2
icon_myApp.dds <- the mod's icon, 256 x 256
scripts\
MyPhoneApp.lua <- step 3
While you work, keep it as a folder so you can edit it. To send it in, zip the files inside the folder (modDesc.xml must be at the top of the zip, not inside another folder) and name the zip FS25_MyPhoneApp.zip. The starter app above already has all of this set up: unzip it into mods, rename it, and change the script.
1. The folder
An app is a normal FS25 script mod. Make a folder named after it (letters, numbers and _ only):
FS25_MyPhoneApp/
modDesc.xml
icon_myApp.dds (the mod's icon, 256 x 256)
scripts/
MyPhoneApp.lua
2. modDesc.xml
The dependency line is required: it makes the game load Lifestyle first, so the phone is there for your app.
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<modDesc descVersion="104">
<author>Your name</author>
<version>1.0.0.0</version>
<title><en>My Phone App</en></title>
<description><en>What it does.</en></description>
<iconFilename>icon_myApp.dds</iconFilename>
<multiplayer supported="true"/>
<dependencies>
<dependency>HS25_Lifestyle_Mod</dependency>
</dependencies>
<extraSourceFiles>
<sourceFile filename="scripts/MyPhoneApp.lua"/>
</extraSourceFiles>
</modDesc>
3. The script
Find the Lifestyle API, then add your app with CPAPI.phone.addApp. draw runs inside the phone screen every frame; use launch instead if your app opens its own screen.
local MyApp = {}
local modDir = g_currentModDirectory
function MyApp:loadMap()
local api = CPAPI or (HS25_Lifestyle_Mod and HS25_Lifestyle_Mod.CPAPI)
if api == nil then return end -- Lifestyle isn't on: do nothing
api.phone.addApp({
id = "myPhoneApp", -- unique, no spaces
title = "My App",
icon = modDir .. "icon_myApp.dds",
color = { 0.20, 0.55, 0.90 },
draw = function(phone, x, y, w, h)
setTextAlignment(RenderText.ALIGN_CENTER)
renderText(x + w / 2, y + h / 2, 0.02, "Hello from my app!")
setTextAlignment(RenderText.ALIGN_LEFT)
end,
badge = function() return nil end -- a number or "!" shows a red dot
})
end
addModEventListener(MyApp)
The other APIs, all on the same api object (you only need the ones your app uses):
api.phone.notify(title, body): a banner on the phone. api.phone.design(): the phone's own buttons, rows and text, so your app looks like the rest.
api.money.get(), canAfford(n), charge(n): the farm's money.
api.mail.send({from, subject, body}): a Lifemail to the player.
api.contacts.add(...), settings, needs, menus, and api.ai.ask(...) when Lifestyle Link is running.
Every call, with examples: the full API page (also in API.md inside the Lifestyle mod folder).
4. Test it
- Put the folder in your
mods folder, start a save with Lifestyle and your app on.
- Open the phone: your app is on the Home Screen. Check
log.txt for errors.
- Try it in multiplayer too if you marked it multiplayer-ready.
1. Zip it the right way
Open your mod folder, select everything inside it, then right-click > Compress to ZIP file (Windows 11) or Send to > Compressed (zipped) folder. Rename the zip to the folder's name:
FS25_MyPhoneApp.zip
modDesc.xml <- right here, at the top
icon_myApp.dds
scripts/MyPhoneApp.lua
Zipping the folder itself puts modDesc.xml one level down, and the upload is refused. Zips over 95 MB are sent in pieces automatically.
2. Fill in the form
- Pick App or Mod.
- Name, who made it, a description players will read, what it needs and the credits.
- Add the zip, a square icon and up to 8 screenshots.
- Tick the box and press Send for review.
3. Review
- It shows under Your uploads as Waiting for review. You can take it back while it waits.
- The team downloads it and reads any scripts.
- You get a Lifemail in the game: approved, or turned down with the reason. Fix it and send it again.
- Approved apps show in LS Store › Apps › Community, mods in LS Store › Mods › Store. Players press Get and Lifestyle Link installs it.
4. Updates
Raise the <version> in modDesc.xml, keep the same zip name, and on this page choose Update: your mod. The old version stays in the store until the new one is approved.