After installing NoCraft I can no longer craft a rock. "Crafting of rock as been disabled".
I know... your first thought is that I still have the rock listed in the config file, as it's one of the default entries, but that's not the case. I've updated the config and confirmed that it is not there. I've also confirmed that the entries that are there function properly and I cannot craft them either. I've unloaded, reloaded and even done a server restart but to no avail. If I unload the plugin I can craft it. When I reload... same problem.
Any ideas? Maybe there's something blatently obvious I'm missing? I'm hoping it's some type of "duh!" moment.
Unable to craft Rock
I just downloaded this plugin and realized I had the same issue. There is a way to fix it. Just follow these steps:
1. Unload the plugin
2. Delete your config file (important as the plugin needs to generate a new one after the fix)
3. Edit plugin file NoCraft.cs in a text editor.
4. In the file, find the section that contains:
BlockedItems = new Dictionary<string, bool>
{
["rock"] = true,
["note"] = false5. Change "rock" and "note" to "itemname1" and "itemname2" - like this:
BlockedItems = new Dictionary<string, bool>
{
["itemname1"] = true,
["itemname2"] = false6. Save the edited file and reload the plugin. The newly generated config file will no longer have note and rock, but itemname1 and 2. Leave those there and just add your blocked crafted items under them. Should work now.
Zoreeno
I just downloaded this plugin and realized I had the same issue. There is a way to fix it. Just follow these steps:
1. Unload the plugin
2. Delete your config file (important as the plugin needs to generate a new one after the fix)
3. Edit plugin file NoCraft.cs in a text editor.
4. In the file, find the section that contains:BlockedItems = new Dictionary<string, bool> { ["rock"] = true, ["note"] = false
5. Change "rock" and "note" to "itemname1" and "itemname2" - like this:BlockedItems = new Dictionary<string, bool> { ["itemname1"] = true, ["itemname2"] = false6. Save the edited file and reload the plugin. The newly generated config file will no longer have note and rock, but itemname1 and 2. Leave those there and just add your blocked crafted items under them. Should work now.
that did the trick thank you.