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 { Mail } from "lucide-react";
|
||||
import type { PluginDefinition } from "@/lib/plugins";
|
||||
|
||||
const plugin: PluginDefinition = {
|
||||
id: "email",
|
||||
name: "Email & Templates",
|
||||
description: "Email templates, SMTP configuration, password reset emails and notifications",
|
||||
version: "1.0.0",
|
||||
enabled: true,
|
||||
configFields: [
|
||||
{ key: "enable_email", label: "Enable email system", type: "boolean", default: true },
|
||||
{ key: "smtp_host", label: "SMTP host", type: "text", default: "" },
|
||||
{ key: "smtp_port", label: "SMTP port", type: "text", default: "587" },
|
||||
{ key: "smtp_encryption", label: "SMTP encryption", type: "select", options: [{ label: "TLS", value: "tls" }, { label: "SSL", value: "ssl" }, { label: "None", value: "none" }], default: "tls" },
|
||||
{ key: "from_address", label: "From address", type: "text", default: "[email protected]" },
|
||||
{ key: "enable_password_reset", label: "Enable password reset emails", type: "boolean", default: true },
|
||||
],
|
||||
};
|
||||
|
||||
export default plugin;
|
||||
Reference in new issue
Block a user