Create minimap core plugin based on gridworld plugin

This commit is contained in:
Danielv123 committed 2025-08-10 00:28:48 +02:00
1 parent f31fb535df
commit f7658e1118
14 files changed
+1129

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
import React from "react";
import { BaseWebPlugin } from "@clusterio/web_ui";
import MinimapPage from "./MinimapPage";
export class WebPlugin extends BaseWebPlugin {
async init() {
this.pages = [
{
path: "/minimap",
sidebarName: "Minimap",
permission: "minimap.view",
content: <MinimapPage />,
},
];
}
}