One panel for gas stations and fuel: review and edit any station, place its points in the world, tune the pump screens and change almost any option of both resources' shared/config.lua without touching files or restarting.
Open it with /gasadmin. /fuel_screen opens the same panel straight on Pumps. Close it with Esc or the X.
Permission and command
| Option | Default | What it does |
|---|---|---|
commands.admin | name = 'gasadmin', restricted = 'group.admin' | Command name and the ACE group allowed to run it |
admin.permission | 'admin' | Permission the server checks on every panel action, through Bridge.HasPermission |
Cuxial Fuel admin.permission | 'admin' | Same role for the Fuel and Pumps tabs, which read and save Cuxial Fuel settings |
You need both: the command's group and the permission. Without the permission the server rejects every panel action even if the command opens.
The panel stores its settings in the database. shared/config.lua and data/stations.lua become the factory values: whatever you change in the panel wins, and Reset returns each section or field to the file's value. The tables cuxial_gasstations_config, cuxial_gasstations_station_data and cuxial_fuel_config are created on first start.
Settings marked Restart required (for example command names or modules) are saved immediately but only change when the resource restarts. Settings marked Server only are not sent to players. Everything else applies live for everyone.
Tabs
| Tab | What it does |
|---|---|
| Overview | Server figures, owned stations and what is happening right now |
| Gas stations | Owner, cash, stock, employees, reputation and history of each station, as a list or on the map. Includes the Editor for data/stations.lua |
| Points | Loading and unloading points for runs, as a list or on the map: edit, go to, disable or delete |
| Washing | Station and public pressure washers, as a list or on the map, plus the washing settings |
| Rules and upgrades | Per-station rules, global upgrade catalog, global limits and prices per type |
| Business | Rentals, NPC customers, mobile service and the ownership, commission, reputation and notice settings |
| Fuel | Every Cuxial Fuel setting: refuelling, prices, discounts, jerry can, consumption, screen and more |
| Pumps | Screen profile of each pump and charger model, tuned in the world |
| Jobs / Runs / Usage | Published jobs, runs in progress, sales per day and run, fleet and supply settings |
| System | General settings, modules, commands and interface, audit log and backup |
Almost every tab has a Settings pane with the config options that belong to it. Refresh asks the server for the data again.
Live settings
Each Settings pane groups its options by topic. You can filter fields by name, change several and press Save: the server validates the changes (type, minimum and maximum) and, if a field is not valid, it is marked and nothing is saved. A changed section shows as Custom.
Reset returns the whole section to its factory values, after a confirmation. If you edit shared/config.lua later, the change only shows in sections that are not custom.
The options that define the database (fuels), the log convar name (logs.convar) and debug are not in the panel: change them in shared/config.lua and restart.
Gas stations
The list and the map share the filter and the search. The panel remembers which view you used last.
On the map, every station sits in its place with a colour: owned, for sale, low stock or disabled (disabled ones only with the filter that shows all). Hovering shows a card; clicking flies to it, draws its pump radius and opens a summary with owner, cash, sales, reputation, stock and coordinates, with Copy, Go, Mark and Open sheet. The exact map coordinates under the cursor are shown, and right-click copies them as a vec3.
A station's sheet lets you change cash, stock, prices and name, adjust the reputation or clear its ratings, turn chargers on or off, and Grant to a player, Transfer or Seize the station.
Editor
The Editor changes any station in data/stations.lua without touching the file. Each field shows where its value comes from:
| Layer | Meaning |
|---|---|
| Factory | Comes from data/stations.lua |
| Panel | Changed in the panel and saved in the database |
| Unsaved | Changed now, waiting for Save |
| New | Station created in the panel: everything lives in the database |
Editable fields: name, buy and sell price, type, payment account, office point, blip (or no blip), jobs point, truck, trailer and van spawns (or the same as the truck) and the pump sphere (centre and radius).
Every position has Place (a ghost you move with the gizmo in the world; for pumps, a ring shows the radius), Here (your position and heading), Go and Copy (the value as a vec3/vec4 ready for data/stations.lua). Reset field clears one field's change and Reset the whole station's. On save, blips, interaction points and zones update for everyone at once.
- New station creates one at your position, with all its points there, for you to place one by one. Up to 50 fit.
- Disable removes a station from the map, the pumps and the purchase without deleting anything; Enable brings it back. An owned station cannot be disabled: seize it first.
- Delete removes a station created in the panel, if it has no owner.
Place needs the object_gizmo resource running. Without it, use Here from the exact spot. Each station's unloading bays, supply point and wash slots show in the editor, but they are edited in Points and Washing.
Points
Delivery destinations plus each station's bays and valves, as a list or on the map. On the map each destination is a coloured dot by status (configured, factory, disabled or duplicate); picking one with duplicates nearby draws the radius in which points count as duplicates.
Edit on the map takes you to the point and opens the in-world point editor. New location here creates a destination at your position. Factory points can be disabled or deleted and recovered later; points created in game are deleted for good.
Factory locations (destinations, public pressure washers, bays and valves, supply and wash points) load by themselves on first start while the points table is empty. They never overwrite existing points.
Washing
Each station's wash slots and the public pressure washers, as a list or on the map, with the same filter (all, placed, not placed, disabled, deleted). New slot here and New public one here create one at your position; Edit on the map adjusts it in the world. From the row or the map you can enable, disable, rename, change mode, reset or recover each one.
Rules and upgrades
Rules change a value only at the stations you choose, without restarting: price limits, upgrade levels, service caps or features on and off.
- Per station: each station's own rule. You can select several and apply the same rule to all of them at once.
- Global catalog and Global limits: the value for the whole server. It is stored in the live settings, with the rest of the options.
The order is: station rule, then global value, then shared/config.lua. Global rules from earlier versions move to the live settings by themselves on first start.
Fuel
Cuxial Fuel's live settings: general, distances, default prices, payments and job discounts, jerry can, spill, chargers, consumption, tank, hose, pump screen, audio, chart, blips, interface and commands. They are stored in cuxial_fuel_config. If Cuxial Fuel is not running, the tab says so.
Pumps
The list of pump and charger models with their screen profile, where it comes from and how far away the nearest loaded one is:
| Origin | Meaning |
|---|---|
| Factory mesh | The screen is part of the model. Not editable |
| Saved on server | Tuned from the panel and shared with everyone |
| Factory | Comes from screen.models in Cuxial Fuel's config |
| No profile | The model has no screen yet |
- Edit in the world puts you in front of the nearest one of that model, with a fixed camera on the screen, and opens a dock with Right, Forward, Height above base, Rotation, Width, Height and Sides. The real screen moves while you tune. Keyboard hands control back to the game to use the positioner keys (Enter or Backspace return to the panel). Undo, Cancel (also
Esc) and Save. - Take me looks for a pump of that model at the nearest stations and drops you in front of it. Take me and edit does the same and opens the tuning on arrival. If none is found, you go back to where you were.
- Reset deletes the saved profile and the screen goes back to the factory one for everyone. Copy line copies the
screen.modelsentry with the current profile.
On save, the screen changes for every player at once, without restarting.
If you had screen positions saved only in your own game with the positioner from earlier versions, the tab offers once to Upload them to the server, or Don't upload.
System
Audit log
Every panel action (settings saved or reset, stations edited, created or disabled, pump profiles, imports) is logged with who, when and the exact change. Station events show too: purchases, sales and abandonments.
Backup
- Export copies a JSON with every Cuxial Gas Stations and Cuxial Fuel setting to the clipboard.
- Import applies a pasted JSON. Before applying, it tells you how many sections of each resource it will change. Anything not in the text is left untouched.
- Reset everything returns every section of both resources to its factory values. It cannot be undone: export a copy first if you want to keep it.
