Skip to content

Exchange messages between Bukkit servers. Easy to port to other platforms (e.g. Bungee, Forge)

License

Notifications You must be signed in to change notification settings

StarTux/Connect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect

Connect Bukkit servers via Redis. It works with or without Bungee and can connect Spigot servers across versions, as well as other modded servers, provided they follow the protocol. This plugin should only be of interest for server admins and the technically minded.

Features

Connect provides a few out of the box, namely player listing. At its core, it is a library to send and receive packets from remote servers.

  • Online server list.
  • Player listing. All connected servers exchange player lists, allowing cross server player listing without Bungee support.
  • Send packets to any server via the API.
  • Broadcast packets to all servers via the API.

Concepts

Each server has a name which is unique in the network, as well as a display name. They all read from the same configuration file which lists each server, its name and display name, and the port they use to connect. Said port has to be different from the Minecraft port, in fact, it has to be unused.

What is exchanged is an arbitrary payload with the caveat that it will be serialized to a JSON String. Any object which is not JSON-friendly will not transport properly. This includes UUIDs in particular. If in doubt, stick with List, Map, String, Boolean, and numerical types. At the other end, the JSON String will arrive in deserialized form.

Configuration

The main plugin configuration file only has a few entries:

ServerName: yourservername

Commands

There are a flurry of debug commands which shall not all be discussed here in detail. If in doubt, consult the source code.

  • /connect status - See connection status of all servers in the network.
  • /connect reload - Reload configuration files and reconnect all connections.
  • /connect ping - Ping a server in the network.
  • /connect players - List online players on each server.

About

Exchange messages between Bukkit servers. Easy to port to other platforms (e.g. Bungee, Forge)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages