mirror of
https://github.com/YuzuZensai/Minikura.git
synced 2026-09-13 18:59:25 +00:00
✨ feat: add plugin registry and server operations
This commit is contained in:
@@ -3,6 +3,7 @@ import { Input } from "@/components/ui/input";
|
||||
import { TabsContent } from "@/components/ui/tabs";
|
||||
import { Textarea } from "@/components/ui/textarea";
|
||||
import { CheckboxField, Field } from "./fields";
|
||||
import { ArtifactSelector } from "./artifact-selector";
|
||||
import type { ServerFormPanelProps } from "./types";
|
||||
|
||||
export function ModsPanel({ formData, updateField }: ServerFormPanelProps) {
|
||||
@@ -11,6 +12,9 @@ export function ModsPanel({ formData, updateField }: ServerFormPanelProps) {
|
||||
{formData.type === "CUSTOM" && (
|
||||
<FormNotice>Mods/plugins automation is intended for Vanilla/Paper workflows.</FormNotice>
|
||||
)}
|
||||
{["PAPER", "SPIGOT", "PURPUR"].includes(formData.type) && (
|
||||
<ArtifactSelector formData={formData} updateField={updateField} />
|
||||
)}
|
||||
<Field
|
||||
id="plugins"
|
||||
label="Plugins"
|
||||
|
||||
Reference in New Issue
Block a user