From 9ad8ee08e2ec02f3cb10a1a5db1ad830d011e19e Mon Sep 17 00:00:00 2001 From: Leon van Kammen Date: Sun, 2 Aug 2026 22:39:29 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20master:=20work=20in=20progress?= =?UTF-8?q?=20[might=20break]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugin/federation.lua | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/plugin/federation.lua diff --git a/src/plugin/federation.lua b/src/plugin/federation.lua new file mode 100644 index 0000000..8ae1413 --- /dev/null +++ b/src/plugin/federation.lua @@ -0,0 +1,30 @@ +local util = require('util') + +app.on('scan_experience', function(exp) + --print_r(exp) +end) + +app.on('scan_experience_file', function(exp) +end) + +app.on('set', function(k,v) + print("content was updated") +end) + + +-- this registers the plugin UI +local plugin = { + name = 'Federation', + info = '', + opts = { -- TODO populate this based on xrforge-federation.json + { + key='app.opts.plugin_xrforges_xrforge_isvery_ninja', + title='xrforge.isvery.ninja', + info='', + default="enabled", + values={enabled='enabled',disabled='disabled'} + } + } +} + +return plugin