F.A.Q

2 min readUpdated Today

Setup

Set Config.Locale to the desired locale code:

shared/config.lua
1Config.Locale = 'en'
shared/config.lua
1Config.ENABLE_DUI = false

Tank interactions remain available via target/TextUI, but the animated fill indicator is hidden.

Mechanics

Config.DELETE_OLD_DAYS auto-deletes inactive tanks after a set number of days. Set to false to disable. Use Config.DELETE_OPTIONS to only delete empty or broken tanks:

shared/config.lua
1Config.DELETE_OLD_DAYS = false -- disable auto-deletion

Tanks with a liquid type listed in Config.RainyFillableTypes accumulate liquid during rain. The amount per cycle is set by rainFillAmount on each container type. Disable globally with:

shared/config.lua
1Config.EnableRainCollection = false

Tanks lose health based on decayRate every 60 seconds. At 0 health the tank is broken and cannot be used until repaired. Configure repairItems on each container type to define which items restore durability.

Yes. The owner can dismantle a tank to get the item back, but all liquid inside is lost. Fixed tanks defined in Config.FixedTanks cannot be dismantled.

Jerry Cans

Jerry cans store dynamic fluid amounts via item metadata. Define accepted liquid types and capacity per item in Config.JerryCans. The inventory system must support item metadata for this feature.

Updates

  1. Download latest from CFX Portal
  2. Backup shared/config.lua and server/config_server.lua
  3. Replace all files except config
  4. Restart the resource

Database migrations run automatically on startup. Tank data (position, health, liquid level) is preserved.