{"action":"created","issue":{"url":"https://api.github.com/repos/twizmwazin/CardinalPGM/issues/892","labels_url":"https://api.github.com/repos/twizmwazin/CardinalPGM/issues/892/labels{/name}","comments_url":"https://api.github.com/repos/twizmwazin/CardinalPGM/issues/892/comments","events_url":"https://api.github.com/repos/twizmwazin/CardinalPGM/issues/892/events","html_url":"https://github.com/twizmwazin/CardinalPGM/pull/892","id":108253066,"number":892,"title":"Implement title respawn module","user":{"login":"Alfalik","id":8951324,"avatar_url":"https://avatars.githubusercontent.com/u/8951324?v=3","gravatar_id":"","url":"https://api.github.com/users/Alfalik","html_url":"https://github.com/Alfalik","followers_url":"https://api.github.com/users/Alfalik/followers","following_url":"https://api.github.com/users/Alfalik/following{/other_user}","gists_url":"https://api.github.com/users/Alfalik/gists{/gist_id}","starred_url":"https://api.github.com/users/Alfalik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alfalik/subscriptions","organizations_url":"https://api.github.com/users/Alfalik/orgs","repos_url":"https://api.github.com/users/Alfalik/repos","events_url":"https://api.github.com/users/Alfalik/events{/privacy}","received_events_url":"https://api.github.com/users/Alfalik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/twizmwazin/CardinalPGM/labels/needs%20testing","name":"needs testing","color":"5319e7"},{"url":"https://api.github.com/repos/twizmwazin/CardinalPGM/labels/WIP","name":"WIP","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2015-09-25T03:01:15Z","updated_at":"2015-10-11T08:29:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/twizmwazin/CardinalPGM/pulls/892","html_url":"https://github.com/twizmwazin/CardinalPGM/pull/892","diff_url":"https://github.com/twizmwazin/CardinalPGM/pull/892.diff","patch_url":"https://github.com/twizmwazin/CardinalPGM/pull/892.patch"},"body":"I'll starting working on this feature, hope some of you could help me in any different ways, what is wrong, why something is not working, what can be improved, all is welcome.\r\n\r\nThings that does not work or are in the To-Do list:\r\n- [x] Last hit until a player dies is not registered, so the kill/death cause will be wrong.\r\n- [x] Titles are sent constantly only on first death, after the seconds death, they flash.\r\n- [ ] Allow players to enter regions that are denied to not-dead players.\r\n- [x] Check if a player has left clicked.\r\n- [x] Start a ```System.currentTimeMillis()``` on player death to store the time since a player died.\r\n- [x] Convert ```getTimeLeftToRespawn()``` to decimals ```(\"0,0\")```.\r\n- [x] Make the player ride an armor stand if the player is dead using packets\r\n- [ ] Change the name on tab list to dark gray and bold if the player is dead.\r\n- [ ] The exact sound on ```PlayerDeathEvent``` & when a player get a kill.\r\n- [x] Deny observers events if the player is dead (just add some checks on Observers Module)\r\n- [ ] Add ```message``` attribute. and allow them to have localization, as shown here:\r\n```xml\r\n<respawn delay=\"5s\" spectate=\"true\">\r\n    <message>{translate: \"death.respawn.confirmed.waiting.flagDropped\"}</message>\r\n</respawn>\r\n```\r\n\r\nThe logic of what message should be sent to the player is already done, but I need to get the time since the player died to make it work totally\r\n\r\nThanks in advance to @TheMolkaPL for the code :P"},"comment":{"url":"https://api.github.com/repos/twizmwazin/CardinalPGM/issues/comments/147172142","html_url":"https://github.com/twizmwazin/CardinalPGM/pull/892#issuecomment-147172142","issue_url":"https://api.github.com/repos/twizmwazin/CardinalPGM/issues/892","id":147172142,"user":{"login":"dentmaged","id":9807038,"avatar_url":"https://avatars.githubusercontent.com/u/9807038?v=3","gravatar_id":"","url":"https://api.github.com/users/dentmaged","html_url":"https://github.com/dentmaged","followers_url":"https://api.github.com/users/dentmaged/followers","following_url":"https://api.github.com/users/dentmaged/following{/other_user}","gists_url":"https://api.github.com/users/dentmaged/gists{/gist_id}","starred_url":"https://api.github.com/users/dentmaged/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dentmaged/subscriptions","organizations_url":"https://api.github.com/users/dentmaged/orgs","repos_url":"https://api.github.com/users/dentmaged/repos","events_url":"https://api.github.com/users/dentmaged/events{/privacy}","received_events_url":"https://api.github.com/users/dentmaged/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T08:29:52Z","updated_at":"2015-10-11T08:29:52Z","body":"@Prodigy4532 any logs?"}}