Installation Guide

In order for dutylogs to work, nex-duty is required to be installed and setup in your server. This is a standalone resource that we created, but doubles up as the integration resource between your server and dutylogs. Once you have nex-duty setup, the installation process for dutylogs is very simple.

In config/server_config.lua:

  1. Set the Server_Config.State value to hosted

  2. Insert your servers Private API Key into Server_Config.API_KEY

As of right now, the site utilises the image_url value in each entities configuration in Config.Entities in the config/shared_config.lua. You must include a .png image url for each entity, otherwise the entity (department) images on dutylogs will be blank.

If you want to use the Live Map feature, in config/shared_config.lua:

  1. Set the Config.LiveMap value to true

  2. If you only want on-duty units to have access to the live map, set the Config.RestrictLiveMap value to true

Once you've completed those steps, restart the resource and the script will connect to dutylogs.

Last updated