// ClearSky: no rain and no storm, a clear sky all the time (for an arena or a build server). The weather is the same for // the whole island, so this is for the whole server. A shower that starts is stopped at once, before its drops fade in; // admin RAIN / STORM in the admin menu and rl_rain are stopped too. Remove ClearSky.cs and the showers come back by // themselves. // Install: copy this file into the server's data folder, plugins/ClearSky.cs. // Script engine rules: test objects with != null, no static fields that change, callbacks with one parameter at most. using RustLegacy; public class ClearSky : RustPlugin { public override void OnLoaded() { Clear(); Every( 1f, Clear ); } void Clear() { var sky = TimeOfDay.Instance; if ( sky != null && sky.Raining ) sky.SetRaining( false, true ); // instant: dry ground, no fade, for every player } }