Skip to content

Configuration reference

Two files, both open. Every key is commented in the file itself; this page says what each section is for and which keys you are most likely to change.

Two files, both open. Every key is commented in the file itself; this page says what each section is for and which keys you are most likely to change.

FileWho can read itHolds
config.luaevery player (shared)locations, models, labels, toggles, camera and UI presentation
server/config.luathe server onlyprices, hashrates, wattages, rates, caps, rent, anti-cheat floors, webhooks

Never move a price or a payout into config.lua: players can read it.

config.lua

SectionWhat it controlsMost-changed keys
Config.DebugDraw every slot and zone, print every distance check (or /pcmadmin debug for one admin)
Config.CoinsThe four coins: names, symbols, flavour linename, symbol (never key: it names the wallet column)
Config.PoolsThe three mining pools: namesname
Config.Rigs, Psus, Gpus, Coolers, Boards, Cpus, Rams, M2s, FansEach part: item name, label, modellabel (rename parts freely), item (must match your inventory)
Config.Paste, Config.RepairThe two consumables
Config.ShopThe PC shop ped, blipcoords, model, blip, enabled
Config.ExchangeThe crypto exchange clerk, blipped.coords, blip
Config.FarmThe server-farm desk and the warehouse interiorenabled, desk, units (never lower than a rented number), unit.*
Config.HousingRigs in housesenabled, provider (auto, tcc-housing, custom, none)
Config.CrewCrew access roles, gang grantsenabled, gangs.enabled
Config.Phonelb-phone Rig Monitor app and phone alertsenabled, alerts.gap
Config.ImmersionHum, lights, smoke, close-up cameraeach toggle
Config.ScreensWall screens inside the warehouseenabled
Config.OverclockOverclock panel presentation
Config.TankImmersion tank effect
Config.NetEventsHow network events are announced
Config.TutorialThe first-build guide card (off by default)enabled (also ServerConfig.Tutorial.enabled)
Config.AssemblyWhere fitted parts sit inside each case(use /pcmadmin calibrate)
Config.BenchThe hands-on workbench: camera, trays, keys, recipesenabled (false = plain progress bar with the same server checks)
Config.CommandThe player guide commanddefault pcmining
Config.PlacementPlacing a rig in a housemaxDistance
Config.FacilityGenerators, air conditioners, tanks: models and labels

server/config.lua

SectionWhat it controls
Rigs, Boards, Cpus, Rams, M2s, Fans, Psus, Gpus, CoolersPrices, hashrate, wattage, sockets and slots of every part (index-aligned with config.lua)
Core, StockWhat a case needs to boot; the stock core of a case
Paste, RepairConsumable prices; how much health a kit restores
Rate.perMHGross dollars per hour per MH/s at the mean price: the master income dial
WearHow fast cards wear, health of unknown cards
Scrap, RefurbRecycling dead cards and refurbishing them (materials are your server's items)
ActivityFull speed for fullMinutes after a service, then throttle
PowerPrice per kWh, billing interval, debt cut-off
Market, CoinsEach coin's price walk: mean, bounds, volatility, news swings
PoolsFees, variance, solo block odds
SellExchange fee, daily cash cap per licence, sale burst limit, optional shared ceiling (combined)
ExchangeOptional feed to a stock-exchange resource (off)
LimitsRigs per character, rigs per house
AccessExchange code: session length, lockout, reset fee, pepper fallback
FarmRent per week, weeks paid ahead, routing bucket base, leave watchdog
BuildsThe ready-made builds the store sells
ResaleShare of the price the shop pays back for used parts
GuardDistances and time floors the server enforces (anti-cheat)
Bench, AssemblyServer pace and checks for the hands-on steps
FlushHow often memory is written to the database
PayAccountbank or cash for exchange payouts
CrewCrew limits and withdrawal allowances
AdminAdmin panel limits (price override clamp)
Webhooks, LogName, Logs, ActivityLogDiscord URLs (or convar names), log retention
Facility, TankGenerator fuel, grid and cooling capacity, tank fluid
TutorialGuide on/off and its one-time perk
OverclockSteps, crash odds, stress test
EventsNetwork events: odds, cooldowns, schedule; every effect only ever lowers output

Scaling the economy

The defaults suit a server where a legal job pays about $250k an hour: a maxed setup nets about $45k an hour, a starter rig about $2.5k, and payback takes 15–32 hours of play.

On a server where jobs pay less, scale income and prices together so the ratios hold. If jobs pay $20k an hour (12.5 times less):

  1. Divide Rate.perMH by 12.5.
  2. Divide every price in the part tables, Paste, Repair, Farm.rentPerWeek and Power.perKWh by 12.5.
  3. Divide Sell.dailyCap by 12.5.

Coin prices (Market, Coins) are in dollars per coin; you may leave them, since income is set by Rate.perMH at the mean price.

Hooks and custom code

custom/server.lua is yours. See EXPORTS.md for every hook.