Implementing inventory in the SmartFoxServer