SimplyConnect
Information
Doing A Complete Code Overhaul
What is the purpose?
The purpose of this plugin is to connect two or more servers together using sockets, mostly chat.
Why is this needed?
This plugin was made because there are not really any simple cross server chat plugins out there. This plugin is perfect for proxy servers!
What are the features?
Request Features Here
Features include:
- Cross server chat functionality
- Anti-Caps functionality
- Customizable chat format
- Permissions Supported!
- Color codes supported!
- More to come!
Usage?
First download Vault and a supported Chat Plugin To use the plugin just drag and drop into your plugins folder. After the first run a default config will be loaded. This contains customizable options such as chat format and servers to connect to! (Servers You Want To Connect To Must Have This Plugin Enabled!) To test if the setup works: OPTION ONE: Go on one server and say something then check the console of the other for your message same with the first console. OPTION TWO: Get plenty of people and go on different configured servers and start chatting...
Commands?
- /sc chat [on|off] (turns chat on or off)
Setup?
With the simplicity of the plugin setup can be a bit confusing though it is easier then I will make it sound. Refer to the following config for help or message me for help. Also config variables can be found here: Variables
Config Setup
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # [SimplyConnect] 2.2 Configuration options: server: host: 127.0.0.1 #(The IP of this server, default is localhost ip) port: 1 #(Any open port) isMain: true #(If this is main server chat: joinMsg: '[&6{group}&f][&6{name}&f] &6Has Entered' #(The join message format) leaveMsg: '[&6{group}&f][&6{name}&f] &6Has Exited' #(The leave message format) joinMsgEnabled: true #(Is join message enabled?) leaveMsgEnabled: true #(Is leave message enabled?) connections: #(Servers to link together) servers: - 'ip/port' - 'ip/port' - etc... chat: format: '[&6{server}&f][&6{group}&f][&6{name}&f]&f:' #(Chat format) percentMaxCaps: 50.0 #(Max percentage of capitals allowed per chat entry) |
Want To Help?
If you would like to help with this plugin, just send me a private message and say what you want to help with and why
Issues?
Post Issues Here
Other Notes
- Implements Plugin Metrics To Collect Data <sub>(Can Be Opted Out Of By Editing The Config In "/plugins/ Plugins Metrics/config.yml")</sub>
- Plugin Metrics Collects:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
- Plugin Metrics Collects:
@ColtonGriswold
No, it still doesn't work, and btw my online-mode is set to true too ;(
@TheIncredibleQ
Does it still not work?
@ColtonGriswold
My firewall is disabled and my java security is set to the minimum.
@TheIncredibleQ
Check your fire wall, something is blocking the servers from connecting because of security checks
I can't seem to connect my two servers, and this is the error I get in my console:
[01:40:25 WARN]: java.net.BindException: Permission denied [01:40:25 INFO]: [SimplyConnect] Version 2.1 Enabled! [01:40:25 WARN]: at java.net.PlainSocketImpl.socketBind(Native Method) [01:40:25 WARN]: at java.net.PlainSocketImpl.socketBind(PlainSocketImpl.java:521) [01:40:25 WARN]: at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:414) [01:40:25 WARN]: at java.net.ServerSocket.bind(ServerSocket.java:326) [01:40:25 WARN]: at java.net.ServerSocket.<init>(ServerSocket.java:192) [01:40:25 WARN]: at java.net.ServerSocket.<init>(ServerSocket.java:104) [01:40:25 WARN]: at com.aim.coltonjgriswold.SimplyConnect$1.run(SimplyConnect.java:178)
My SimplyConnect config for the two servers are: [brackets for server 2]
My server 1 is running on port 25565 and 2 is running on 25555. They are able to run simultaneously, and this error does not affect my servers in any way, except that you cannot chat and the console throws in the same error when you try. They can both be joined properly anyways, server 1 at localhost:25565 and server 2 at localhost:25555. Please help me :(
Is it possible to connect TAB's connected users?
@borncorp
Thanks for the feedback!
Awesome plugin, really easy to set up. Channels would be nice, like doing /a to toggle admin chat or doing /a msg and have players with a permission node be able to talk privately there.
@GalacticOne
Thank you very much for the positive feedback :D I will see what I can do!
Finally found a decent plugin that works nice job.It was easy to setup and hooks into my permissionex group suffix and prefix.
One suggestion is there a way to allow /msg or some other command like /sc msg to message from one server to another. and setting it up to allow the person receiving the message to see what server its coming from.
PS. your request feature does not seem to be working it says i don't have access
@guidoowner
External
External or internal ip?
@guidoowner
If its a dedicated hosted server you need to use the server ip not local host
All my servers are hosted on one dedicated server so localhost should work? or should it be localhost:portoftheminecraftserver?
I would like to chat with u on skype because its easier.
my skype is: flexyguido
@guidoowner
The host should be the ip of the server with that plugin. Try changing it alright?
Could u maybe explain the config more? i put this on 2 of the server on my bungeecord network and it wont work the chat is disabled. My configs: Config 1:
Config 2:
@LordEcchi
No, Not Sure, And No. I will see If I Can Hook It Too Hero Chat Since You Suggested It.
Two questions. Can this hook into Herochat 5? I'd like for all the chat coming from a secondary server to be put into a separate channel so that users can choose to /leave and not see it. And secondly, is there any way I could get this to work with a Tekkit Classic server? The oldest download is for mc version 1.5.something, but Tekkit classic is at 1.2.5. Will it work if the MC version is so low?
One other thing, does this link the players online listing? if I do /list is it possible to see all players on all servers?
@rustymetal
Please Elaborate.
I haven't tested this plugin yet, but is there a way to include world names? actually, It would be nicer if you could just pre-fix the chat with and pass the vars to essentials or evaluate format from vault?