Configuration
Every setting in config.lua that server owners change most: prices, stock, licence, serials, passport, range.
~1 min read
Everything is in vlc-drip-gunstore/config.lua. shared/stores.lua lists the guns each store sells, and server/bridge.lua is open so you can connect your own framework or inventory. These three files are not escrowed.
| Setting | Default | What it does |
|---|---|---|
Config.Pay | { 'cash', 'bank' } | How players can pay |
Config.Licence.required | true | Sell guns only to licence holders |
Config.Licence.price | 5000 | Licence price at the till (false = not sold) |
Config.Licence.exam | 5 questions, pass 4 | The written test before the licence |
Config.Price.kind / .tier | Per gun type and finish | Gun prices: type price x finish multiplier |
Config.Ammo | Five ammo types | Ammo price and pack size |
Config.Extras | Five attachments + armour | Attachment and armour prices |
Config.Stock | 3 per gun, +1 every 45 min | Store stock (mode = 'limited') |
Config.Serial | Prefix DG, police and sheriff | Serial prefix, lookup command and jobs |
Config.Passport | 25,000 to the bank | Reward for buying in all 11 stores |
Config.Range | 500 per session, 60 s | Range price, time, ammo, points and difficulties |
Config.StoreGuns | 'all' | 'all' = every gun everywhere, 'themed' = each store's own colour set |
Config.Blips | One per store | Blip sprite, size and colour per store |
Config.Markers | On | Each store's emblem over the counter, till and boss desk |
The guns resource
vlc-drip-weapons-ultimate/config.lua turns the laser (Config.Laser, key Config.LaserKey), the night glow (Config.NightGlow) and the admin test command (Config.TestCommand) on or off.
Note
After changing config, restart the resource or the server. Back up your config before updating to a new version.Was this page helpful?