If you are setting up custom items or troubleshooting an ability timer in game, Dynamic Durations Library requires a unique numerical ID for every individual cooldown or duration it tracks. You can generate these IDs directly in your chat window.
Generating an ID with Commands
To create a number that will not conflict with other gear powers, you need to run the vanilla random value command using the library's supported range:
1. Ensure cheats or operator permissions are enabled in your world.
2. Open the chat window.
3. Type or paste the following command and press Enter:
/random value -999999999..999999999
Minecraft will output a random integer between negative 999,999,999 and positive 999,999,999 in the chat box.
Assigning the ID
Once you have generated your random number:
1. Pick the specific weapon, piece of equipment, or ability that needs a cooldown or active duration timer.
2. Assign the generated number as that item's unique scoreboard ID within your setup.
3. Always run the command again to generate a fresh number for your next item so two different abilities never share the same timer.