{"action":"created","issue":{"url":"https://api.github.com/repos/ImagicalGamer/SurvivalGamesV3/issues/142","repository_url":"https://api.github.com/repos/ImagicalGamer/SurvivalGamesV3","labels_url":"https://api.github.com/repos/ImagicalGamer/SurvivalGamesV3/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/ImagicalGamer/SurvivalGamesV3/issues/142/comments","events_url":"https://api.github.com/repos/ImagicalGamer/SurvivalGamesV3/issues/142/events","html_url":"https://github.com/ImagicalGamer/SurvivalGamesV3/issues/142","id":153592508,"number":142,"title":"Delete the Inventory","user":{"login":"iMOEchan","id":18722124,"avatar_url":"https://avatars.githubusercontent.com/u/18722124?v=3","gravatar_id":"","url":"https://api.github.com/users/iMOEchan","html_url":"https://github.com/iMOEchan","followers_url":"https://api.github.com/users/iMOEchan/followers","following_url":"https://api.github.com/users/iMOEchan/following{/other_user}","gists_url":"https://api.github.com/users/iMOEchan/gists{/gist_id}","starred_url":"https://api.github.com/users/iMOEchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iMOEchan/subscriptions","organizations_url":"https://api.github.com/users/iMOEchan/orgs","repos_url":"https://api.github.com/users/iMOEchan/repos","events_url":"https://api.github.com/users/iMOEchan/events{/privacy}","received_events_url":"https://api.github.com/users/iMOEchan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ImagicalGamer/SurvivalGamesV3/labels/Important!","name":"Important!","color":"FF5733"},{"url":"https://api.github.com/repos/ImagicalGamer/SurvivalGamesV3/labels/INVALID%20ISSUE","name":"INVALID ISSUE","color":"000000"},{"url":"https://api.github.com/repos/ImagicalGamer/SurvivalGamesV3/labels/README","name":"README","color":"FFFF00"},{"url":"https://api.github.com/repos/ImagicalGamer/SurvivalGamesV3/labels/Suggestion","name":"Suggestion","color":"581845"}],"state":"closed","locked":false,"assignee":{"login":"ImagicalGamer","id":17521434,"avatar_url":"https://avatars.githubusercontent.com/u/17521434?v=3","gravatar_id":"","url":"https://api.github.com/users/ImagicalGamer","html_url":"https://github.com/ImagicalGamer","followers_url":"https://api.github.com/users/ImagicalGamer/followers","following_url":"https://api.github.com/users/ImagicalGamer/following{/other_user}","gists_url":"https://api.github.com/users/ImagicalGamer/gists{/gist_id}","starred_url":"https://api.github.com/users/ImagicalGamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ImagicalGamer/subscriptions","organizations_url":"https://api.github.com/users/ImagicalGamer/orgs","repos_url":"https://api.github.com/users/ImagicalGamer/repos","events_url":"https://api.github.com/users/ImagicalGamer/events{/privacy}","received_events_url":"https://api.github.com/users/ImagicalGamer/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2016-05-07T12:38:13Z","updated_at":"2016-05-09T02:01:19Z","closed_at":"2016-05-08T02:14:11Z","body":"Sorry if I put this post in the wrong category, because I do not know where to put this post. Hi I had suggestion, when player left the game, delete they inventory\r\n\r\nlike this\r\n\r\n<?php\r\nuse pocketmine\\plugin\\PluginBase;\r\nuse pockemine\\event\\Listener;\r\nuse pocketmine\\event\\player\\PlayerQuitEvent;\r\nuse pocketmine\\item\\Item;\r\n\r\nnamespace Plugin;\r\n\r\nclass Main extends PluginBase implements Listener {\r\n\r\n    public function onEnable() {\r\n    $this->getServer()->getPluginManager()->registerEvents($this, $this);\r\n    }\r\n\r\n    public function onQuit(PlayerQuitEvent $event) {\r\n    $event->getPlayer()->getInventory()->setContents(array(Item::get(0, 0, 0));\r\n    }\r\n}"},"comment":{"url":"https://api.github.com/repos/ImagicalGamer/SurvivalGamesV3/issues/comments/217761677","html_url":"https://github.com/ImagicalGamer/SurvivalGamesV3/issues/142#issuecomment-217761677","issue_url":"https://api.github.com/repos/ImagicalGamer/SurvivalGamesV3/issues/142","id":217761677,"user":{"login":"remotevase","id":16277471,"avatar_url":"https://avatars.githubusercontent.com/u/16277471?v=3","gravatar_id":"","url":"https://api.github.com/users/remotevase","html_url":"https://github.com/remotevase","followers_url":"https://api.github.com/users/remotevase/followers","following_url":"https://api.github.com/users/remotevase/following{/other_user}","gists_url":"https://api.github.com/users/remotevase/gists{/gist_id}","starred_url":"https://api.github.com/users/remotevase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remotevase/subscriptions","organizations_url":"https://api.github.com/users/remotevase/orgs","repos_url":"https://api.github.com/users/remotevase/repos","events_url":"https://api.github.com/users/remotevase/events{/privacy}","received_events_url":"https://api.github.com/users/remotevase/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T02:01:19Z","updated_at":"2016-05-09T02:01:19Z","body":"Oh, yeah..."}}