mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-26 01:02:42 +00:00
Merge 'webrtc' into 'dev/staging_webrtc'
This commit is contained in:
5
plugins/example-plugin/build.sh
Executable file
5
plugins/example-plugin/build.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#rm -rf dist/
|
||||
#mkdir dist
|
||||
rm -rfv *.js *.js.map
|
||||
ln -s ../../bundle/node_modules node_modules
|
||||
tsc -p .
|
||||
7
plugins/example-plugin/index.ts
Normal file
7
plugins/example-plugin/index.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Plugin } from "@fosscord/util";
|
||||
|
||||
export default class TestPlugin extends Plugin {
|
||||
onPluginLoaded(): void {
|
||||
console.log("Hello from test plugin! IT WORKS!!!!!!!");
|
||||
}
|
||||
}
|
||||
7
plugins/example-plugin/plugin.json
Normal file
7
plugins/example-plugin/plugin.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"id": "example-plugin",
|
||||
"name": "Fosscord example plugin",
|
||||
"authors": ["The Arcane Brony"],
|
||||
"repository": "https://github.com/fosscord/fosscord-server",
|
||||
"license": ""
|
||||
}
|
||||
Reference in New Issue
Block a user