Copy and slight adaptation of mineserv for FTB server