From b04ac1ae4061510a7a913a3f183c7533be40f121 Mon Sep 17 00:00:00 2001 From: BinarySandia04 Date: Fri, 27 Sep 2024 01:01:25 +0200 Subject: [PATCH] =?UTF-8?q?Example=20plugin=20added=C2=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/example/client/main.js | 7 +++++++ plugins/example/client/plugin.json | 4 ++++ plugins/example/locales/en-US.json | 3 +++ 3 files changed, 14 insertions(+) create mode 100644 plugins/example/client/main.js create mode 100644 plugins/example/client/plugin.json create mode 100644 plugins/example/locales/en-US.json diff --git a/plugins/example/client/main.js b/plugins/example/client/main.js new file mode 100644 index 00000000..7194afc1 --- /dev/null +++ b/plugins/example/client/main.js @@ -0,0 +1,7 @@ +/* This is an example plugin for Dragonroll */ + +function Main(Api){ + console.log("Hello World!"); +} + +export { Main }; \ No newline at end of file diff --git a/plugins/example/client/plugin.json b/plugins/example/client/plugin.json new file mode 100644 index 00000000..253a6c54 --- /dev/null +++ b/plugins/example/client/plugin.json @@ -0,0 +1,4 @@ +{ + "name": "Dragonroll example plugin", + "entrypoint": "main.js" +} \ No newline at end of file diff --git a/plugins/example/locales/en-US.json b/plugins/example/locales/en-US.json new file mode 100644 index 00000000..699e36d1 --- /dev/null +++ b/plugins/example/locales/en-US.json @@ -0,0 +1,3 @@ +{ + "test": "Test" +} \ No newline at end of file