A utility class to get the appropriate scheduler based on the server implementation.
Gets the appropriate scheduler for the given plugin.