MovingBlocks / FacadeServer

A headless facade that acts as a game host and provides web-based administration. Automation category: Terasology Facade. See https://forum.terasology.org/threads/facadeserver-headless-server-with-web-interface.1906
Apache License 2.0
4 stars 11 forks source link

FacadeServer

This is a headless (i.e. no graphics) application that runs the game as a server instance. It can be administrated through a REST-based interface or a simple frontend that wraps around these API methods. Administration comprises starting/stopping the host, configuring modules and the like.

In-game management (e.g. removing users from a running game) should be performed through users with admin rights.

Setting up from source

This facade can be set up using Gradle as explained in the Terasology wiki. Here is a step-by-step summary:

API documentation

The web server exposes access to the various resources both with an HTTP REST API and over WebSocket. More information is available in the docs.md file at the root of this repository. Also, here is a direct link to view online the Swagger/OpenAPI specification of the HTTP API.

HTTPS connections

The server is able to support https connections. A self-signed certificate is provided in a keystore file, which will make browsers refuse to connect unless an exception is made. To avoid this problem, you can obtain a valid certificate, convert it to jks format, and replace the keystore.jks file.

Related repositories

Here is the code for a web and mobile frontend to FacadeServer.

License

This module is licensed under the Apache 2.0 License.