Modofiled version of https://github.com/IVMultiplayer/IVMultiplayer