We will build a simple menu UI that will allow players to connect to a server. This will be the first thing players see when they start the game. We will also update the default map to be the menu UI instead of the game world.
dev_staging.XXXX
. Save this for the next step.
MY_TOKEN
with the token you just created.This widget can now be used to connect a player to a server.
Now that we have a new Entry map for the UI, we need to make it the default map.
We will configure the play settings to test the game with Rivet locally in your editor.
Press the three dots next to the play button and click Advanced Settings to open the Play In settings.
Scroll down to Multiplayer Options. Update the following settings:
Update the number of players to at least 2.
Learn more about different ways to run your multiplayer game in Unreal Engine here.
Run server
This will build & run your game server locally and run on port 7777. You must re-run this command whenever you change your server code.
Run client
This is using the Rivet development token to mock production APIs. This lets you test with production APIs while still using your local machine.
We will build a simple menu UI that will allow players to connect to a server. This will be the first thing players see when they start the game. We will also update the default map to be the menu UI instead of the game world.
dev_staging.XXXX
. Save this for the next step.
MY_TOKEN
with the token you just created.This widget can now be used to connect a player to a server.
Now that we have a new Entry map for the UI, we need to make it the default map.
We will configure the play settings to test the game with Rivet locally in your editor.
Press the three dots next to the play button and click Advanced Settings to open the Play In settings.
Scroll down to Multiplayer Options. Update the following settings:
Update the number of players to at least 2.
Learn more about different ways to run your multiplayer game in Unreal Engine here.
Run server
This will build & run your game server locally and run on port 7777. You must re-run this command whenever you change your server code.
Run client
This is using the Rivet development token to mock production APIs. This lets you test with production APIs while still using your local machine.