Create Zones
If you want to create a new zone open the admin pane and click the New Zone button.
A new menu will pop up, choose the distance for interaction, the job linked to that zone and the zone type.
Zone Types are defined in
config/events.lua > Config.Events

Once you click confirm a green bubble will show in front of you, place it where you want the zone to be generated, if the bubble turns green means the zone is ok.

Press E to confirm.
IMPORTANT: Make sure there's always an object inside the bubble, target scripts don't detect zones if there's no object colliding with the bubble.
Use your target system to test it, in this example I set a cashier zone which is NOT job restricted, if the zone is job restricted then only the player with the job can access it.

Last updated