A helper for communicating between BungeeCord and Bukkit, intended for developers' own servers and requires pre-deployment. Compared to PluginMessage, it may be easier to use, and most importantly, it can work without any proxy players.
Emm, I started planning to make a replacement tool as soon as I found out about the proxy player limit in PluginMessage, but I needed to transfer info between different servers to the bots on my social platforms anytime. That's why this tool is so rough — didn't want to bother with authentication, so I just stripped it down to only work on localhost.
But it's enough! It can solve some problems and make wrappers to provide more convenience for developers.
Attention! Before you start, you need to understand whether it fits your needs.
This is a plugin that needs to be pre-deployed and requires full server support. It will not work at all if you just shade it.
<!-- To be continued (if CodeMC access this repo, we will update it) -->Groovy DSL:
//To be continuedKotlin DSL:
//To be continuedThe root API interface is LocalhostBridgeCoreAPI. You need to obtain an instance of this interface in order to do anything.
Just invoke this:
LocalhostBridgeCoreAPI api = LocalhostBridgeCoreAPIProvider.getAPI();It can be used on BungeeCord or Bukkit platform with the
All relative methods are in the instance of LocalhostBridgeCoreAPI. You can choose whether needing reply or not.
Use the api.getListenerManager() to get an instance of ListenerManager, which contains the basic event-method such as subscribe(args) and unsubscribe(args).
The custom listener require to override abstract method of ChannelListner.
All of api operating can be invoked at primary thread.
We will keep updating docs. Thanks for reading.
- Support Velocity platform. We don't have enough reasons to reject a young project.
- Support Folia-Paper. The work will update in next version soon.