{"action":"opened","issue":{"url":"https://api.github.com/repos/DenizenScript/Denizen-For-Bukkit/issues/1137","labels_url":"https://api.github.com/repos/DenizenScript/Denizen-For-Bukkit/issues/1137/labels{/name}","comments_url":"https://api.github.com/repos/DenizenScript/Denizen-For-Bukkit/issues/1137/comments","events_url":"https://api.github.com/repos/DenizenScript/Denizen-For-Bukkit/issues/1137/events","html_url":"https://github.com/DenizenScript/Denizen-For-Bukkit/issues/1137","id":100902280,"number":1137,"title":"Optimize PlayerInteractEvent","user":{"login":"Log1x","id":5745907,"avatar_url":"https://avatars.githubusercontent.com/u/5745907?v=3","gravatar_id":"","url":"https://api.github.com/users/Log1x","html_url":"https://github.com/Log1x","followers_url":"https://api.github.com/users/Log1x/followers","following_url":"https://api.github.com/users/Log1x/following{/other_user}","gists_url":"https://api.github.com/users/Log1x/gists{/gist_id}","starred_url":"https://api.github.com/users/Log1x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Log1x/subscriptions","organizations_url":"https://api.github.com/users/Log1x/orgs","repos_url":"https://api.github.com/users/Log1x/repos","events_url":"https://api.github.com/users/Log1x/events{/privacy}","received_events_url":"https://api.github.com/users/Log1x/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-14T00:44:01Z","updated_at":"2015-08-14T00:44:01Z","closed_at":null,"body":"Hi.\r\n\r\nUpdated to the latest Dev build and it fixed the resource usage of ProximityTrigger as well as the Essentials Sudo crash bug when making players type in chat. \r\n\r\nThanks for that! \r\n\r\nBut along has come the PlayerInteractEvent which is about 5-10x more intensive than ProximityTrigger was a few builds ago. It\r\n\r\n![Screenshot](http://log1x.com/screenshots/2015-08-13_20-37-34_FqEn3.png)\r\n\r\nAs you can see in the screenshot, this is with no players interacting with any Denizen-running NPC's since server start (in fact, there are no players in the same world as an NPC)\r\n\r\nAny optimizations that could be made to help with Denizen's footprint would be greatly appreciated! I feel like it should be substantially lower resource-wise than being the number 1 highest resource usage plugin out of 73 with only a single NPC in hub world that runs a single player command on right click.\r\n\r\nThank you very much!"}}