Yeah, CoreImmigrationPluginImpl is like the one exception, IIRC because it's run by the economy which is just... different.
Is there a way for me to trigger monthly scripts? I feel like doing something like checking to see if the market size changes every second is super silly and might unnecessarily bog down performance.
See: IntervalUtil for something that allows you to effectively run things every <whatever period>. However, that'll actually require slightly *more* performance than just checking the size of a market against a saved integer, so I wouldn't recommend it for this. The performance cost of performing a trivial check like this is negligible.
And yea I have seen the javadoc but unless I'm missing something, it only has prototypes right? No descriptions? I tried to look up how advance worked and there wasn't anything about it. I've just been digging through the api to understand the structure with notepadd++ since I'm too lazy to actually set up the environment on eclipse lmao
Yeah, there's not a lot of comments there, but you can infer some stuff from the method names. I'd suggest setting up an environment - I totally get that it's a pain, but it'd save you time in the long run.
(For advance specifically, and anything related, if there's an "amount" parameter for time, it's seconds.)
Also, I'd just like to say how much I appreciate you for participating in the modding community so much and for making a game that allows actual Java injection, first I've seen!
Helps that the game is in Java, I suppose