APIs to make enable interaction between servers and plugins