The modded servers are made by developers that have done some coding or just modified files in order to allow Minecraft players to play multiplayer on their pc using LAN connection or using hamachi/tunngle etc...