Dunno how to call that, but what about a 'Core Plugin' that will be used for all other mods
What i'm doing in my fork of RR, is having a World class that is used to store a representation of the current map
This way all your mods could grab data from the World, and no more duplicate code
I'm not sure i have correctly explained the idea but here is a snippet:
World world;
each time you receive MAPINFO -> reset the world
each time you receive CREATESUCCESS -> store your ids
each time you receive UPDATE -> you add/remove objects (store a reference of the current player using what you got in CREATESUCCESS)
each time you receive NEWTICK -> you update your world
This way, all the mods will easily have access to : the current Player, an array of the objects present in the world etc..