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

https://github.com/kosmx/socket-emotes-proxy

Experiment implementation of Emotes API
https://github.com/kosmx/socket-emotes-proxy

fabricmc-mod minecraft netty socket

Last synced: 10 months ago
JSON representation

Experiment implementation of Emotes API

Awesome Lists containing this project

README

          

# Emotecraft primitive proxy

This is a primitive implementation of [Emotecraft](https://github.com/KosmX/emotes) proxy API with [Netty](https://netty.io/)

## Build
Use JDK 17 or newer
`./gradlew build` to build and package every module.
Fabric client jar: `client/build/libs/emotes-proxy-{version}.jar`
Server jar: `server/build/libs/server-{version}-shadow.jar`

## Install
Install [Fabric](https://fabricmc.net/),
Put the proxy JAR **and** Emotecraft jar into the `.minecraft/mods` folder

## Run the server

Check if you have __at least__ Java **17** with `java -version`
If not, install it.

Run the server with `java -jar server.jar `

## Server args:
```shell
usage: utility-name
-h,--hideWarning Hide no encryption warning
-p,--port Server port
```
-p is mandatory
-a is unsupported

### Example start

```shell
java -jar server.jar -p 1234
```

## Client commands
There is no config GUI or persistence

`emotesProxy status` display the proxy status. (If connected, it will show an address)
`emotesProxy connect ` connects to a proxy server
### Example connect
`emotesProxy connect 127.0.0.1 1234`

## Footnote

This project is an experiment, It may contain code for different functions.
If you find any issue, please report it!

Project is under CC0 license, you can port it to other version, embed in other project etc.