Skip to content

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

License

Notifications You must be signed in to change notification settings

Brend-Smits/SynX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Packages

No packages published

Languages