Submit a mod

Made something for Lifestyle? Send it in. The team checks every upload; approved ones show up in the phone's LS Store, and players get them through Lifestyle Link. New to this? Read the how-to.

How to submit

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

  1. Put the folder in your mods folder, start a save with Lifestyle and your app on.
  2. Open the phone: your app is on the Home Screen. Check log.txt for errors.
  3. Try it in multiplayer too if you marked it multiplayer-ready.