Ondemand - Dynamically Load And Unload Addons.

Language: JP EN DE FR
users online
Forum » Windower » General » Ondemand - dynamically load and unload addons.
Ondemand - dynamically load and unload addons.
VIP
Offline
Posts: 907
By Lili 2025-05-10 07:21:35
Link | Quote | Reply
 

Ondemand


v1.3.2

Hello everyone,

I'm finally releasing Ondemand, an addon that drastically cuts down your Windower memory footprint by loading addons only when you actually use them, and unloading them after a bit of inactivity.

Ondemand automatically discovers all addons you have in your windower\addons folder and stores a list of commands they accept. Then, if you input a command that belong to an addon that is not currently loaded, ondemand will load it on the fly and pass the command you inputed to it. It will then unload it after some amount of time passed - 15 minutes by default, configurable.
Aside from reducing windower memory footprint, this also lets you remove most addon load commands from init.txt or plugin_manager, making everything a lot more tidy and stuff.

Features


  • Custom ignore list for addons you never want to load or unload or both

  • Per‑addon custom delays or global default timeout (default 15 min)

  • Silent mode if you prefer no chatlog spam



Usage


Once installed, Ondemand works completely transparently:

1. Just type any addon command, for example:
Code
//temps buy radialens

Ondemand sees that you’ve used the `temps` command, loads the temps addon if needed, and passes the parameters along.

2. Ondemand will then automatically unload that addon after the timeout specified.


Commands


//ondemand keep <addonname> - Prevents `<addonname>` from ever being unloaded automatically.
//ondemand - Displays the current unload timers for all loaded addons.


Configuration


You can tweak Ondemand’s behavior by editing its settings file (data\settings.xml in ondemand's folder). Key settings:

ignore -- never load these
neverunload -- never unload these
expire -- default unload after 15 minutes
customdelays -- override unload time for specific addons
silent -- set true to suppress unload messages

Simply change these values and reload the addon.


Download & Support


Github: https://github.com/lili-ffxi/FFXI-Addons/tree/master/ondemand
Discord: https://discord.gg/uBPg7quNxD
[+]
Log in to post.