Skip to content
Brend-SmitsPublic

About

A Minecraft MP plugin that helps plugins to transfer data between different servers

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

##SynX Plugin that provides an easy way to transfer data between servers.

Download

All builds for my plugins can be found at this link: http://kaikk.net/mc/

####Commands ######/synx nodes

  • shows a list with all known nodes

######/synx tags

  • shows a list with all known tags

######/synx reload

  • reloads the plugin

####Permissions

  • synx.manage - Permission necessary to run all commands (default: op)

####Requirements

  • MySQL database

Developers: How to use

Add SynX to your build path. Maven:

<repository>
  <id>net.kaikk.mc</id>
  <url>http://kaikk.net/mc/repo/</url>
</repository>
<dependency>
  <groupId>net.kaikk.mc</groupId>
  <artifactId>SynX-Core</artifactId>
  <version>0.10</version>
  <type>jar</type>
  <scope>provided</scope>
</dependency>

Use SynX.instance().broadcast(String channel, byte[] data) and SynX.instance().send(String channel, byte[] data, Node... destination) to send data.
I suggest to use a ByteStreams.newDataOutput() to help generating a byte array of data to be sent and ByteStreams.newDataInput() for received data.
Your plugin can receive data by implementing the ChannelListener class and using SynX.instance().register(Plugin instance, String channel, ChannelListener channelListener) to register it.

About

A Minecraft MP plugin that helps plugins to transfer data between different servers

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages