An open API service indexing awesome lists of open source software.

https://github.com/electroid/gamelift-sdk-java

Java port of the server and client-side Amazon GameLift SDK
https://github.com/electroid/gamelift-sdk-java

aws gamelift java

Last synced: 2 months ago
JSON representation

Java port of the server and client-side Amazon GameLift SDK

Awesome Lists containing this project

README

        

# gamelift-sdk-java
Java port of the server and client-side Amazon GameLift SDK.

### Installation

```xml


ashcon-repo
https://repo.ashcon.app/content/repositories/releases

```

```xml


app.ashcon.gamelift
gamelift-sdk
3.4.0.3

```

### Usage

API design is derivied from the [GameLift C# SDK](https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-api.html), which is maintained by Amazon.

```java
// Client side: sends requests to AWS for game and player sessions
AmazonGameLiftClientBuilder.defaultClient().createGameSession( ... );

// Server side: responds to AWS events and actually hosts games
AmazonGameLiftServer.get().initSdk();
```

### Example

An [example](example/src/main/java/app/ashcon/gamelift/GameLiftPlugin.java) integration between GameLift and Minecraft is also provided.