Example plugin added·
This commit is contained in:
parent
88a5a5b02e
commit
b04ac1ae40
7
plugins/example/client/main.js
Normal file
7
plugins/example/client/main.js
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
/* This is an example plugin for Dragonroll */
|
||||||
|
|
||||||
|
function Main(Api){
|
||||||
|
console.log("Hello World!");
|
||||||
|
}
|
||||||
|
|
||||||
|
export { Main };
|
4
plugins/example/client/plugin.json
Normal file
4
plugins/example/client/plugin.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"name": "Dragonroll example plugin",
|
||||||
|
"entrypoint": "main.js"
|
||||||
|
}
|
3
plugins/example/locales/en-US.json
Normal file
3
plugins/example/locales/en-US.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"test": "Test"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user