Bablo ResourcesDocs

Map Workshop

The Map Workshop is the management panel of the editor. Everything that is not done with the camera in the world is done here: your maps, a list of every placed prop, categories, an overview map, schedules, your own keys, the change log, and import, export and publishing.

Only editors can use it. See Who can use the Workshop.


Opening the Workshop

Open the editor with the command from Config.Command, /mapeditor by default (see Commands). Then press Workshop on the right of the top bar. Its tooltip reads Open the Map Workshop. There is no key for it.

  • The tabs are on the left. Hover an icon to see the name of the tab.
  • The header shows the open tab and the name of your working map, or No map selected.
  • Esc, the × button under the tabs or a click outside the panel closes the Workshop. While a confirmation is open, Esc closes the confirmation instead.

While the Workshop is open, the editor ignores your keys and your clicks in the world. Buttons that act in the world, such as Teleport or Select in world, close the Workshop first.


Tabs

TabWhat it is forPage
MapsCreate, rename, switch on and off, copy and delete maps, and choose the map you work on.The Maps tab
Placed PropsFind every prop placed with the editor, go to it, label it, file it under a category or delete it.Placed Props
CategoriesSort props into a tree of categories, each with an optional capacity.Categories
World MapSee your props and erased GTA props on the GTA map.World Map
ScheduleSwitch maps on and off by day and time of day.Schedules
KeybindsChange your own editor keys.Keybinds
HistoryA log of the changes made in the world and in the Workshop.History
PublishExport a map as text, import a pasted map, or publish a map as its own resource.Import, Export & Publish

Who can use the Workshop

Everyone who can open the editor can use every tab. You count as an editor when at least one of these is true:

FrameworkWho is an editor
AllPlayers with the ACE in Config.AcePermission (mapeditor.use by default), or with the ACE command.
QBCorePlayers with the admin or god permission.
QboxPlayers with the admin permission.
ESXPlayers in the admin or superadmin group.

To give a group access without making it a framework admin, add the ACE in server.cfg:

PLAINTEXT
add_ace group.admin mapeditor.use allow

See Permission.

The server checks the permission again for every action in the Workshop. A player who is not an editor only gets You don’t have permission. Every action also counts toward the limit in Config.RateLimit (see Rate limit). Too many actions in a short time give You’re doing that too fast.

There are no separate roles: every editor can do everything in the Workshop. Your working map, your keys and the Show maps that are off box are your own.


Maps

A map is a set of placed props, erased GTA props and lights that is switched on and off as one. You can keep several maps, for example one per location or one per event. The top bar of the editor calls a map a project.

The first time the resource starts, it creates one enabled map named after Config.DefaultMapName ('Main' by default, see Maps and limits). If you delete every map, a new one is created on the next start.


The Maps tab

The Maps tab lists every map, in the order they were created.

ColumnWhat it shows
WorkingA round button that marks your working map. See The working map.
NameThe name of the map. Click it to rename the map.
ObjectsHow many props are placed on the map.
HidesHow many GTA props are erased on the map. See Delete Mode.
Load distanceHow far from a player the props of the map load, or default. See Load distance.
UpdatedWhen the map itself last changed: created, renamed, switched on or off, or given a load distance. Placing or moving props does not count. It shows just now, minutes (5m), hours (3h) or days (2d), and the date after 30 days. Hover it for the exact date and time.
EnabledThe On box with a Live or Draft badge, and Auto when a schedule rule controls the map.

Each row ends with three buttons:

ButtonWhat it does
Send selected objects to this mapMoves the props selected in the world to this map. See Moving props to another map.
Copy this mapMakes a copy of the map. See Copying a map.
Delete mapDeletes the map. Only for disabled maps. See Deleting a map.

Under the list:

  • The name field Name for the new map… with Create and Create & build. See Creating a map.
  • The totals, for example 1240 objects placed · cap 5000 per map · 50000 total. The first number counts the props on all maps together. The other two are Config.MaxObjectsPerMap and Config.MaxObjectsTotal (see Maps and limits).
  • Show maps that are off. See Show maps that are off.

Creating a map

  1. Type a name of 1 to 64 characters in Name for the new map….
  2. Press Create (or Enter) to add the map, or Create & build to add it and make it your working map at once.

A new map starts disabled, as a Draft, so players don’t see it while you build. Enable it when it is ready.

You can also create a map from the top bar, see Switching projects from the top bar. A name the server refuses gives That name doesn’t work — 1 to 64 characters.


Renaming a map

Click the name in the Name column, type the new name and press Enter or click elsewhere. Names are 1 to 64 characters. When you clear the field, the old name comes back.


The working map

Your working map is the map you build on. New props, erased GTA props and lights you add are saved to it. Every editor has their own working map.

  • Until you choose one, your working map is the enabled map that was created first.
  • Click the round button in Working to work on another map. Its tooltip reads Working map — new objects land here.
  • Any map can be your working map, also a disabled one. You always see your working map in the world, also with Show maps that are off unticked.
  • Your choice lasts until you leave the server. On your next visit, the first enabled map is your working map again.
  • When your working map is deleted, you move to the first enabled map.
  • Without a working map, for example when no map is enabled, saving a prop gives No working map selected.

Switching projects from the top bar

The top bar shows Current project: with the name of your working map, or No map selected. Its tooltip reads Switch project. Click it to list every map. Disabled maps carry a Draft badge.

  • Click a map to make it your working map.
  • Type a name in New project… and press the + button (Create) or Enter. This creates a new, disabled map and makes it your working map.

Enabling and disabling

StateBadgeWho sees the map in the world
EnabledLiveEvery player on the server.
DisabledDraftEditors only. Players never see it.
  • Tick On to enable a map. Its props, erased GTA props and lights appear for every player.
  • Untick On to disable it. You are asked first: Disable Map, Docks despawns for every player until it is enabled again. and Disable.
  • A disabled map keeps all its props, erased GTA props and lights. Nothing is deleted.
  • A map that a schedule rule names carries Auto: A schedule rule turns this map on and off. Flipping it by hand here only lasts until the next check. See Schedules.

How the change reaches the players is explained in Map Streaming & Sync.

Show maps that are off

This box decides whether you see disabled maps in the world. It is ticked by default, and the choice is saved in your own game.

BoxWhat you see
TickedThe disabled maps as well as the enabled ones.
UntickedOnly the enabled maps and your working map. Disabled maps unload for you as well.

The tooltip reads Off: maps you switch off unload for you too, except the map you’re working on. Players never see maps that are off.


Load distance

Each map can have its own load distance: how far from a player the props of that map load.

  • Type a distance in metres in Load distance and press Enter or click elsewhere. The value must be between Config.Studio.loadDistanceMin (50.0) and Config.Studio.loadDistanceMax (2000.0), see Workshop.
  • Clear the field to go back to the default, shown as default. The default is Config.StreamRadius (300.0, see Streaming).

The new distance reaches the players straight away. A copy of the map keeps its load distance. A map published as its own resource does not use it, see Import, Export & Publish. More about loading in Map Streaming & Sync.


Copying a map

  1. Press Copy this map on the row of the map. A field opens with the name and copy after it, for example Docks copy.
  2. Change the name if you like and press Duplicate or Enter.

The copy is a new, disabled map with the same load distance. It holds a copy of every prop with its label, category and settings, every erased GTA prop and every light.

The props of the copy count toward Config.MaxObjectsTotal. When they don’t fit: The server object limit is reached.


Moving props to another map

  1. Select the props in the world, see Selecting & Editing Props. To find props by name first, use Pick up in world on the Placed Props tab.
  2. Open the Workshop on the Maps tab.
  3. Press Send selected objects to this map on the map the props should go to.
  • The button is greyed out while nothing is selected: Nothing is selected in the world yet.
  • At most the first 500 props of your selection move per click.
  • Props that are already on that map stay where they are.
  • When the map has no room left under Config.MaxObjectsPerMap: This map has reached its object limit.
  • When it worked: Moved 12 object(s) to another map.

Props that move from an enabled map to a disabled one disappear for players. Props that move the other way appear for them.


Deleting a map

Only a disabled map can be deleted. On an enabled map, Delete map is greyed out: Disable the map before deleting it.

  1. Untick On to disable the map.
  2. Press Delete map.
  3. Delete Map asks: This permanently deletes Docks and its 240 object(s). Type the map name to confirm. Type the name exactly as it is shown, then press Delete.

Deleted with the map:

  • every prop on it;
  • every GTA prop erased on it, so those GTA props are back in the world;
  • every light on it.

Editors who worked on the map move to the first enabled map. The entries in History stay, with the map shown by its number.

Deleting a map can’t be undone. Export it as JSON first if you might need it again. See Import, Export & Publish.


FAQ

Why don’t players see my new map?
New maps start disabled, as a Draft. Tick On in the Enabled column. Editors see drafts, players don’t.
Why is the Delete map button greyed out?
The map is enabled. Untick On first, then delete it.
Why did a map switch itself on or off?
A schedule rule names it. Such maps carry the Auto badge. While the schedule is live, the rules switch the map back at the next check. See Schedules.
Where do my props go when I have several maps?
To your working map: the map marked in the Working column and shown as Current project in the top bar. See The working map.