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.
And it started working again out of the blue. One min it not working people are talking and then it started sharing the chat again. Weirdest thing.
Seem this plugin has stopped working in 1.4.5. Anyone else have an issue?
this is amazing some one plz update it.
I try to take over the project ...
Damn, I want this, alas it is not up to date.
not working for me in 1.3.1
passes join/quit between servers, but doesnt pass chat
also when using /x
This is a great plugin, but I keep getting the following error:
2012-08-23 12:40:04 [SEVERE] [xServer] Malformed Packet 2012-08-23 12:40:04 [SEVERE] java.lang.IllegalArgumentException: Illegal group reference 2012-08-23 12:40:04 [SEVERE] at java.util.regex.Matcher.appendReplacement(Unknown Source) 2012-08-23 12:40:04 [SEVERE] at java.util.regex.Matcher.replaceAll(Unknown Source) 2012-08-23 12:40:04 [SEVERE] at java.lang.String.replaceAll(Unknown Source) 2012-08-23 12:40:04 [SEVERE] at cbp.double0negative.xServer.XServer.format(XServer.java:274) 2012-08-23 12:40:04 [SEVERE] at cbp.double0negative.xServer.client.Client.parse(Client.java:71) 2012-08-23 12:40:04 [SEVERE] at cbp.double0negative.xServer.client.Client.run(Client.java:59)
Also, command support and server player listing would be great.
Dude awesome plugin really! Just one request. Make a command that allows you to run commands on the other server.
@BearFather
You have to disable the Faction Tag colors. I did this on my server because Dynmap chat was not showing up on the web.
Great plugin. its sending all chat channels though. so admin chat gets sent to the other server.
Thanks for this plugin! We have our Survival server (host) connected to Creative and Tekkit servers. Very helpful!
@BearFather
i'm having trouble i have multiple servers that i am looking to connect and one sends and receives death messages and can recieve chat from other servers however it is not broadcasting on the network. are there any known conflicts?
@mrvertigo27
Still works for me.
is this still functioning?
Keeps saying failed to send packet on client
and nullpointers on server
Sorry guys, been really busy on my new plugin and havent had much time to work on this one.
@Double_0_negative
Amazing plugin! Would it be possible to do cross server commands though? (for one link only) Maybe a command like /xc [COMMAND]
hey there im having trouble connecting multiple servers i got two connected fine but when i try my third server for some reason it wont let me do /x rc or any command we have the hosting server up all the time and i can see people join on the the other server but no messages from main to third server? sorry im really bad at explaining things hope you understand what im trying to say
I have no clue. I hate java and tried 3 times to learn it. I'll stick to my php and javascript:) But if you need a test subject just holler and I can help out.
@BearFather
hmm, if it cancels the chat event then im not sure how else i would implement it. maybe i could use the Commandpreproccess event