"Wipe On Upgrade Or Change": false,
При любой перезагрузке o.reload если значение установлено на true после обновления происходит сброс.
[ApartmentAutoTP] [ApartmentAutoTP] Апартаменты найдены и ТП успешно настроен!
[ApartmentAutoTP] [ApartmentAutoTP] Точка телепорта: -1417.496 8.2 1853.742
[ApartmentAutoTP] [ApartmentAutoTP] Перезагружаю NTeleportation через 2 секунды...
[ApartmentAutoTP] [ApartmentAutoTP] Апартаменты найдены и ТП успешно настроен!
[ApartmentAutoTP] [ApartmentAutoTP] Точка телепорта: -1417.496 8.2 1853.742
[ApartmentAutoTP] [ApartmentAutoTP] Перезагружаю NTeleportation через 2 секунды...
Unloaded plugin NTeleportation v1.9.6 by nivex
Unloaded plugin NTeleportation v1.9.6 by nivex
[NTeleportation] Rust was upgraded or map changed - clearing homes and all locations!
Loaded plugin NTeleportation v1.9.6 by nivex
[ApartmentAutoTP] [ApartmentAutoTP] ГОТОВО! Команда /apartments работает с актуальной точкой.
[NTeleportation] Rust was upgraded or map changed - clearing homes and all locations! <============= Этого при o.reload БЫТЬ не должно!
Loaded plugin NTeleportation v1.9.6 by nivex
[ApartmentAutoTP] [ApartmentAutoTP] ГОТОВО! Команда /apartments работает с актуальной точкой.
До патча мой плагин маленький менял координаты без ошибок. сейчас перезагрузка плагина (вашего) зануляет все тп. (как будто карта новая. Хотя она не менялась)
FIX PLZ!
Я уточню любая перезагрузка сервера, вероятно, если стоит "Wipe On Upgrade Or Change": true,
Будет считать, что карта новая и сбросит все точки тп!
Subject: NTeleportation v1.9.6 – Wipe On Upgrade Or Change resets data on every plugin reload (not just map change)
Hi nivex,
I'm using NTeleportation v1.9.6 with the following config:
"Wipe On Upgrade Or Change": true
I also have a helper plugin (ApartmentAutoTP) that automatically finds the Apartment Complex monument and writes its coordinates into the Dynamic Commands → Apartments section of the NTeleportation config. After writing the config, the helper plugin executes oxide.reload NTeleportation to apply the changes.
The issue:
On every reload (even a simple oxide.reload), NTeleportation logs:
[NTeleportation] Rust was upgraded or map changed - clearing homes and all locations!
and clears all dynamic command locations, including the freshly written Apartments coordinates (resetting them to 0 0 0). As a result, /apartments becomes unusable until the coordinates are re-added.
I updated to v1.9.6 hoping this would be fixed, but it still happens. The reload is not a map change or an upgrade – it’s just a plugin reload. The wipe should only occur on real map changes (seed/size change, save version change, or plugin version upgrade), not on every manual reload.
Steps to reproduce:
Set
"Wipe On Upgrade Or Change": truein config.Add a location to
Dynamic Commands(e.g.,Apartments).Reload the plugin via
oxide.reload NTeleportation.Observe the wipe message and lost coordinates.
Expected behaviour:
Data should persist across normal reloads and only be cleared when the map actually changes or when the plugin version is updated.
Temporary workaround:
Setting "Wipe On Upgrade Or Change": false prevents the wipe, but then the plugin won't auto-clear on legitimate map changes, which is not ideal.
Could you please look into this? It seems the detection logic for "upgrade or change" is too aggressive.
Thanks!