xServerChat
XServerChat
Description
XServerChat (pronounced Cross Server Chat) is a plugin that links the chat of multiple servers together. It makes it so when someone chats on one server, all other servers connected to you through the xServerChat plugin will receive the messages too.
Setup
Place the xServer.jar in the plugin folder of all the server that want to connect. Start the servers and the default config will be created. Now you can begin setting up. One server is the host and the others are clients. For the host server follow the below steps, otherwise continue down tho the client setup
Host
- set 'host' to 'true'
- set 'ip' to 'localhost'
- set the 'port' to a open port on your server. this will be where the other server connect to you
- change the 'prefix' and 'serverName' to your liking
Other Servers
- set 'host' to 'false'
- set 'ip' to the ip of the host server
- set the 'port' to the port of the host server
- change the 'prefix' and 'serverName' to your liking
after setting up the config, reload or restart and you should be able to start chatting cross server!
Commands
you can use '/xserver' or '/x'
- '/x list' - List all the servers that are connected
- '/x dc' - Disconnect (/x disconnect)
- '/x rc' - reconnect or reload the connection (/x reload)
- '/x host dc' - Stop the server (host only) (/x server disconnect, /x server dc, /x host disconnect)
- '/x host rc' - reload the server (host only) (/x server reload, /x server rc, /x host reload)
- '/x v' - get Version info (/x version)
Changelog
Beta 0.1.12
- Fixed config problem
Beta 0.1.11
- fixed a bug where if you reloaded twice it would crash with some nasty console and log spam
- +stared working on custom formatting
Beta 0.1.10
- Added messages on Death, Join and Quit
- added version command
- Fixed Bugs
Beta 0.1.1
- Fixed bugs
- added command
Version 0.1
- Initial release
Todo
- List players on other servers
- permissions
- add option to disable formating
Download
To download the latest version, click Here
Source
Since I don't have time to update this plugin right now, i have decided to release the source. I'm not sure how up to date this src is and i ant access the computer with the full src on it right now, but this should be the latest.
Can u make it going by permissions? where only people with permission such as xserver.chat or something can see and talk to others? Cause i host 2 servers and i just want to be able to talk to mods and admins.
@xdeathoreox
Thank you for the paste. This problem was fixed in the next update. check out the new version, custom formatting has been added https://github.com/Double0negative/xServerChat/blob/master/xServerChat/xServer.jar?raw=true
Here you go.
http://pastebin.com/ftS63mf5
Check out the latest update ive fixed all of the know bugs and added some cool features (Newest Version)
@joshwenke
Check the config for the prefix option :)
@xdeathoreox
I belive i fixed this bug late today, check out the newest version here and lmk if that works or not
Color, Message formatting etc is planned :)
How do you make it so not all message go to the other server? When I type in /x dc (I am not the host server) nothing happens and the other server can still see my messages. And when the host server does /x host dc , nothing happens. What do?
Also, is there color support?
Awesome!!
Can you add a prefix function so you know which server the player is on?