Add 12 more plugins (Events, Tickets, Bans, VPN, Permissions, Teams, RCON, Audit, Email, Maintenance, Rooms, Translations)
Local Build and Deploy / deploy (push) Successful in 1m10s
Local Build and Deploy / deploy (push) Successful in 1m10s
Total: 24 plugins now registered and visible in the Plugins hub admin panel.
This commit is contained in:
1 parent
b40cac775c
commit
bbdc94870a
13 files changed
+254
No files matched your search
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
Reference in new issue
Block a user