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:
Set the
Server_Config.Statevalue tohostedInsert 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:
Set the
Config.LiveMapvalue totrueIf you only want on-duty units to have access to the live map, set the
Config.RestrictLiveMapvalue to true
Once you've completed those steps, restart the resource and the script will connect to dutylogs.
Last updated