{"action":"created","issue":{"url":"https://api.github.com/repos/Civcraft/NameLayer/issues/63","labels_url":"https://api.github.com/repos/Civcraft/NameLayer/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/Civcraft/NameLayer/issues/63/comments","events_url":"https://api.github.com/repos/Civcraft/NameLayer/issues/63/events","html_url":"https://github.com/Civcraft/NameLayer/pull/63","id":56898704,"number":63,"title":"Adds a command to change a players name","user":{"login":"spaceFountain","id":5590191,"avatar_url":"https://avatars.githubusercontent.com/u/5590191?v=3","gravatar_id":"","url":"https://api.github.com/users/spaceFountain","html_url":"https://github.com/spaceFountain","followers_url":"https://api.github.com/users/spaceFountain/followers","following_url":"https://api.github.com/users/spaceFountain/following{/other_user}","gists_url":"https://api.github.com/users/spaceFountain/gists{/gist_id}","starred_url":"https://api.github.com/users/spaceFountain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spaceFountain/subscriptions","organizations_url":"https://api.github.com/users/spaceFountain/orgs","repos_url":"https://api.github.com/users/spaceFountain/repos","events_url":"https://api.github.com/users/spaceFountain/events{/privacy}","received_events_url":"https://api.github.com/users/spaceFountain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-07T05:38:24Z","updated_at":"2015-02-08T04:27:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Civcraft/NameLayer/pulls/63","html_url":"https://github.com/Civcraft/NameLayer/pull/63","diff_url":"https://github.com/Civcraft/NameLayer/pull/63.diff","patch_url":"https://github.com/Civcraft/NameLayer/pull/63.patch"},"body":"This is a bit of a hack to be honest. I think it will work but only under a couple of circumstances. First it should only be run with the op online or preferably from the console. There is a very real possibility of a race condition possibly not with the current state of NameLayer as I believe it functions mostly in a single thread but quite possibly in newer versions.\r\n\r\nI also encountered a bug when working on this. Because Bukkit allows listeners to PlayerJoinEvent to change the join message the join message is set before the player joins. This shouldn't be a problem for Civcraft but may well be a problem for other servers and it cost basically nothing to fix."},"comment":{"url":"https://api.github.com/repos/Civcraft/NameLayer/issues/comments/73396542","html_url":"https://github.com/Civcraft/NameLayer/pull/63#issuecomment-73396542","issue_url":"https://api.github.com/repos/Civcraft/NameLayer/issues/63","id":73396542,"user":{"login":"rourke750","id":1648936,"avatar_url":"https://avatars.githubusercontent.com/u/1648936?v=3","gravatar_id":"","url":"https://api.github.com/users/rourke750","html_url":"https://github.com/rourke750","followers_url":"https://api.github.com/users/rourke750/followers","following_url":"https://api.github.com/users/rourke750/following{/other_user}","gists_url":"https://api.github.com/users/rourke750/gists{/gist_id}","starred_url":"https://api.github.com/users/rourke750/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rourke750/subscriptions","organizations_url":"https://api.github.com/users/rourke750/orgs","repos_url":"https://api.github.com/users/rourke750/repos","events_url":"https://api.github.com/users/rourke750/events{/privacy}","received_events_url":"https://api.github.com/users/rourke750/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T04:27:51Z","updated_at":"2015-02-08T04:27:51Z","body":"In the method you have the new name to change the player to but you dont add that anywhere in the database, you just delete the name from the db,"}}