HM Adventskalender - Installation
-
Prepare the files: Download the resource and unpack it. The package contains two folders:
hm_Adventskalender(the calendar) andhm_santa(the Santa ped). Don’t rename the folders. -
Move to resources: Move both folders into the
resourcesdirectory of your FiveM server. -
Edit server.cfg: Start both after oxmysql, your framework and your inventory:
ensure hm_santaensure hm_Adventskalenderadd_ace group.admin hm_advent.admin allowThe last line is only needed if your admins don’t already have access through their framework group (see Configuration).
-
Restart the server: The script creates the database table
hm_advent_claimsitself 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.
Saved settings
Section titled “Saved settings”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.