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:
@MinecraftLegends_us
thats not the latest verion the latest verion may take up to 24 hours to be approved
Same error. Here is the full error:
20:42:42 [SEVERE] Cannot load plugins/SimplyConnect/config.yml
org.bukkit.configuration.InvalidConfigurationException mapping values are not allowed here
in "<string>", line 4, column 9:
host: localhost
^
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175)
at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:117)
at org.bukkit.plugin.java.JavaPlugin.getConfig(JavaPlugin.java:111)
at com.aim.coltonjgriswold.SimplyConnect.onEnable(SimplyConnect.java:43)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugin(CraftServer.java:284)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.enablePlugins(CraftServer.java:266)
at net.minecraft.server.v1_6_R3.MinecraftServer.l(MinecraftServer.java:315)
at net.minecraft.server.v1_6_R3.MinecraftServer.f(MinecraftServer.java:292)
at net.minecraft.server.v1_6_R3.MinecraftServer.a(MinecraftServer.java:252)
at net.minecraft.server.v1_6_R3.DedicatedServer.init(DedicatedServer.java:152)
at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:393)
at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
@MinecraftLegends_us
.-. well i uploaded an updated version a little while ago it is the same setup but it should fix the issue if not keep me updated with the issue
options:
server:
host: localhost
port: 1
isMain: true
chat:
joinMsg: '[&6{group}&f][&6{name}&f] &6Has Entered'
leaveMsg: '[&6{group}&f][&6{name}&f] &6Has Exited'
joinMsgEnabled: true
leaveMsgEnabled: true
servers:
link: localhost/1
chat:
format: '[&6{server}&f][&6{group}&f][&6{name}&f]&f:'
percentMaxCaps: 50.0
I replaced localhost with the actual IP thinking it would fix the error but it did not.
@MinecraftLegends_us
show me your config setup
Getting this error with the default config generated by the plugin itself:
org.bukkit.configuration.InvalidConfigurationException: mapping values are not allowed here in "<string>", line 4, column 9: host: 192.168.1.127 ^
@offworldexpress
when you link a server you must specify all servers in every config that you set up or else it will not work
Say I set up the config with host as localhost, port as 1 for first server and 2 for second server. I made the link part for the first server localhost/2 and for the second server localhost/1. I am not able tp send chat through the server I am on or the other server.
Please Help If You Can, Thanks
@Arton123
PM me your ip of the servers, how many servers, and a config
@ColtonGriswold
Alrighty man, if we have dns'ed our ip, to text can we still use that?
Nope dosen't work this might just not work correctly with mcpc+ http://www.mcportcentral.co.za/
@Arton123
Since it is dedicated the specified host would be the IP of your server, try that and see if it works.
@Arton123
Hmmm...
@ColtonGriswold
dedicated server, they are both hosted on the same server.
@Arton123
It may be your firewall... are you running it off your computer?
Server 1
<<code lua>>
Server 2
@Arton123
send me the new config k
@ColtonGriswold
Nope won't work, error http://pastebin.com/5N8PMRdu and im not able to write in chat.
@Arton123
Instead of 127.0.0.1 try local host and the server one link ip contains ':' which should be '/'
@lecraeman
In the future I may add more functionality
Is there a possible way to make this same thing, but just with portals?
I really need something that can JUST make server to server portals...