{"action":"created","issue":{"url":"https://api.github.com/repos/pmmp/PocketMine-MP/issues/1777","repository_url":"https://api.github.com/repos/pmmp/PocketMine-MP","labels_url":"https://api.github.com/repos/pmmp/PocketMine-MP/issues/1777/labels{/name}","comments_url":"https://api.github.com/repos/pmmp/PocketMine-MP/issues/1777/comments","events_url":"https://api.github.com/repos/pmmp/PocketMine-MP/issues/1777/events","html_url":"https://github.com/pmmp/PocketMine-MP/pull/1777","id":279675972,"number":1777,"title":"add UUID ban/unban","user":{"login":"dschwartz783","id":4469126,"avatar_url":"https://avatars1.githubusercontent.com/u/4469126?v=4","gravatar_id":"","url":"https://api.github.com/users/dschwartz783","html_url":"https://github.com/dschwartz783","followers_url":"https://api.github.com/users/dschwartz783/followers","following_url":"https://api.github.com/users/dschwartz783/following{/other_user}","gists_url":"https://api.github.com/users/dschwartz783/gists{/gist_id}","starred_url":"https://api.github.com/users/dschwartz783/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschwartz783/subscriptions","organizations_url":"https://api.github.com/users/dschwartz783/orgs","repos_url":"https://api.github.com/users/dschwartz783/repos","events_url":"https://api.github.com/users/dschwartz783/events{/privacy}","received_events_url":"https://api.github.com/users/dschwartz783/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2017-12-06T09:06:47Z","updated_at":"2017-12-06T11:03:17Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/pmmp/PocketMine-MP/pulls/1777","html_url":"https://github.com/pmmp/PocketMine-MP/pull/1777","diff_url":"https://github.com/pmmp/PocketMine-MP/pull/1777.diff","patch_url":"https://github.com/pmmp/PocketMine-MP/pull/1777.patch"},"body":"UUIDs are a far more reliable method to uniquely\r\nidentify players.\r\n\r\n## Introduction\r\nThis allows server admins to ban a player based on UUID, using either the player's UUID directly, or the player's name. It also lets them unban an UUID.\r\n\r\n## Changes\r\n### API changes\r\ngetUUIDBans is now a function on the Server instance.\r\n\r\n### Behavioural changes\r\nN/A\r\n\r\n## Backwards compatibility\r\nN/A\r\n\r\nRequires translations:\r\n\r\n| Name | Value in eng.ini |\r\n| :--: | :---: |\r\n| `commands.banlist.uuids` | `There are {%0} total banned UUIDs` |\r\n| `commands.banuuid.invalid` | `You have entered an invalid UUID or a player that is not online` |\r\n| `commands.banuuid.success.players` | `Banned UUID {%0} belonging to {%1}` |\r\n| `commands.banuuid.success` | `Banned UUID {%0}` |\r\n| `commands.banuuid.usage` | `/ban-uuid <uuid|name> [reason ...]` |\r\n| `commands.unbanuuid.success` | `Unbanned UUID {%0}` |\r\n| `commands.unbanuuid.usage` | `/pardon-uuid <uuid>` |\r\n\r\n-->\r\n\r\n## Tests\r\nI've tested all the commands, and they work correctly (in English, at least), and players cannot log in when their UUID is banned."},"comment":{"url":"https://api.github.com/repos/pmmp/PocketMine-MP/issues/comments/349606466","html_url":"https://github.com/pmmp/PocketMine-MP/pull/1777#issuecomment-349606466","issue_url":"https://api.github.com/repos/pmmp/PocketMine-MP/issues/1777","id":349606466,"user":{"login":"dschwartz783","id":4469126,"avatar_url":"https://avatars1.githubusercontent.com/u/4469126?v=4","gravatar_id":"","url":"https://api.github.com/users/dschwartz783","html_url":"https://github.com/dschwartz783","followers_url":"https://api.github.com/users/dschwartz783/followers","following_url":"https://api.github.com/users/dschwartz783/following{/other_user}","gists_url":"https://api.github.com/users/dschwartz783/gists{/gist_id}","starred_url":"https://api.github.com/users/dschwartz783/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschwartz783/subscriptions","organizations_url":"https://api.github.com/users/dschwartz783/orgs","repos_url":"https://api.github.com/users/dschwartz783/repos","events_url":"https://api.github.com/users/dschwartz783/events{/privacy}","received_events_url":"https://api.github.com/users/dschwartz783/received_events","type":"User","site_admin":false},"created_at":"2017-12-06T11:03:17Z","updated_at":"2017-12-06T11:03:17Z","author_association":"CONTRIBUTOR","body":"@dktapps I can think if countless things that would break, if players were allowed to use the usernames of previously-banned players, but with different UUIDs. Perhaps that's a can of worms we should open at a later date."}}
{"actor":{"display_login":"dschwartz783"}}