Quote:
Originally Posted by Exolent[jNr]
Is OnMapStart() called if a plugin is loaded in the middle of the map?
When I was testing I didn't bother changing maps or stop the server or anything.
I just used "sm plugins refresh" to reload all plugins when I upgraded them all.
|
That's a good question - I'm guessing they probably don't. Generally my plugins don't work well with late-loading. (which is a sacrifice I'm willing to make, frankly)
Edit: now that I think about it, I could probably just read the file in OnPluginStart and write it out every so often and it should be fine still. The issue was just the re-importing of the file over the existing data structure.
__________________