{"id":13589343,"url":"https://github.com/RyroNZ/UE4MasterServer","last_synced_at":"2025-04-08T09:32:45.044Z","repository":{"id":34011931,"uuid":"37768285","full_name":"RyroNZ/UE4MasterServer","owner":"RyroNZ","description":"This is a plugin for Unreal Engine 4 that adds server registration, deregistration etc with a master server.","archived":false,"fork":false,"pushed_at":"2022-12-27T15:35:40.000Z","size":23138,"stargazers_count":223,"open_issues_count":9,"forks_count":73,"subscribers_count":30,"default_branch":"master","last_synced_at":"2024-11-06T09:39:36.244Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://ryanpost.me","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RyroNZ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-20T11:55:58.000Z","updated_at":"2024-10-25T06:46:32.000Z","dependencies_parsed_at":"2023-01-15T04:01:28.006Z","dependency_job_id":null,"html_url":"https://github.com/RyroNZ/UE4MasterServer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyroNZ%2FUE4MasterServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyroNZ%2FUE4MasterServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyroNZ%2FUE4MasterServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyroNZ%2FUE4MasterServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RyroNZ","download_url":"https://codeload.github.com/RyroNZ/UE4MasterServer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247814174,"owners_count":21000514,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T16:00:28.464Z","updated_at":"2025-04-08T09:32:41.261Z","avatar_url":"https://github.com/RyroNZ.png","language":"C++","funding_links":[],"categories":["Networking","Game Development"],"sub_categories":["Unreal Engine: Resources"],"readme":"# Online Subsystem Python\nCreated by RyroNZ\n\nOnline Subsystem Python is a self-hosted online subsystem for Creating, Finding and Joining Sessions over the internet using the standard session nodes. \nIt is based off the Null subsystem.\n\n![](https://puu.sh/El2ZS/e3abeb7e11.png)\n\nExample Video: https://puu.sh/EkmSl/d85c851ec2.mp4\n\n## Installing the Plugin\n\nCopy the Online Subsystem Python folder containing the .uplugin into the Plugins folder in your Project Directory.\nIf the Plugins folder does not exist you can create it.\nOpen your .uproject and add the following add “OnlineSubsystemPython” to the plugins list and set it to Enabled.\n```\n{\n    \"FileVersion\": 3,\n    \"EngineAssociation\": \"4.22\",\n    \"Category\": \"\",\n    \"Description\": \"\",\n    \"Modules\": [\n        {\n            \"Name\": \"MyProjectName\",\n            \"Type\": \"Runtime\",\n            \"LoadingPhase\": \"Default\",\n            \"AdditionalDependencies\": [\n                \"FunctionalTesting\"\n            ]\n        }\n    ],\n    \"Plugins\": [\n        {\n            \"Name\": \"OnlineSubsystemPython\",\n            \"Enabled\": true\n        }\n    ]\n}\n```\nIn your DefaultEngine.ini under [OnlineSubsystem] change the DefaultPlatformService so it reads\n‘DefaultPlatformService=Python’\n```\n[OnlineSubsystem]\nDefaultPlatformService=Python\nbUseBuildIdOverride=true\nBuildIdOverride=262494\nPollingIntervalInMs=20\nbHasVoiceEnabled=true\n```\n\n## Running the Server\n\nFind the Server folder in the Plugin directory, copy that to the machine you want to run the server on\n(We use Digital Ocean to host our servers, YMMV)\n\n\nInstall Python 3\n```\n$ python -m pip install --upgrade -r requirements.txt\n$ python3 OnlineSubsystemPythonServer.py\n```\nYour server should be up and running, if you wish to configure the port the server is running on you’ll find it\nspecified in cherrypy.config.update() on line 125.\n```\ncherrypy.config.update({ 'server.socket_port': 8081,\n                         'server.socket_host': '0.0.0.0',\n                         \"server.ssl_module\": \"pyopenssl\",\n                         'server.thread_pool' : 100\n                        })\n```\n\n## Configuring Client\n\n\nOpen OnlineSubsystemPythonConfig.cpp in the Source/Private directory\n\nChange the SeverAddress to the IP/Domain you are using for your server.\n```\nUOnlineSubsystemPythonConfig::UOnlineSubsystemPythonConfig()\n    : ServerAddress(\"127.0.0.1:8081\")\n    , AuthorizationTicket(\"\")\n{}\n```\n\nPlease note, the plugin only has support for the following session settings key/value pairs.\n```\nSERVERNAME\nMAPNAME\nGAMEMODE\nPASSWORDPROTECTED\nPLAYERCOUNT\n```\n\nEverything should be working now and you should be able to host and join using the standard session nodes!\n\nIf there are things not working, please email me at ryan@somethinglogical.co.nz\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRyroNZ%2FUE4MasterServer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRyroNZ%2FUE4MasterServer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRyroNZ%2FUE4MasterServer/lists"}