Hello, I just registered here so others know, perfectly mod admins, that I found the bug that crashes the Magic Farm 2. It's either Plastic Bag from Minefactory Reloaded or Filling Cabinet from Extra Utilities. When you put Filling Cabinets inside the Plastic Bag you will crash on exiting the GUI.
In my case I had the Plastic Bag opened and filled with: Filling Cabinet in first 3 slots, Advanced Filling Cabinet in 4th slot and 5 Filling Cabinets in the last slot. All cabinets in first 4 slots were filled with stuff too.
I ran into End of Stream error on the server but were able to snap out of it.
In case, this isn't gonna be fixed any time soon, the fix is to open your player .dat file that you can find in the server files in /world/players section. Use NBTExplorer for the fixing the problem. Search for Inventory section and find the ID of the Plastic Bag. For me, ID of the Plastic Bag in the NBTExplorer was different than the ID in the Minefactory Reloaded config file. I found it since I knew in what slot my character was holding the Plastic Bag before it crashed. Then cut the items from the "Plastic Bag" and paste them into the Inventory section. If this doesn't work correctly and replaces those items with other items in your inventory, there's also a way of figuring what slots are empty and pasting items into those empty slots.
Each item in your inventory has a binary attribute called 'Slot'. Search through the other items in your inventory to find out which slots are occupied. Valid slots for items are between 1 and 35. For each of the items that you pasted to your inventory, add a new binary tag named "Slot" and assign the value of a slot to it that is not occupied
Hope I helped guys in the future. Cheers!