private boolean canUse() {
        if (manifest.type() == ScriptType.FREE || (!Configuration.OFFLINE_MODE && !VBLogin.self.isLoggedIn())) {
            return true;
        }
        if (!VBLogin.self.isLoggedIn() || VBLogin.self.getUsergroupId() == 8) {
            return false;
        }
        int[] vip = {VBLogin.auth_admin, VBLogin.auth_contrib, VBLogin.auth_dev, VBLogin.auth_mod, VBLogin.auth_sm,
        VBLogin.auth_sponsor, VBLogin.auth_sw, VBLogin.auth_vip};
        if (manifest.type() == ScriptType.VIP) {
            for (int id : vip) {
                if (id == VBLogin.self.getUsergroupId()) {
                    return true;
                }
            }
        }
        return false;
    }