Skip to content
This page was translated from German using AI. If anything is unclear, the German version applies.

HM Adventskalender - Installation

  1. Prepare the files: Download the resource and unpack it. The package contains two folders: hm_Adventskalender (the calendar) and hm_santa (the Santa ped). Don’t rename the folders.

  2. Move to resources: Move both folders into the resources directory of your FiveM server.

  3. Edit server.cfg: Start both after oxmysql, your framework and your inventory:

    ensure hm_santa
    ensure hm_Adventskalender
    add_ace group.admin hm_advent.admin allow

    The last line is only needed if your admins don’t already have access through their framework group (see Configuration).

  4. Restart the server: The script creates the database table hm_advent_claims itself on first start. In game, /adventskalender (or /advent) opens the calendar.

Everything in the doors and wheels must exist in your inventory. The example content uses common items (bread, water, burger, medikit …) – adjust them to your server in the tablet. For the bread, install/ contains an entry for ox_inventory/data/items.lua and the image bread.png.

Without hm_santa, a regular GTA ped stands at the calendar automatically. You set the location in game: Management → Settings → Santa → To my position, then Save.

Everything you set in the tablet is saved in data/*.json. These files take precedence over config.lua. The players’ openings are stored in the database.