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)
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
Server Environment Menu - (Admin only)
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
}
}