saveSettings
Fires when property settings are saved. Runs on the server.
It fires from the Manage Property menu and from the phone app (changing the sale or rent listing). It runs after the permission check and before the values are checked and saved.
Payload
lua
- source:
numberServer id of the player saving - player:
tableFramework player object of the player - propertyId:
numberThe property id - settings:
tableThe new values. See below.
settings
Every field is optional. Only the fields being changed may be sent. For example, the phone app only sends price, rentPrice and forSale or forRent.