Controller
Using these functions you can start, and stop the library.
Functions
| Function | Description |
|---|---|
mintmousse.start |
Start the web server |
mintmousse.stop |
Stop the MM thread |
mintmousse.wait |
Wait for the MM thread to stop |
mintmousse.setIcon |
Set the web console's icon |
mintmousse.setIconRaw |
Set the web console's icon directly |
mintmousse.setIconRFG |
Set the web console's icon to an RFG zip file |
mintmousse.setTitle |
Set the web console's title |
mintmousse.notify |
Send a toast notification to connected clients |
mintmousse.addToWhitelist |
Add a rule to the whitelist |
mintmousse.removeFromWhitelist |
Remove a rule from the whitelist |
mintmousse.clearWhitelist |
Clear all rules from the whitelist |
mintmousse.batchStart |
Start batching changes |
mintmousse.batchEnd |
End batching changes, and send to thread |
mintmousse.buildPage |
Add a preconfigured tab |
mintmousse.getThreadID |
Get the current thread's ID |
Variables
| Variable | Description |
|---|---|
love.isThread |
Boolean if code is running in a thread |
MINTMOUSSE_DO_NOT_START |
Global boolean if thread shouldn't start automatically when Preload is required |
THREAD_ID |
Global string for the ID to use for the current thread |