server programming

to create a simple 2D multiplayer game I have to use plugins or can I create my server / client files with respective sockets?

You can create a unity instance server with uNet. It depends what you are looking to achieve.