Private servers for games such as FlyFF are a well-established hobby, and there is plenty of documentation if you search for it rather than asking strangers to email you files.
The general shape of it is that you obtain a server emulator package, configure its database and network settings, and run it locally before opening a port so others can connect. Most projects ship a readme that walks through the database setup, which is the part people get stuck on.
Two cautions. Running a private server for a game you do not own the rights to is a legal grey area at best and against the publisher's terms, and emulator packages downloaded from unofficial sources are a very common malware vector. Keep it to your own machine on a local network if you just want to experiment.