Caelen said: PPI won't be needed then, I don't think... the amount of complexity I can implement with Ateraan is quite limited. Zero automation is tolerated, not even something to make certain consumables when the cooldown is up.
Well, PPI just lets plugins talk to eachother. Whether or not you use that for automation is up to you. But no, you don't need PPI for this. :)
Caelen said: I was thinking Plugger lets you put things into sub directories instead of having all the files within the one folder... But, with only a few files, I should be fine if I just keep the filenames consistent, no? A single plugin.xml, a main.lua, a config.lua, and a triggers.xml? That should let me use a single setup for all of them, no?
Yeah, that's pretty much what Plugger does. I like to keep the same directory structure through all my plugins, because it's just a simple plugger.path() call to get the path to one of the subdirectories.
Nick Gammon said: BTW, in recent versions, the CallPlugin function lets you pass multiple arguments (in Lua) and also get results returned. So the need for PPI (which was developed before this extra functionality) is reduced somewhat.
Both PPI and now, CallPlugin, let you have one plugin call another one, passing data (like, multiple arguments), and get one or more results back. So you might have a generic database-query plugin, for example.
The primary difference is that PPI lets you pass and return functions and tables, so if that's something you ever want you may want to look into PPI. (It also alerts you when a plugin is installed, which really helps with dependency issues.) |