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