If you have to script it then you create a force and set the force for the player:
https://lua-api.factorio.com/latest/classes/LuaGameScript.html#create_force
https://lua-api.factorio.com/latest/classes/LuaControl.html#force
I tried starting a game a PvP:
78.742 Error MainLoop.cpp:1468: Exception at tick 12665: The mod Spaceblock (2.1.1) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event yunrus-space-block::on_tick (ID 0)
LuaSpacePlatform API call when LuaSpacePlatform was invalid.
stack traceback:
[C]: in function 'enter_space_platform'
yunrus-space-block/control.lua:191: in function <yunrus-space-block/control.lua:186>
78.742 Error ClientMultiplayerManager.cpp:86: MultiplayerManager failed: "The mod Spaceblock (2.1.1) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event yunrus-space-block::on_tick (ID 0)
LuaSpacePlatform API call when LuaSpacePlatform was invalid.
stack traceback:
[C]: in function 'enter_space_platform'
yunrus-space-block/control.lua:191: in function <yunrus-space-block/control.lua:186>"
78.743 Info ClientMultiplayerManager.cpp:608: UpdateTick(12665) changing state from(InGame) to(Failed)
In PvP mode each team gets a silo on the planet and that seems to break the space platform. No idea how to disable the silo creation. An option in Spaceblock to play as separate teams should be trivial though. Building teams would be more complex.
Side note: you (as admin) can always start the game cooperative and then move players to different forces via the lua console.