1. Download most up to date jar file.
2. Drop into server.
3. Use permissions editor of your choice and add the permissions for the gamemodes you want a user to have access to.
Giving "swapper.survival" and "swapper.spectator" will allow a user to
only change between survival and spectator.