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