Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/felixklauke/portum

Modern and flexible implementation of the minecraft votifier protocol. Thought as embedded service or middleware.
https://github.com/felixklauke/portum

mcseu minecraft minecraft-server minecraft-server-list vote votifier

Last synced: about 1 month ago
JSON representation

Modern and flexible implementation of the minecraft votifier protocol. Thought as embedded service or middleware.

Awesome Lists containing this project

README

        

# portum
Modern and flexible implementation of the minecraft votifier protocol. Thought as embedded service or middleware.

Portum uses [theresa](https://github.com/FelixKlauke/theresa) for dependency injection and
[constrictor](https://github.com/d3adspace/constrictor) for networking.

# Build status
| | Build Status |
|------------- |----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Master | [![Build Status](https://travis-ci.org/felixklauke/portum.svg?branch=master)](https://travis-ci.org/felixklauke/portum) |

# Installation
**Maven Repositories**

```xml



klauke-enterprises-maven-releases
Klauke Enterprises Maven Releases
https://repository.klauke-enterprises.com/repository/maven-releases/

```

**Maven dependency**
```xml


com.felixklauke.portum
portum-server
1.0.0

```

**Gradle Repositories**

```groovy
repositories {
maven {
url = 'https://repository.klauke-enterprises.com/repository/maven-releases/'
}
}
```

**Gradle dependency**

```groovy
dependencies {
implementation group: 'com.felixklauke.portum', name: 'portum-server', version: '1.0.0';
}
```

# Usage

As soon as you have imported the server dependency the usage will be pretty much straight forward.
Just create a portum server config with the needed vote listeners and create and start a server
with this config. Have fun!

```java
public final class ServerExample {
private final PortumServer server = PortumServerFactory.createServer(PortumServerConfig
.newBuilder()
.withHost("localhost")
.withPort(80808)
.withListeners(Arrays.asList())
.build());

public ServerExample() {
server.start();
}
}
```