Skip to content

Commit

Permalink
add agones plugin, edit dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainIsaaca committed Aug 21, 2022
1 parent 00fb095 commit 3601e3e
Show file tree
Hide file tree
Showing 11 changed files with 1,414 additions and 3 deletions.
11 changes: 8 additions & 3 deletions DockerFile.server
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
FROM ubuntu

USER root

RUN export DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get -yq install libglib2.0-dev libsecret-1-dev
RUN apt-get -yq install libglib2.0-dev libsecret-1-dev libcurl4

RUN adduser ue --disabled-password
USER ue

USER ue:ue

COPY --chown=ue:ue /Releases/Server/. /home/ue/
# RUN chmod a+x /home/ue/LinuxServer/FinalCypherServer.sh /home/ue/LinuxServer/FinalCypher/Binaries/Linux/FinalCypherServer-Linux-Shipping

EXPOSE 7777/udp
EXPOSE 7777/tcp

ENTRYPOINT ["/home/ue/LinuxServer/FinalCypherServer.sh", "-log"]
ENTRYPOINT ["/home/ue/LinuxServer/FinalCypherServer.sh", "-log"]
# run [docker run -p 7777:7777/udp -t fc-server] for binding ports
2 changes: 2 additions & 0 deletions Plugins/Agones/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Binaries/
Intermediate/
24 changes: 24 additions & 0 deletions Plugins/Agones/Agones.uplugin
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"CanContainContent": false,
"Category": "Agones",
"CreatedBy": "",
"CreatedByURL": "",
"Description": "Agones SDK for Unreal, wrapping the Agones REST API.",
"DocsURL": "https://agones.dev/site/docs/guides/client-sdks/unreal/",
"FileVersion": 3,
"FriendlyName": "Agones",
"Installed": false,
"IsBetaVersion": false,
"IsExperimentalVersion": false,
"MarketplaceURL": "",
"Modules": [
{
"LoadingPhase": "PreLoadingScreen",
"Name": "Agones",
"Type": "Runtime"
}
],
"SupportURL": "https://github.com/googleforgames/agones",
"Version": 2,
"VersionName": "2.0.0"
}
Binary file added Plugins/Agones/Resources/Icon128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 42 additions & 0 deletions Plugins/Agones/Source/Agones/Agones.Build.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
// Copyright 2020 Google LLC All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

using UnrealBuildTool;

public class Agones : ModuleRules
{
public Agones(ReadOnlyTargetRules target) : base(target)
{
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
PublicIncludePaths.AddRange(new string[] {});
PrivateIncludePaths.AddRange(new string[] {});
PublicDependencyModuleNames.AddRange(new[]
{
"Core",
"Http",
"Json",
"JsonUtilities",
"WebSockets"
});
PrivateDependencyModuleNames.AddRange(
new[]
{
"CoreUObject",
"Engine",
"Slate",
"SlateCore"
});
DynamicallyLoadedModuleNames.AddRange(new string[]{ });
}
}
Loading

0 comments on commit 3601e3e

Please sign in to comment.