How to create a minecraft multiplaer server?

See I'm wondering how I would create one that has it with safe zones where you can't attack anyone or destroy anything, where it has a leveling system and/or a job system and stuff that you couldent normally make in minecraft

I think you need a bukkit server. You can install many server plugins from the bukkit website or write your own to customise how the server works. I would suggest that you want an anti-griefing plugin to start off with.