# Changelog

> Release notes for sky_advent.

<u-changelog-versions>
<u-changelog-version badge="Current" date="2026-11-20" title="Version 1.1.0">
<template v-slot:body="">

**Highlights**

- Added configurable Christmas trees with 24 gifts and an animated unwrapping window for the selected gift.

**Notable Changes**

- Added map interaction points and optional location-only calendar access, with server-side distance checks for restricted access and physical gifts.
- Added 44 language presets for calendar, gift-opening and message text while preserving custom wording.

**Other Changes**

- Improved Christmas-prop startup so gift interactions wait for their models to become available.
- Fixed an issue where a rejected calendar opening could prevent the player from opening it again.

**Changed Files**

- `sky_advent/fxmanifest.lua`
- `sky_advent/source/*` — delete and reinsert
- `sky_advent/stream/*`
- `sky_advent/config/CONFIG.md`
- `sky_advent/INSTALL.md`

<update-guide from="1.0.0" resource="sky_advent" to="1.1.0">
<template v-slot:simplified="">

### 1. Back up and stop

Download Advent Calendar 1.1.0 and [Sky Base 1.55.0](/docs/base/changelog). These steps update an existing 1.0.0 installation. Back up the resource, generated `config/config.lua`, customized reward images and database, especially `advent_users` and its claimed-day/playtime records. Record your calendar dates, catch-up choice, minimum-playtime requirement and rewards. Finish active claims and stop the server.

### 2. Install the matching files

Open the installed `sky_advent` folder containing `fxmanifest.lua`. Delete its complete `source/` folder and insert `source/` from the new download. Copy the complete new `stream/` folder, including all tree/gift models, textures and both YTYP files. Replace `fxmanifest.lua`, `config/CONFIG.md` and `INSTALL.md` from that same package. Keep the installed `config/config.lua` and custom reward images in `config/img/`. The manifest, interface and streamed models must come from the same download.

### 3. Keep settings and configure

**Keep the current calendar first.** Existing key/command access, dates, catch-up rules, minimum playtime, rewards and custom translations remain valid. No new setting is required to retain the current calendar. `calendar.startMonth`/`startDay` still choose your intended start; this update does not change them to December. Advent does not use Jobs Base or `/jobconfig`.

**Optional — add world access.** In [Advent Configurator](https://advent.sky-systems.net/), open **Access → Opening methods** and enable **Map locations** or **Christmas tree & gifts**. Add each point's X/Y/Z and each tree's heading. Keep your recorded calendar/reward settings, download `config.lua` and put it at `sky_advent/config/config.lua`.

For file editing, find `open = { ... }` inside the installed file's `Config` table. Keep `useKey`, `key`, `useCommand` and `command`. After `command`, add the following missing entries, replacing the sample coordinates with your chosen locations:

```lua
useLocation = false,
locations = {
  { x = 215.76, y = -810.12, z = 30.73 },
},
useProps = false,
propLocations = {
  { x = 215.76, y = -810.12, z = 30.73, heading = 0.0 },
},
```

Change `useLocation` to `true` for map points, or `useProps` to `true` for trees. Use ground-level tree coordinates in an open, flat area with about four metres free around the tree. A scene contains 24 gifts; only configured reward days can be opened. For location-only access, set the existing `useKey` and `useCommand` to `false` and retain at least one enabled location method with valid coordinates. For tree-only access, also keep `useLocation = false`. Enable OneSync for world access. Players press **E** near a marker or gift. Key/command/marker entry opens the calendar; a physical gift opens its own unwrapping window.

**Optional — select a language.** In the configurator, open **Translation**, choose a preset and use **Restore** beside a field to use that preset's wording. Keep every `%s` placeholder, then download the configuration to the installed path above. In file mode, `locale` inside the existing `Locales` table selects the preset; for example, add `locale = 'de-DE',` immediately after `Locales = {` if absent. Explicit text entries override preset defaults, so retain intended custom wording. Older standard-language files can receive missing gift text in their detected language automatically.

### 4. Database, items and assets

The `advent_users` schema is unchanged from 1.0.0, so this update requires no SQL import. Preserve claimed days and playtime; do not clear the table or reset claims. No new inventory item is added by the tree/gift models. Keep the original inventory, garage or currency providers for your rewards. Install the complete `stream/` folder even if you enable the Christmas scene later.

### 5. Start and check

Start the configured framework, SQL and reward providers, then `sky_base` 1.55.0 and `sky_advent`. Restart the full server and reconnect. If key/command access remains enabled, check that it opens the normal calendar. Confirm existing claimed days remain recorded. If enabled, visit each point/tree, press **E** and check the language and gift day. If the existing calendar dates and playtime rules currently make a gift eligible, claim that gift: the same date, catch-up and playtime rules still apply, and a gift claimed at one tree must already appear claimed at every other tree. If you selected location-only access, check that opening/claiming from outside the configured locations is refused.

</template>

<template v-slot:prepare="">

Download Advent Calendar 1.1.0 and [Sky Base 1.55.0](/docs/base/changelog). These steps update an existing 1.0.0 installation. Back up the resource, generated `config/config.lua`, customized reward images and database, especially `advent_users` and its claimed-day/playtime records. Record your calendar dates, catch-up choice, minimum-playtime requirement and rewards. Finish active claims and stop the server.

</template>

<template v-slot:files="">

Open the installed `sky_advent` folder containing `fxmanifest.lua`. Delete its complete `source/` folder and insert `source/` from the new download. Copy the complete new `stream/` folder, including all tree/gift models, textures and both YTYP files. Replace `fxmanifest.lua`, `config/CONFIG.md` and `INSTALL.md` from that same package. Keep the installed `config/config.lua` and custom reward images in `config/img/`. The manifest, interface and streamed models must come from the same download.

</template>

<template v-slot:config="">

**Keep the current calendar first.** Existing key/command access, dates, catch-up rules, minimum playtime, rewards and custom translations remain valid. No new setting is required to retain the current calendar. `calendar.startMonth`/`startDay` still choose your intended start; this update does not change them to December. Advent does not use Jobs Base or `/jobconfig`.

**Optional — add world access.** In [Advent Configurator](https://advent.sky-systems.net/), open **Access → Opening methods** and enable **Map locations** or **Christmas tree & gifts**. Add each point's X/Y/Z and each tree's heading. Keep your recorded calendar/reward settings, download `config.lua` and put it at `sky_advent/config/config.lua`.

For file editing, find `open = { ... }` inside the installed file's `Config` table. Keep `useKey`, `key`, `useCommand` and `command`. After `command`, add the following missing entries, replacing the sample coordinates with your chosen locations:

```lua
useLocation = false,
locations = {
  { x = 215.76, y = -810.12, z = 30.73 },
},
useProps = false,
propLocations = {
  { x = 215.76, y = -810.12, z = 30.73, heading = 0.0 },
},
```

Change `useLocation` to `true` for map points, or `useProps` to `true` for trees. Use ground-level tree coordinates in an open, flat area with about four metres free around the tree. A scene contains 24 gifts; only configured reward days can be opened. For location-only access, set the existing `useKey` and `useCommand` to `false` and retain at least one enabled location method with valid coordinates. For tree-only access, also keep `useLocation = false`. Enable OneSync for world access. Players press **E** near a marker or gift. Key/command/marker entry opens the calendar; a physical gift opens its own unwrapping window.

**Optional — select a language.** In the configurator, open **Translation**, choose a preset and use **Restore** beside a field to use that preset's wording. Keep every `%s` placeholder, then download the configuration to the installed path above. In file mode, `locale` inside the existing `Locales` table selects the preset; for example, add `locale = 'de-DE',` immediately after `Locales = {` if absent. Explicit text entries override preset defaults, so retain intended custom wording. Older standard-language files can receive missing gift text in their detected language automatically.

</template>

<template v-slot:data="">

The `advent_users` schema is unchanged from 1.0.0, so this update requires no SQL import. Preserve claimed days and playtime; do not clear the table or reset claims. No new inventory item is added by the tree/gift models. Keep the original inventory, garage or currency providers for your rewards. Install the complete `stream/` folder even if you enable the Christmas scene later.

</template>

<template v-slot:verify="">

Start the configured framework, SQL and reward providers, then `sky_base` 1.55.0 and `sky_advent`. Restart the full server and reconnect. If key/command access remains enabled, check that it opens the normal calendar. Confirm existing claimed days remain recorded. If enabled, visit each point/tree, press **E** and check the language and gift day. If the existing calendar dates and playtime rules currently make a gift eligible, claim that gift: the same date, catch-up and playtime rules still apply, and a gift claimed at one tree must already appear claimed at every other tree. If you selected location-only access, check that opening/claiming from outside the configured locations is refused.

</template>
</update-guide>
</template>
</u-changelog-version>
</u-changelog-versions>

::
