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
- Host: GitHub
- URL: https://github.com/kosmx/socket-emotes-proxy
- Owner: KosmX
- License: cc0-1.0
- Created: 2021-09-13T19:59:28.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-13T16:14:39.000Z (over 3 years ago)
- Last Synced: 2025-01-27T14:43:06.578Z (12 months ago)
- Topics: fabricmc-mod, minecraft, netty, socket
- Language: Java
- Homepage:
- Size: 180 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.