Hey, so I saw this while I was looking for a solution to disable all crafting. Its a very simple plugin that disables players ability to right click a workbench. Not sure if that is really what it does, but if someone wanted to convert this i think a lot of people would benefit from it. As i could see crafting ruining adventure and loot based servers, or trading based servers in general.
I kinda forgot about that, it isn’t a big deal i guess. I think removing or deactivating the 2x2 grid would be alot more complicated since its not a simple right click it involves the gui and what not. I know there is a mod that manages recipes, i could just try and disable the 2x2 ones, or just then ones that would impact adventure / rpg games the most.
I appreciate you helping me, hopefully people will fine this useful :D.
Apparently CraftingOutput is any possible crafting output - it doesn’t mean that the player actually crafted the item. I have yet to find any way to figure out if the player actually crafted anything, which is just completely ridiculous.
I would love to hear from someone knowledgeable about this as to how you’re supposed to listen for crafting events
To my knowledge there are no specific crafting events, the only way to do it is to listen to the inventory. Listening to player and workbench inventory clicks is the best you can get as far as I know, though that should catch every time a player crafts something I think. This may of course however not work properly for modded inventories.