Follow the steps to set up the multiplayer server:
Step 1. Navigate to Source folder
Step 2. Create a new file and name it as YourProjectNameServer.Target.cs
If it already exists, skip this step.
Make sure to replace YourProjectName with the actual name of your project.
Step 3. Open the YourProjectNameServer.Target.cs file in any text editor, add the following code, and save it:
Make sure to replace YourProjectName with the actual name of your project.
using UnrealBuildTool; using System.Collections.Generic; public class YourProjectNameTarget : TargetRules { public YourProjectNameTarget(TargetInfo Target) : base(Target) { Type = TargetType.Game; DefaultBuildSettings = BuildSettingsVersion.V2; IncludeOrderVersion = EngineIncludeOrderVersion.Unreal5_1; ExtraModuleNames.Add("YourProjectName"); } }
Don't forget to save the file from your editor after making the changes.
Step 4. Right-click the .uproject file of your Unreal Engine project and select Generate Visual Studio project files.
Step 5. Double-click the .sln file to open the project in Visual Studio.
Step 6. Set the configuration to Development Server and build the project by pressing Ctrl + B
Step 7. Once the build is successful, switch the configuration to Development Editor and press F5 to open the project automatically.
Step 8. Select Content Drawer from the bottom left corner of the Unreal Editor.
Step 9. Double click on BP_e3ds_multiplayer
Step 10. Select E3DS_Multiplayer_Components
Step 11. Select Request
Step 12. Configure the following fields in the Make a Request category
API Key: Retrieve it from Eagle3D Streaming API Management.
Server App Name: Set the name of the server app (e.g., MyProjectServer).
Server Map Name: Specify the name of the map for the server (e.g., ThirdPersonMap ).
Max Player: Set the maximum number of players allowed on the server (e.g., 64).
Step 13. Compile and Save
Step 14. Drag and drop the BP_e3ds_multiplayer into the map from the E3DS Features content folder.
Step 15. Select BP_e3ds_multiplayer in the Details Panel and ensure the configurations are correct.
💬 Ask questions and help your peers Community Forum
📄 Need help? Contact Support
Â
Add Comment