modified plugin cmakelists to account for serveroptions