Getting this console spam

Calling hook CanCraft resulted in a conflict between the following plugins: ItemRetriever - True (Boolean), GunGame (False (Boolean))
Calling hook CanCraft resulted in a conflict between the following plugins: ItemRetriever - True (Boolean), GunGame (False (Boolean))

 

Getting this console spam and the developer of GunGame said ItemRetriever plugin Bool should probably return true could we fix this?

There may be a mistake in your message as the suggestion you provided (return true) is already what Item Retriever is doing (as you can see from the error message).

As for what is happening here, the CanCraft hook is used by plugins to either force-allow or force-deny crafting an item. In this case, Item Retriever is trying to force-allow crafting an item because the vanilla game would otherwise not allow it because the resources are not available through normal means (only Item Retriever knows how to get them). The GunGame plugin is trying to force-deny crafting an item because it's trying to block normal gameplay while the player is participating in a GunGame event/arena.

The way such a conflict is typically solved is by making one plugin basically ask the other plugin what it wants to do so they can come to agreement before they tell the framework what the result should be. Typically this means that one plugin needs to be coded to be aware of the other plugin. The problem with this approach is that there are many event plugins, and it's not feasible for Item Retriever to be aware of them all, nor is it reasonable for every event plugin to be aware of Item Retriever (or other plugins which want to return true from CanCraft). Unfortunately, the framework doesn't provide good ways to handle this systematically. The uMod framework provided features for better negotiation between plugins, but that entire project was scapped.

Which GunGame plugin is this? There are multiple with that name. I will discuss it further with the developer.