Summary
This mod is Made mainly for Roleplaying Server. is still on testing mode.
Description
What this mod does.
The LNU layer adds:
aggressive automatic saving
session-save recovery after restart
configurable save retention
a safe tracking helper for runtime-spawned RP entities
an example custom RP-data component + serializer for money/job/character data
documentation for making custom RP entities persistent
Target behavior
After a normal restart or crash, LNU should recover the latest committed
persistence snapshot so the server returns as close as possible to the previous
state.
A hard crash can only restore the last save that successfully reached the
persistence database. With the default LNU setting of 2 minutes, the expected
rollback window is therefore normally at most about 2 minutes, plus any save
that was still being committed when the process died.
What is already handled by native persistence
For entities/components covered by the active mission persistence configuration,
the engine can preserve things such as:
entity transform / location
inventories and attachment slots
vehicle passengers
vehicle engine/fuel/lights/turrets
weapon chambering and magazines/ammo
player quickbar
player faction affiliation
time/weather
many campaign/game-mode states
What LNU custom code is for
Your RP server may have custom state that the base game cannot know about:
cash/bank balance
job
character ID
gang affiliation
licenses
custom XP
jail/EMS state
custom garage records
custom house ownership
custom RP flags
Those values need a custom serializer/component or persistent state.
License
Arma Public License (APL)