Hi guys, i thought it might be more convenient if i put this all into one thread! Basically, i want to: Reset My Map, Have some Delays (Please don't link me to the recent countdown thread, because that is not a very good way from experience), AND... get the players FULL inventory and store it in some way... so then i can set the player's inventory back to that variable if that makes sense ! thanks!
Ok, I've worked out the inventory part! Just for everyone else's sake: to get the inventory of a player as an array use: $var = $playerinstance->getInventory()->getContents(); to set it: $playerinstance->getInventory()->setContents($var); This is very useful for multiworld inventories! Tell me if this helped you