A clone from the ShopKeepersPlugin