Many features of TR Tools, including Custom Items and Licenses, require that you specify a Nexus ID when initializing. The mod management screen also requires that a Nexus ID is either initialized or found in the config file for a mod to show up. Here is where we'll explain how to find your Nexus ID and why it's necessary.
Nexus Mods is the most popular modding website and is where the vast majority of Dinkum mods are uploaded. Every mod uploaded to Nexus has a number in the URL. This is a unique ID for that mod only.
So, to find the Nexus ID for a mod, you simply go to that mod's webpage and look at the URL. For example, if you go to the TR Tools nexus page and look at the URL, you'll see the number ‘83’ at the end. This is what we call the Nexus ID.
If you are a modder and do not have a webpage for the mod yet, you can create the mod page to get an ID and then simply leave it unpublished until you are ready to release.
In order to properly save and load custom item and license data, each item and license needs to have a unique identifier. The mod name or pluginGuid won't work for this because we can't be sure they won't be changed at some point. We also wanted the ID to be very simple and short so that its easy to use the ID with chat commands. We felt the simplest way to ensure IDs are always unique was to use a value specific to each mod that we can already be sure is unique… the mod's Nexus ID. No two Dinkum mods will have the same ID in their nexus URL.
Fortunately, you can use this ID even if your mod page is not published. So, if you are creating a custom item or license, we recommend just making a basic mod page and leaving it unpublished. If you do not plan to upload your mod to Nexus ever, that is okay, you can leave the mod page unpublished permanently. Your mod will not show up in the mod update screen, but the ID will still work for features like custom items and licenses.
If you are a modder and you just want to test an idea out without having to make a mod page, enable Development Mode in the TR Tools configuration file. While it is active, the API will allow you to add custom items and test them. However, releasing a mod that adds custom items or licenses without the nexus ID properly set can cause issues. So, be sure to set the nexus ID before sharing the mod.