This was the error output I was given upon using the 'o.reload FancyDrop' command. If I use commands the airdrops will spawn, but they don't automatically drop due to timers as I was hoping they would.
ERROR:
https://imgur.com/7snVDd8
(RED ERROR) Timers aren't working
I have also just confirmed that this error is present upon downloading the plugin, & installing it. Just to confirm it doesn't have anything to do with certain editing of the config file etc.
Read the Special Notes section of the documentation for that issue. Nothing to do with timers.
I read the instructions under 'Special Notes' & created a json file within my data file then pasted the code into it as shown. Upon reloading the plugin I got this new larger Red Error Code.
ERROR:
https://imgur.com/ZT1FFUv
Followed the "Special Notes"... still errors out.
Make sure BEFORE you are creating that file that you unloaded the plugin or it will not work.
FastBurst
Make sure BEFORE you are creating that file that you unloaded the plugin or it will not work.
It's okay. I got another plugin that does it without issues.
it's not related to special note
void ExportLootSpawn(ExportData expData, LootSpawn lootSpawn, int level)
{
if (lootSpawn.subSpawn != null && lootSpawn.subSpawn.Length > 0)
{
if (!expData.Categories.ContainsKey(level))
expData.Categories.Add(level, new Dictionary<string, Dictionary<string, int>>());
foreach (var entry in lootSpawn.subSpawn)
{
string cat = entry.category.ToString().Replace(" (LootSpawn)", "");
if (!expData.Categories[level].ContainsKey(lootSpawn.name))
expData.Categories[level].Add(lootSpawn.name, new Dictionary<string, int>());
expData.Categories[level][lootSpawn.name][cat] = entry.weight;
ExportLootSpawn(expData, entry.category, level + 1);
}
return;
}
if (lootSpawn.items != null && lootSpawn.items.Length > 0)
{
foreach (var amount in lootSpawn.items)
{
if (!expData.Items.ContainsKey(lootSpawn.name))
expData.Items.Add(lootSpawn.name, new Dictionary<string, int>());
expData.Items[lootSpawn.name][amount.itemDef.shortname] = (int)amount.amount;
}
}
}fix for error