just clears your inventory and enderchest. other than that it just resets your login location to spawn usually
This same problem has been happening to me also. The server auto teleports me to main, and I get kicked because of Nope! when I just want to go to skyblock.
If you want to just go to skyblock, try the ip "skyblock.mt.gg"