is there a way to change where it installs the server mods

its installing the mods in my old directiory
if you know how to PLEASE tell me how, i cant join any multiplayer server!