MCNet
MCNet 1.2.2 Beta
MCNet is a Bukkit-Plugin which allows players to establish multi-server, redstone connections, provides a multi-server-chat and inventory sharing.
NOTE: This plugin requires PORT-FORWARDING in order to establish connections on different machines in different networks!
If you ran MCNet on previous versions note that you have to delete strings.txt and config.yml from the plugins directory in order to use 1.2. The plugin creates the new files automatically.
Features
- Wireless Redstone via sign.
- Global-chat-channel which is only visible for players who joined the channel.
- Inventory sharing.
Comming soon
- Sending items (with vault support: also money) to players on client-servers.
- A command to list all players in global chat and all servers connected to the main-server.
Installation
Setting Up MCNet:- Just read the "InstallInstructions.txt" contained in the *.zip
How to set up a device:
- Place a sign on the ground (not on a wall(I'll explain that later))
- Write the following on the sign:
- FirstLine: [MCNet:(IN or OUT)]
- SecondLine: device-id (may only contain numbers)
- ThirdLine: device-group (may only contain letters(upper- and lowercase))
- FourthLine: device-password
- If you get the message "(Input/Output) device saved", it worked.
How to use the chat
Just type /mcnet join. You'll receive a message that you joined the global chat. Within this chat you'll see messages from everyone in the global channel, on every server connected to your own via MCNet. To leave the channel just type /mcnet leave. You can disable/enable the chat for certain permission-groups, using the "mcnet.chat" permission-node or disable it completely by using the config-file.
Inventory sharing
You don't have to do a thing for inventory sharing to properly work, no SQL or the like. If you're facing issues or you just want inventory sharing disabled, you can switch it off in the config-file.
PermissionList:
Uses the build-in bukkit permissionssystem- mcnet.admin - Grants you acces to all commands
- mcnet.chat - allows you to use the chat
CommandList:
aliases: /mn, /mnet- /mcnet start - starts the MCNet-main-server (Alias: "startserver")
- /mcnet stop - stops the MCNet-main-server (Alias: "stopserver")
- /mcnet cc - connects you to the main-server (Alias: "conclient")
- /mcnet dcc - disconnects you from the main-server (Alias: "discclient")
- /mcnet join - joins the global chat (Alias: "j")
- /mcnet leave - leaves the global chat (Alias: "l")
- /mcnet state - Shows you the connection state of server and client (Alias: "s")
- /mcnet help - Shows a help dialog (Alias: "?")
- /mcnet reload - Reloads the config file.
It is quiet hard to thoroughly test the behaviour of MCNet (multiple clients connected to one server) on just one computer. So you'd help me alot if you report any errors within the BukkitDev-ticket-system. To make the process of finding the error easier, enable debug-mode in the config-file and try to provoke the error, then send me the whole content of your console(from startup to the occurance of the error).
I hope you find MCNet usefull!
Greetings,
maxp0wer
@rockxz3
You can disable the chat via config, the remote devices don't use any server ressources if they are not used, anyway I'll add an option when I update mcnet for 1.4.7-R1.0.
greetings maxp0wer
@77tontos
I also need what you request
Ok so i want this plugin just for inventory sharing. Is there a way to disable all other features? When 1 player logs into 1 server they will have the same inventory as server 2? - Thanks
@Ranetha
/mcnet state should be the more accurate one. If the messages aren't correct let me know.
I thought the directory structure inside the .zip archive should be self-explanatory, but I'll add it to the description. The wrong command description is obviously a typo :P, ill change that too.
I don't have an error yet, but I can comment that this plugin is no where near as easy to get working (something I have failed to do already) following the instructions above:
for example:
the library folder has to be included in the server /lib folder or plugin will not load
using the commands above will give you all sorts of messages about being connected when, in fact, /mcnet state shows clearly the opposite. So which is accurate?
/mcnet leave doesn't "join" the global chat as is mentioned above, but actually leaves it....
I'll keep testing this until I can actually figure out if I've broken or not setup anything correctly, but so far, I've had no success, and nothing above suggests it should be anything but simple.
@Bimmr
looked into it, 5 seconds later
"Includes client patcher for automatically reconnecting clients" http://dev.bukkit.org/server-mods/transporter/
You need client based code to reconnect. But i'll add spout support to reconnect players to connected client servers. With the spout API it's actually quiet simple.
@maxp0wer789
Well i saw this plugin called transporter and it uses a Craftproxy(Not sure what that even is :P) But apparently that works too and the players don't need anything on their part BTW i'm talking about cross- server tp
@xvenom1291x
Added inventory sharing
@roelmb
You can already share inventories between servers using MySQL. You just got to grab a plugin like MultiInv. From there, you can connect both servers inventories by using the same Database. Having that already built into this plugin would be convenient on the other hand and increase it's usefulness for those who run multiple servers.
@FrostedDarkness I can't imagine how that should work actually, as soon as u disconnect a player (and you'll have to if you want to reconnect him to another server) the plugins loses controll over him. So those servers have to use CLIENT mods (like Spout) to get it done.
@cocoson sure I'll upload some pictures
@maxp0wer789
No, not impossible. Take a look at a server like Shadowraze and LegendaryCraft, they've done cross server teleportation without server mods.
hey is it possible to get some screen shots or video up so i can see what it looks like before i download it
Inventories should be possible, but we're currently working on different projects so we have not much time to update not to mention implementing new features. Server change is simply impossible without a modified client like spout.
It would aslo be great to share inventories between servers or even teleport between servers. Multiworld but then with more then one server. Going to a porta bringes you to another server. But you keep inventory and other configured stuff. This would give thr possibilty to make a giant server network.