🔧 master: work in progress [might break]
This commit is contained in:
parent
8758381f0c
commit
9ad8ee08e2
1 changed files with 30 additions and 0 deletions
30
src/plugin/federation.lua
Normal file
30
src/plugin/federation.lua
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue