/PacketProxyBinarySerializationFormatPlugins

This project was merged to PacketProxy(https://github.com/DeNA/PacketProxy). CBOR, MessagePack encoder for PacketProxy

Primary LanguageJavaApache License 2.0Apache-2.0

BinarySerializationFormatPlugins(CBOR, MessagePack) for PacketProxy

This repository provides binary serialization format plugins for PacketProxy.

This repository include following plugins,

  • CBOR2JSON: CBOR <-> JSON plugin
  • MessagePack2JSON: MessagePack <-> JSON plugin.

This plugin was created based on this template(DeNA/PacketProxyPlugin).

Install

Install from released JAR file

  1. Go to release page. https://github.com/prprhyt/PacketProxyBinarySerializationFormatPlugins/releases
  2. Download latest version jar file.
  3. Execute open ~/.packetproxy/plugins in Terminal. (If it does not exist, you should create it.)
  4. Drug jar file to ~/.packetproxy/plugins and drop it.
  5. Run PacketProxy, you can select CBOR2JSON and MessagePack2JSON encode module in servers panel.

Build & Install from source code yourself.

$ git clone git@github.com:prprhyt/PacketProxyBinarySerializationFormatPlugins.git
$ cd PacketProxyBinarySerializationFormatPlugins/
$ ./gradlew shadowJar
$ cp build/libs/PacketProxyPlugin-1.0.0-all.jar ~/.packetproxy/plugins/BinarySerializationFormatPlugins.jar

After finishing the installation, you can select CBOR2JSON and MessagePack2JSON encode module in servers panel.

ScreenShot

CBOR2JSON CBOR2JSON

MessagePack2JSON MessagePack2JSON

Licences

Apache License 2.0