Setting up a new set

Developer Mode

To begin adding new bollard sets around the map, make sure you've enabled the enableDeveloperMode in the config.lua file. You will not be able to access the menu and add new bollards unless you have this enabled.

Creating new Bollard Groups

Once you have entered the server, head to the area where you intend to create a new bollard set.

Next, use the /bollards create [name] command by entering a name for the bollard set, such as carPark or policeStation. You will be placed into a spooner menu which will give you 4 models you can spawn in - static bollard, mobile bollard, signal post and a signal post with a bollard.

Use your arrow keys to select between the props and press ENTER to confirm your selection. You can also change from the no clip version to player view, by clicking enter on Toggle No-Clip.

To rotate these props you can grab the prop with your mouse and hold R, When creating a set you need to have either a Static Bollard or Mobile Bollard and you need a signal post with any of these. Once you have setup your resource you can select Save Changes. If you do not wish to keep this you can click Delete Selected.

Setting a proximity range

Once you have clicked "Save Changes" on the menu, you'll be asked to enter a few values on-screen. Starting off with the proximity range. This will be the range that the bollards will lower or raise with the vehicle, which will be 6.0 metres by default. Press ENTER to confirm.

Setting a pin code to open bollards

You'll then be asked to enter a pin code. By default this is 0 which disables the pin code to open these. Alternatively, you can change this to a custom pin such as 1234. Press ENTER to confirm

Setting a time before bollards rise after pin code entered

After that you will get another prompt asking you to enter the duration that the bollards will remain down after a successful pin is entered. Entering -1 (the default value) will disable this, meaning the bollards will stay up or down until the pin is entered again, which could be useful when large amounts of vehicles need to pass through.

Adding permission groups to the bollards

Your next prompt is to enter your desired permission groups. By default, this is set to 'all' which allows all vehicles to enter the bollards when in range. You can enter any permission sets previously setup in the config.lua file. For example if we selected the permission set of POLICE, anything in the permitted vehicles, ace permissions or in the job check will open these bollards automatically. You can set multiple permission sets by entering their names separated by a space.

Once you press enter this will create the bollards and it is ready to go!

Deleting a Bollard Group

To delete a bollard you can do this with ease in-game. By running the command /bollards delete <name>. After doing so, you'll receive an on-screen prompt asking you to re-enter the command to confirm the deletion.

Editing a Bollard Group

To edit a bollard manually, you'll need to enter bollardsets.json here is where you can change values about the sets. You will be able to change location values, the pin code, the timings, load in Distance, permissions and waiting Times. In the future, we hope to introduce easy editing through the menu!

"options": {
        "loadInDistance": 150.0,
        "lowerRaiseRange": 6.0,
        "usePincode": true,
        "waitTimeAfterPincode": -1,
        "pincode": "1234",
        "permissionSets": [
            "all"
        ],
        "waitTimeBeforeLowering": 2000
    }
},

Last updated