Hi guys so I'm making plugin about instant respawn and I need help How to drop all items from player's inventory? Thanks
There is a method called Player::dropContents($level, $vec3) $level has to be an instance of your level and not the level name $vec3 is the position as a Vector3, you can also use $player for that Hope I could help you