🟪Env
Library environment file.
The environment (env) file tells the library (rlib) how it should be loaded, and what needs to be done in order for the addon to work properly. Settings in this file should only be modified if the person knows exactly what they are doing; or by the developer.
You will not be given support if you modify this file. The only changes a server owner should make are the options described below.
▸Location
▸Settings
MODULE.enabled
Allows you to disable the addon without the need to move the addon's parent folder out of the server's addon folder
MODULE.ws_enabled
If false; workshop collection for the addon will not be forced to the player when they connect
MODULE.ws_lst
Workshop collection to force on players if MODULE.ws_enabled is true
MODULE.mats
List of materials used with the addon. You may add your own, however, the server must be restarted after adding new entries before they are usable
MODULE.precache
if true, sounds, particles, and materials will be cached after being loaded
MODULE.fastdl
calls resource.AddFile and resource.AddSingleFile on materials, sounds, fonts, etc.
MODULE.fonts
list of fonts associated to module formatted as table
MODULE.mats
Materials for module
MODULE.ents
Entities used with module
MODULE.datafolder
Handles physical storage in server's data folder
MODULE.permissions
Registers permissions that are used with ULX, xAdmin, SAM, Serverguard
MODULE.calls.net
registered network calls
MODULE.calls.hooks
registered hooks
MODULE.calls.commands
registered console commands
MODULE.calls.timers
registered timers
MODULE.resources.ptc
particles
MODULE.resources.snd
sounds
MODULE.resources.mdl
models
MODULE.resources.pnl
panels
MODULE.language
module language entries use /lang/ folder. this method is no longer used.
Last updated