FS-Weather
Give players the same weather and game clock, and let staff control conditions from an in-game dashboard.
Before you install
Install oxmysql and FS-Lib. Disable other scripts that control time or weather before testing. You only need FS-Blackout for the optional storm blackout integration.
Installation
Copy the release
Put the built FS-Weather folder into resources. Keep its packaged sql folder.
Start the dependencies first
ensure oxmysql
ensure FS-Lib
ensure FS-WeatherOn startup, FS-Weather attempts to create or migrate its tables. If it can’t, follow Database setup.
Check what two players see
Open /weather on one account. Compare the weather and clock with a second player. If you restrict access, repeat the test on an account that has your configured permissions.
What do you want to do?
Open the dashboard or change weather
Check a forecast or change the current conditions.
Set startup weather or the clock
Choose how the server starts and whether it follows real time.
Limit staff access
Give view or change permissions without opening the whole dashboard to everyone.
Set up storm blackouts
Enable the optional integration and test a weather transition.
Fix a silent command or storage error
Check permissions, date/time mode, or the database log.
Developer exports
Read shared conditions or set a local clock for a scene.
What's new in v1.0.4
- Choose any supported startup weather type.
- Keep startup weather fixed with no forecasts using
Config.DefaultFreezeWeather. - Improved weather syncing, transitions, and automatic recovery.
- Fixed forecast timing, freeze/resume countdowns, and saved sequence restoration.
- Improved recovery from database failures and corrected daylight saving time calculations.
- Added client clock overrides for character creators and other local scenes.
- Updated default weather chances: rain is 2%, thunder is 1%, and NEUTRAL is excluded from random selection.
- Added
/weatherdebugand fixed dashboard permission updates.