Jamroom is made up of Modules
, Modules are where code lives while the Skins define the layout.
Even the core of jamroom is a module, so if you're going to add code, do it in a module.
Do it in YOUR OWN module.
Jamroom has a system called "Events and Listeners"
which will allow you to tap into the data that is output for any other module, or over-ride that modules control and take control yourself.
So you don't need to change the code of any existing module. Don't change the code of a module that is not yours because when the system is updated, your changes will disappear.
There is a hello world module in github here
The absolute minimum that a module needs is a name and a prefix, use 'xx
' if the module is not destined for inclusion in the Jamroom marketplace
So your module might be called:
The bare minimum it needs to get going is a _meta() function and an _init() function