{"action":"created","issue":{"url":"https://api.github.com/repos/Tethered/FactionsPro/issues/74","labels_url":"https://api.github.com/repos/Tethered/FactionsPro/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/Tethered/FactionsPro/issues/74/comments","events_url":"https://api.github.com/repos/Tethered/FactionsPro/issues/74/events","html_url":"https://github.com/Tethered/FactionsPro/issues/74","id":103562513,"number":74,"title":"Little question","user":{"login":"Taytan9912","id":13715380,"avatar_url":"https://avatars.githubusercontent.com/u/13715380?v=3","gravatar_id":"","url":"https://api.github.com/users/Taytan9912","html_url":"https://github.com/Taytan9912","followers_url":"https://api.github.com/users/Taytan9912/followers","following_url":"https://api.github.com/users/Taytan9912/following{/other_user}","gists_url":"https://api.github.com/users/Taytan9912/gists{/gist_id}","starred_url":"https://api.github.com/users/Taytan9912/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taytan9912/subscriptions","organizations_url":"https://api.github.com/users/Taytan9912/orgs","repos_url":"https://api.github.com/users/Taytan9912/repos","events_url":"https://api.github.com/users/Taytan9912/events{/privacy}","received_events_url":"https://api.github.com/users/Taytan9912/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-08-27T17:59:39Z","updated_at":"2015-08-29T18:08:27Z","closed_at":null,"body":"How i can hide this stars? You know, officers and leaders\r\nthx"},"comment":{"url":"https://api.github.com/repos/Tethered/FactionsPro/issues/comments/136021071","html_url":"https://github.com/Tethered/FactionsPro/issues/74#issuecomment-136021071","issue_url":"https://api.github.com/repos/Tethered/FactionsPro/issues/74","id":136021071,"user":{"login":"Taytan9912","id":13715380,"avatar_url":"https://avatars.githubusercontent.com/u/13715380?v=3","gravatar_id":"","url":"https://api.github.com/users/Taytan9912","html_url":"https://github.com/Taytan9912","followers_url":"https://api.github.com/users/Taytan9912/followers","following_url":"https://api.github.com/users/Taytan9912/following{/other_user}","gists_url":"https://api.github.com/users/Taytan9912/gists{/gist_id}","starred_url":"https://api.github.com/users/Taytan9912/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Taytan9912/subscriptions","organizations_url":"https://api.github.com/users/Taytan9912/orgs","repos_url":"https://api.github.com/users/Taytan9912/repos","events_url":"https://api.github.com/users/Taytan9912/events{/privacy}","received_events_url":"https://api.github.com/users/Taytan9912/received_events","type":"User","site_admin":false},"created_at":"2015-08-29T18:08:27Z","updated_at":"2015-08-29T18:08:27Z","body":"This is piece of my listener.php\r\n\r\n\r\n}\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\t\r\n\t\t//Member\r\n\t\tif($this->plugin->isInFaction($PCE->getPlayer()->getName()) && $this->plugin->isMember($PCE->getPlayer()->getName())) {\r\n\t\t\t$message = $PCE->getMessage();\r\n\t\t\t$player = $PCE->getPlayer()->getName();\r\n\t\t\t$faction = $this->plugin->getPlayerFaction($player);\r\n\t\t\t\r\n\t\t\t$PCE->setFormat(\"[$faction] $player: $message\");\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\t//Officer\r\n\t\telseif($this->plugin->isInFaction($PCE->getPlayer()->getName()) && $this->plugin->isOfficer($PCE->getPlayer()->getName())) {\r\n\t\t\t$message = $PCE->getMessage();\r\n\t\t\t$player = $PCE->getPlayer()->getName();\r\n\t\t\t$faction = $this->plugin->getPlayerFaction($player);\r\n\t\t\t\r\n\t\t\t$PCE->setFormat(\"[$faction] $player: $message\");\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\t//Leader\r\n\t\telseif($this->plugin->isInFaction($PCE->getPlayer()->getName()) && $this->plugin->isLeader($PCE->getPlayer()->getName())) {\r\n\t\t\t$message = $PCE->getMessage();\r\n\t\t\t$player = $PCE->getPlayer()->getName();\r\n\t\t\t$faction = $this->plugin->getPlayerFaction($player);\r\n\t\t\t$PCE->setFormat(\"[$faction] $player: $message\");\r\n\t\t\treturn true;\r\n\t\t//Not in faction\r\n\t\t}else {\r\n\t\t\t$message = $PCE->getMessage();\r\n\t\t\t$player = $PCE->getPlayer()->getName();\r\n\t\t\t$PCE->setFormat(\"$player: $message\");\r\n\t\t}\r\n\t}"}}