{"action":"created","issue":{"url":"https://api.github.com/repos/twizmwazin/CardinalPGM/issues/1044","repository_url":"https://api.github.com/repos/twizmwazin/CardinalPGM","labels_url":"https://api.github.com/repos/twizmwazin/CardinalPGM/issues/1044/labels{/name}","comments_url":"https://api.github.com/repos/twizmwazin/CardinalPGM/issues/1044/comments","events_url":"https://api.github.com/repos/twizmwazin/CardinalPGM/issues/1044/events","html_url":"https://github.com/twizmwazin/CardinalPGM/pull/1044","id":162836711,"number":1044,"title":"Implement Free-for-all","user":{"login":"Pablete1234","id":11789291,"avatar_url":"https://avatars.githubusercontent.com/u/11789291?v=3","gravatar_id":"","url":"https://api.github.com/users/Pablete1234","html_url":"https://github.com/Pablete1234","followers_url":"https://api.github.com/users/Pablete1234/followers","following_url":"https://api.github.com/users/Pablete1234/following{/other_user}","gists_url":"https://api.github.com/users/Pablete1234/gists{/gist_id}","starred_url":"https://api.github.com/users/Pablete1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pablete1234/subscriptions","organizations_url":"https://api.github.com/users/Pablete1234/orgs","repos_url":"https://api.github.com/users/Pablete1234/repos","events_url":"https://api.github.com/users/Pablete1234/events{/privacy}","received_events_url":"https://api.github.com/users/Pablete1234/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,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-06-29T04:05:04Z","updated_at":"2016-10-18T15:01:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/twizmwazin/CardinalPGM/pulls/1044","html_url":"https://github.com/twizmwazin/CardinalPGM/pull/1044","diff_url":"https://github.com/twizmwazin/CardinalPGM/pull/1044.diff","patch_url":"https://github.com/twizmwazin/CardinalPGM/pull/1044.patch"},"body":"Title says all you need to know\r\n\r\n\r\nInto specifics:\r\nWith this, there are a total of 3 types of teams, the regular TeamModule, a PlayerModule (a team module for every single joined player in ffa), and a PlayerModuleManager (this one creates a player module for each player, and handles that stuff).\r\n\r\nAll other modules can use `Teams.getTeams`, `Teams.getTeamsAndPlayers` and `Teams.getTeamsAndPlayerManager`, to use examples, HillObjective uses getTeamsAndPlayers, because that will give the list of all teams with each player counting as one team (so that one player can cap that hill), the tab list would use getTeamsAndPlayerManager, because it wants to have all the players inside the same team.\r\n\r\nWhile a player is joined in a ffa match, he is effectively in 2 teams at once, join events should be handled with the PlayerManagerModule (aka: when leaving, the old team will be the PlayerManagerModule)."},"comment":{"url":"https://api.github.com/repos/twizmwazin/CardinalPGM/issues/comments/254535527","html_url":"https://github.com/twizmwazin/CardinalPGM/pull/1044#issuecomment-254535527","issue_url":"https://api.github.com/repos/twizmwazin/CardinalPGM/issues/1044","id":254535527,"user":{"login":"Lmmb74","id":8952159,"avatar_url":"https://avatars.githubusercontent.com/u/8952159?v=3","gravatar_id":"","url":"https://api.github.com/users/Lmmb74","html_url":"https://github.com/Lmmb74","followers_url":"https://api.github.com/users/Lmmb74/followers","following_url":"https://api.github.com/users/Lmmb74/following{/other_user}","gists_url":"https://api.github.com/users/Lmmb74/gists{/gist_id}","starred_url":"https://api.github.com/users/Lmmb74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lmmb74/subscriptions","organizations_url":"https://api.github.com/users/Lmmb74/orgs","repos_url":"https://api.github.com/users/Lmmb74/repos","events_url":"https://api.github.com/users/Lmmb74/events{/privacy}","received_events_url":"https://api.github.com/users/Lmmb74/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T15:01:24Z","updated_at":"2016-10-18T15:01:24Z","body":":DDDDDDDDDDD"}}
{"actor":{"display_login":"Lmmb74"}}