Sueta
SO

Sockets

v0.0.12

Socket Server

·Plugin

What is Sockets?

A socket is one endpoint of a two-way communication link between two programs running on the network. A socket is bound to a port number so that the TCP layer can identify the application that data is destined to be sent to.

This simple java application creates a simple Socket Server which other Client Sockets can connect to. You can use this to share data across multiple Minecraft server or something else if you want to. It provides a Bukkit/Spigot like plugin framework to easily listen to incoming packets and respond to them as you want to.

Start it

To start the jar file simply use "java -jar Sockets.jar".
This will start the server on localhost and bind it to the port 25000.
To change them use "-h <address>" and "-p <port>".
You can also change the amount of packet worker by using "-w <worker>"

Plugins

Simply extent the JavaPlugin from org.bukkit.plugin.java and add a plugin.yml. Here is an example of implementation for an economy plugin: https://github.com/Ancash/IEconomy.

Wiki: https://github.com/Ancash/Sockets

Similar projects

Plugin →