Autosmelting plugin