import { ShieldAlert } from "lucide-react"; import type { PluginDefinition } from "@/lib/plugins"; const plugin: PluginDefinition = { id: "vpn", name: "VPN & Proxy Detection", description: "VPN, proxy and TOR detection for registration and login security", version: "1.0.0", enabled: true, configFields: [ { key: "block_vpn", label: "Block VPN registrations", type: "boolean", default: true }, { key: "block_proxy", label: "Block proxy registrations", type: "boolean", default: true }, { key: "block_tor", label: "Block TOR exit nodes", type: "boolean", default: true }, { key: "block_on_login", label: "Block VPN users on login", type: "boolean", default: false }, { key: "api_key", label: "Detection API key", type: "text", default: "" }, { key: "cache_results_minutes", label: "Cache results (minutes)", type: "text", default: "60" }, ], }; export default plugin;