public static function permissionType($type)
    {
        if ($type == TeamSpeak3::PERM_TYPE_SERVERGROUP) {
            return "Server Group";
        }
        if ($type == TeamSpeak3::PERM_TYPE_CLIENT) {
            return "Client";
        }
        if ($type == TeamSpeak3::PERM_TYPE_CHANNEL) {
            return "Channel";
        }
        if ($type == TeamSpeak3::PERM_TYPE_CHANNELGROUP) {
            return "Channel Group";
        }
        if ($type == TeamSpeak3::PERM_TYPE_CHANNELCLIENT) {
            return "Channel Client";
        }

        return "Unknown";
    }