Question: what is the difference between a minecraft server and realm?
Answer: With a server package you are given all the files and can freely edit them or add new ones to change how the gameplay works in-game. Minecraft Realms doesn't grant you any sort of access to the files which makes it impossible to add extra features through plugins.