PreferredEnvironment

PreferredEnvironment 2.0.16

Allows players to customize their time and environment settings, or create environment presets that apply to zones specified in the config


Server Environment Menu - (Admin only)
6efb0f94578ca8bcc6f5649903ea471d.jpg


Permissions

preferredenvironment.use - Required to use the environment editor UI
preferredenvironment.admin - Required to use the console commands from ingame console

Chat Commands
/env - Opens the environment menu
/senv - Opens the server environment menu (requires permission 'preferredenvironment.admin')

Console Commands
setenv <playername or ID> <variable> <value> - Set an environment variable for the specfied player

Available variables;
fog (0.0 - 1.0)
rain (0.0 - 1.0)
rainbow (0.0 - 1.0)
thunder (0.0 - 1.0)
wind (0.0 - 1.0)
atmosphere_brightness (0.0 - 1.0)
atmosphere_contrast (0.0 - 1.0)
atmosphere_directionality (0.0 - 1.0)
atmosphere_mie (0.0 - 1.0)
atmosphere_rayleigh (0.0 - 1.0)
cloud_attenuation (0.0 - 1.0)
cloud_brightness (0.0 - 1.0)
cloud_coloring (0.0 - 1.0)
cloud_coverage (0.0 - 1.0)
cloud_opacity (0.0 - 1.0)
cloud_saturation (0.0 - 1.0)
cloud_scattering (0.0 - 1.0)
cloud_sharpness (0.0 - 1.0)
cloud_size
time (0.0-24.0)

To disable any of these variables and use the value the server is currently using set the value to '-1'

Setting up Zone environment options
You can create custom environment profiles for specified zones in the config. Just create your zone, add the zone ID to the config and set the values. The config contains a example entry for doing this

Config
JavaScript:
{
  "Save players custom environment settings and apply after restart/relog": true,
  "Zone Environment Profiles. (To disable a variable and use the value set on the server, set the option to -1)": {
    "ExampleZoneID": {
      "Time (0.0 - 24.0)": -1.0,
      "Rain (0.0 - 1.0)": -1.0,
      "Wind (0.0 - 1.0)": -1.0,
      "Fog (0.0 - 1.0)": -1.0,
      "Rainbow (0.0 - 1.0)": -1.0,
      "Thunder (0.0 - 1.0)": -1.0,
      "Atmosphere Brightness (0.0 - 1.0)": -1.0,
      "Atmosphere Contrast (0.0 - 1.0)": -1.0,
      "Atmosphere Directionality (0.0 - 1.0)": -1.0,
      "Atmosphere Mie (0.0 - 1.0)": -1.0,
      "Atmosphere Rayleigh (0.0 - 1.0)": -1.0,
      "Cloud Attenuation (0.0 - 1.0)": -1.0,
      "Cloud Brightness (0.0 - 1.0)": -1.0,
      "Cloud Coloring (0.0 - 1.0)": -1.0,
      "Cloud Coverage (0.0 - 1.0)": -1.0,
      "Cloud Opacity (0.0 - 1.0)": -1.0,
      "Cloud Saturation (0.0 - 1.0)": -1.0,
      "Cloud Scattering (0.0 - 1.0)": -1.0,
      "Cloud Sharpness (0.0 - 1.0)": -1.0,
      "Cloud Size (0.0 - 1.0)": -1.0
    }
  },
  "Version": {
    "Major": 2,
    "Minor": 0,
    "Patch": 0
  }
}

Information

Author
k1lly0u
First release
Last update
Rating
4.95 star(s) 19 ratings

Latest Release v2.0.16

Released
Sep 10, 2024 at 1:44 AM
Rating
0.00 star(s) 0 ratings


More resources from k1lly0u

  • SkinBox
    SkinBox
    Allows you to reskin item's by placing it in the SkinBox and selecting a new skin
  • Deekay
    Deekay
    Customize Rusts decay system on a per-entity basis
  • AlphaLoot
    AlphaLoot
    Provides complete control on loot contents of each available lootcontainer
  • Admin Menu
    Admin Menu
    Manage groups, permissions, commands and convars from a GUI menu
  • Clans REBORN
    Clans REBORN
    Clans plugin with Allies, inbuilt FriendlyFire and much more...

PreferredEnvironment by k1lly0u
© chaoscode.io Feb 2, 2018

Latest reviews

Its perfect for any server just to be able to change the time to keep it sunny or dark but this has so many things to edit it can make a massive differance
Must have plugin for admins/owners/content creators! Extremely intuitive ui and as always fantastic support by k1lly0u

10/10 - 5 stars aint enough!
Perfect for all the players that want to skip day or night on PVE, and make the map look more apocalyptic.
I use this in my PvE server and Build server.
Users love what it can do and how it does it with the user friendly GUI.
highly recommended plugin
really nice
a great plugin!
Plugin God Has stuck again! Excellent & Must have for every RUST server!
5STARS. Players love it! Thanks m8
Awesome !
love it