working server example with plugins