Load a plugin for single character

Third party software discussion goes here.
User avatar
Nilbus
Posts: 1258

Load a plugin for single character

Post#1 » Tue Mar 18, 2014 3:44 am

Anyone have a way to load a plugin (mq2emucharacters in this case) for only one character. I just need the display of everyone else on my main screen, don't need it taking up memory on the 17 others.

Only way I've found so far is to manually load the plugin and tell it not to write to the macroquest.ini with the noauto flag on the command.

Now I can do this, but it is annoying, and I don't like annoying. Someone find me a simpler/easier way please!
Nodyin-Nilbus-Pockit-Tiah-Rakas- Funeral
Likeatruck-Khaltos-Nilbie-Ziknaf-Prathun-Missus
Elidor
Youme-Yumme-Blazingtide-Sublin-Lissanda-Darmok
Djarik-Ikat-Nerys-Ometi-Tarana-Biln

I know way too much random stuff.

User avatar
Grey
Posts: 1101

Re: Load a plugin for single character

Post#2 » Thu Mar 20, 2014 6:51 am

Never seen a question like that and I think there is no good way to handle it.
What I would do, and this is from the top of my head so check syntax obviously, is use a cfg

loademuchar.cfg

Code: Select all

/if (!${Bool[${Plugin[mq2emucharacters].Name}]} && ${Me.Name.Equal[chucklestheclown]}) /plugin mq2emucharacters load
/if (${Bool[${Plugin[mq2emucharacters].Name}]} && !${Me.Name.Equal[chucklestheclown]}) /plugin mq2emucharacters unload


load everyone and /bcaa //loadcfg loademuchar

Not ideal I know. Or could put it in zoned.cfg which auto executes or "server_character.cfg"
and it'll just run once each character loads into the world.
ex: HiddenForest_chucklestheclown.cfg

Never tried to load at character select but it might be possible but you generally do not want to be loading/unloading plugins there. Good way to CTD.

If you find a solution please report back and let us know what it is.

User avatar
Nilbus
Posts: 1258

Re: Load a plugin for single character

Post#3 » Thu Mar 20, 2014 1:32 pm

hiddenforest_charname.cfg with

/plugin mq2emucharacters noauto
/plugin mq2emuinventory noauto

in it worked perfectly. Thanks Grey.
Nodyin-Nilbus-Pockit-Tiah-Rakas- Funeral
Likeatruck-Khaltos-Nilbie-Ziknaf-Prathun-Missus
Elidor
Youme-Yumme-Blazingtide-Sublin-Lissanda-Darmok
Djarik-Ikat-Nerys-Ometi-Tarana-Biln

I know way too much random stuff.

User avatar
Grey
Posts: 1101

Re: Load a plugin for single character

Post#4 » Fri Mar 21, 2014 12:18 am

I know a number of my answers have preached about the CFG, I'm glad that in this case it was actually useful.
When I play/played I used them a lot.

Return to “Third party software”

Who is online

Users browsing this forum: No registered users and 1 guest

cron