Jump to content

1 Screenshot

  • 80
  • 1
  • 17.17 kB

About EnvControl

EnvControl is an Rust plugin that provides per-player control over in-game time.
Players and administrators can lock, set, or reset each player’s time environment — giving everyone the freedom to experience the world at their preferred time of day.

Perfect for VIP perks, roleplay scenarios, testing environments, and custom minigames where players may want a unique lighting experience without affecting others.

Key Features:

  • Individual time control per player
  • Allow players to choose their own time
  • Force players to see a specific time based on group
  • Automatically applies locked times on connect

Config

{ 
  "Permission-based custom times for player (24hr e.g. 07:00, 18:30)":
  { 
    "envcontrol.vip": [ "15:00", "18:00", "21:00" ],
    "envcontrol.day": [ "12:00", "13:00" ]
  },
  "Permission-based forced time for players (applied on connect)": 
  { 
    "envcontrol.night": "23:00",
    "envcontrol.morning": "07:00"
  }
}

Users with a permission from Permission-based custom times for player can use the /env command to set the time. Groups can stack and can contain overlapping times.
Users with a permission from Permission-based forced time for players cannot use the /env command unless they have a permission from Permission-based custom times for player.

When a player’s time is reset, the plugin checks whether they have a permission-based time lock. If a matching permission is found, their time is set accordingly. Otherwise, they revert to the server’s default time.

Commands

/env
Sets your personal environment time using a 24-hour format.
Example: /env 18:00 — Locks your view to evening lighting.

/env list
Displays all available times you can set, based on your permissions.

/env reset
Resets your personal time back to the default value, or to your group’s forced time if applicable.
Requires envcontrol.reset

envcontrol.reload
Reloads the plugin configuration file.
Requires envcontrol.admin
Example: envcontrol.reload

envcontrol.time <steamid> (time)
Gets or sets a player’s locked time. Works for connected & disconnected players.
Requires envcontrol.admin
Example:
envcontrol.time 76561198000000000 18:30 — Locks that player’s time to 18:30.
envcontrol.time 76561198000000000 — Displays the player’s current locked time.

envcontrol.reset <steamid>
Resets a player’s time to their default value.
Requires envcontrol.admin
Example: envcontrol.reset 76561198000000000

envcontrol.radius <radius> <time> (x,y,z)
Locks time for all players within a specific radius.
Requires envcontrol.admin
Example (in-game): envcontrol.radius 30 21:00 — Locks nearby players to 21:00.
Example (RCON): envcontrol.radius 50 12:00 500,100,-200 — Locks nearby players to 12:00 at coordinates 500,100,-200.

Permissions

envcontrol.admin
Provides full control over all console commands and time management features. Allows any time to be passed to /env 

envcontrol.reset
Allows players to use the /env reset sub-command.

Custom Time Groups
Defines which time values specific permission groups can manually select. For example, players in a VIP group might be able to set 15:00 or 18:00. These are automatically registered based on your config.

Forced Time Groups
Automatically applies a fixed time to players when they connect. For example, members with “envcontrol.night” might be setup to see 23:00 on login. These are automatically registered based on your config.
 

AI Disclaimer
This product was created with the help of AI tools to enhance quality and clarity. The full extent of AI assistance is as follows:

  • Language messages: Default in-game messages were refined for consistency, clarity, and professional tone.
  • Product description: The plugin description was enhanced for readability and better presentation of key features.

 

 


Neko's Collection

User Feedback

2m

Downloads

Total number of downloads.

9.4k

Customers

Total customers served.

136.6k

Files Sold

Total number of files sold.

2.9m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.