{"action":"closed","issue":{"url":"https://api.github.com/repos/SmartlyDressedGames/Unturned-3.x-Community/issues/114","repository_url":"https://api.github.com/repos/SmartlyDressedGames/Unturned-3.x-Community","labels_url":"https://api.github.com/repos/SmartlyDressedGames/Unturned-3.x-Community/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/SmartlyDressedGames/Unturned-3.x-Community/issues/114/comments","events_url":"https://api.github.com/repos/SmartlyDressedGames/Unturned-3.x-Community/issues/114/events","html_url":"https://github.com/SmartlyDressedGames/Unturned-3.x-Community/issues/114","id":278797910,"number":114,"title":"More Key Presses For Plugins","user":{"login":"Torubloo","id":25128333,"avatar_url":"https://avatars3.githubusercontent.com/u/25128333?v=4","gravatar_id":"","url":"https://api.github.com/users/Torubloo","html_url":"https://github.com/Torubloo","followers_url":"https://api.github.com/users/Torubloo/followers","following_url":"https://api.github.com/users/Torubloo/following{/other_user}","gists_url":"https://api.github.com/users/Torubloo/gists{/gist_id}","starred_url":"https://api.github.com/users/Torubloo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Torubloo/subscriptions","organizations_url":"https://api.github.com/users/Torubloo/orgs","repos_url":"https://api.github.com/users/Torubloo/repos","events_url":"https://api.github.com/users/Torubloo/events{/privacy}","received_events_url":"https://api.github.com/users/Torubloo/received_events","type":"User","site_admin":false},"labels":[{"id":722616585,"url":"https://api.github.com/repos/SmartlyDressedGames/Unturned-3.x-Community/labels/Priority:%20Low","name":"Priority: Low","color":"fbca04","default":false},{"id":722613051,"url":"https://api.github.com/repos/SmartlyDressedGames/Unturned-3.x-Community/labels/Status:%20Backlog","name":"Status: Backlog","color":"b0b0b0","default":false},{"id":730683566,"url":"https://api.github.com/repos/SmartlyDressedGames/Unturned-3.x-Community/labels/Type:%20Feature","name":"Type: Feature","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-12-03T16:50:51Z","updated_at":"2018-05-04T20:13:46Z","closed_at":"2018-05-04T20:13:46Z","author_association":"NONE","body":"it would be great to be able to check when ANY key is press, this would allow plugins to have custom keybinds to do things, right now you can check for only the things below\r\n```\r\nthis.keys[0] = this.player.movement.jump;\r\nthis.keys[1] = this.player.equipment.primary;\r\nthis.keys[2] = this.player.equipment.secondary;\r\nthis.keys[3] = this.player.stance.crouch;\r\nthis.keys[4] = this.player.stance.prone;\r\nthis.keys[5] = this.player.stance.sprint;\r\nthis.keys[6] = this.player.animator.leanLeft;\r\nthis.keys[7] = this.player.animator.leanRight;\r\n```\r\n\r\nClearly this would have to be limited so it only sends key presses if they are tabbed into the game and don't have steam overlay open, otherwise you could keylog"}}
{"actor":{"display_login":"SDGNelson"}}