https://github.com/allar/ue4-server-target-builder
Tool to help automation of building dedicated servers for blueprint only targets
https://github.com/allar/ue4-server-target-builder
Last synced: about 1 year ago
JSON representation
Tool to help automation of building dedicated servers for blueprint only targets
- Host: GitHub
- URL: https://github.com/allar/ue4-server-target-builder
- Owner: Allar
- License: mit
- Created: 2017-10-17T00:52:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-17T06:14:01.000Z (over 8 years ago)
- Last Synced: 2025-04-08T02:44:40.161Z (about 1 year ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ue4-server-target-builder
This is an overengineered Node app that lets me generate a server target so that I can use it in automated systems such as Jenkins to build server builds of Blueprint only projects without requiring C++.
# Installation
`npm install Allar/ue4-server-target-builder -g`
# Usage
`ue4-server-target-builder -p GenericShooter -d c:/depot/GenericShooter`
Supply `-c` argument in order to return with error code 1 if project is detected as blueprint only project. Useful if you need to know this in your automation chain.
# Example Output
This creates a target file that should look like this.
```cs
// Insert Your Copyright Here
using UnrealBuildTool;
using System.Collections.Generic;
public class GenericShooterServerTarget : TargetRules
{
public GenericShooterServerTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Server;
ExtraModuleNames.Add("UE4Game"); // This would be your project module if not BP only
}
//
// TargetRules interface.
//
public override void SetupGlobalEnvironment(
TargetInfo Target,
ref LinkEnvironmentConfiguration OutLinkEnvironmentConfiguration,
ref CPPEnvironmentConfiguration OutCPPEnvironmentConfiguration
)
{
}
}
```