# Installation & Usage

There is little to no configuration with this resource. Ensure you have the following done:

* Enable onesync infinity
* Setup your open functions within the configs
* Setup your open events in the open files

### Using Renewed-Weathersync

If you are using Renewed-Weathersync and would like to handle weather changes on clients, while ensuring their weather is not overridden by the server weather, you can make the changes in [this pull request](https://github.com/Renewed-Scripts/Renewed-Weathersync/pull/20/commits/82c877a0678512459b2a6c1452663b1286241013) to your Renewed-Weathersync. It will add a statebag that allows you to set a custom weather type on the player when `syncWeather` is disabled, rather than defaulting to extra sunny.

```lua
 LocalPlayer.state.syncWeather = false -- Disable synced weather on player
 LocalPlayer.state.playerWeather = 'HALLOWEEN' -- Override weather on player
```
