Maxride17
Posts: 8
Joined: Fri Jan 01, 2016 3:32 pm

Minecraft Cluster?

Tue Aug 23, 2016 10:18 pm

I am aware that similar questions have been asked, but none of them were very specific. Is it possible to run a Minecraft server on a Pi Cluster, if I have the "Head" of the Pi Cluster host the server, and then delegate different tasks to each Pi? I'd like to create a mod that tells Minecraft how to do it. I want to have each Pi do different things, like perhaps (While using the Multiverse Plugin) one Pi will host one specific world, unmodded, and 1 pi will host a modded world, but only work on Vanilla blocks and items, while another Pi handles all of the modded stuff, and they all send this information back to the "head" of the cluster. I am aware that this isn't extremely efficient. But, can it be done?

Also, slightly off-topic question: Where can I find a cheap server to run something like this for me, in the case that Pis just won't cut it? I don't mean a hosting website. I mean a physical Server that would be located in my house.

Thanks,
Maxey~

User avatar
mikronauts
Posts: 2783
Joined: Sat Jan 05, 2013 7:28 pm
Contact: Website

Re: Minecraft Cluster?

Tue Aug 23, 2016 10:50 pm

Not as a mod.

If you write a distributed Minecraft compatible server from scratch, yes.
Maxride17 wrote:I am aware that similar questions have been asked, but none of them were very specific. Is it possible to run a Minecraft server on a Pi Cluster, if I have the "Head" of the Pi Cluster host the server, and then delegate different tasks to each Pi? I'd like to create a mod that tells Minecraft how to do it. I want to have each Pi do different things, like perhaps (While using the Multiverse Plugin) one Pi will host one specific world, unmodded, and 1 pi will host a modded world, but only work on Vanilla blocks and items, while another Pi handles all of the modded stuff, and they all send this information back to the "head" of the cluster. I am aware that this isn't extremely efficient. But, can it be done?

Also, slightly off-topic question: Where can I find a cheap server to run something like this for me, in the case that Pis just won't cut it? I don't mean a hosting website. I mean a physical Server that would be located in my house.

Thanks,
Maxey~
http://Mikronauts.com - home of EZasPi, RoboPi, Pi Rtc Dio and Pi Jumper @Mikronauts on Twitter
Advanced Robotics, I/O expansion and prototyping boards for the Raspberry Pi

Maxride17
Posts: 8
Joined: Fri Jan 01, 2016 3:32 pm

Re: Minecraft Cluster?

Wed Aug 24, 2016 12:04 am

mikronauts wrote:Not as a mod.

If you write a distributed Minecraft compatible server from scratch, yes.
Can you elaborate please?

User avatar
mikronauts
Posts: 2783
Joined: Sat Jan 05, 2013 7:28 pm
Contact: Website

Re: Minecraft Cluster?

Wed Aug 24, 2016 2:15 am

Google "minecraft server source code"

Look at either Bukkit or Glowstone

Learn about distributed programming

Write a new distributed minecraft server from the ground up, or port an existing one

Without knowing your skill level, ie how much software development you have done, there is no way for me to know if this is a reasonable undertaking for you.

If you are persistent, and willing to learn on your own, it would be a good (and probably quite tough) exercise for you, but you will have to do all the work.
Maxride17 wrote:
mikronauts wrote:Not as a mod.

If you write a distributed Minecraft compatible server from scratch, yes.
Can you elaborate please?
http://Mikronauts.com - home of EZasPi, RoboPi, Pi Rtc Dio and Pi Jumper @Mikronauts on Twitter
Advanced Robotics, I/O expansion and prototyping boards for the Raspberry Pi

Maxride17
Posts: 8
Joined: Fri Jan 01, 2016 3:32 pm

Re: Minecraft Cluster?

Thu Aug 25, 2016 2:06 pm

mikronauts wrote:Google "minecraft server source code"

Look at either Bukkit or Glowstone

Learn about distributed programming

Write a new distributed minecraft server from the ground up, or port an existing one

Without knowing your skill level, ie how much software development you have done, there is no way for me to know if this is a reasonable undertaking for you.

If you are persistent, and willing to learn on your own, it would be a good (and probably quite tough) exercise for you, but you will have to do all the work.
Well, I am persistent if I want it bad enough. And I want it pretty bad. My skill level also is consisted of how much I care.
I can be very good if I want it, or if I don't care I can be super shitty. Either way, I am not very skilled with Java. I love Linux with a passion, but Java isn't something I'm very deep with. Is there a good place to learn? Even if you have to pay?
Thanks,
Maxey~

User avatar
mikronauts
Posts: 2783
Joined: Sat Jan 05, 2013 7:28 pm
Contact: Website

Re: Minecraft Cluster?

Thu Aug 25, 2016 4:25 pm

I found some Java books for you:

https://www.quora.com/What-are-the-best ... learn-Java

You may be able to audit or take some Java courses at a local university, which would probably be the best way to go.

I've been programming since the late 70's in a ton of languages, so I cannot suggest a specific book.

I do wish you success - and if you pull it off, it will look good on your resume!
http://Mikronauts.com - home of EZasPi, RoboPi, Pi Rtc Dio and Pi Jumper @Mikronauts on Twitter
Advanced Robotics, I/O expansion and prototyping boards for the Raspberry Pi

Maxride17
Posts: 8
Joined: Fri Jan 01, 2016 3:32 pm

Re: Minecraft Cluster?

Fri Aug 26, 2016 1:54 pm

mikronauts wrote:I found some Java books for you:

https://www.quora.com/What-are-the-best ... learn-Java

You may be able to audit or take some Java courses at a local university, which would probably be the best way to go.

I've been programming since the late 70's in a ton of languages, so I cannot suggest a specific book.

I do wish you success - and if you pull it off, it will look good on your resume!
Alright, thank you. I'll look into some local colleges. I live in the middle of nowhere, so no universities, haha.


Thanks for all the help!
Maxey~

User avatar
mikronauts
Posts: 2783
Joined: Sat Jan 05, 2013 7:28 pm
Contact: Website

Re: Minecraft Cluster?

Fri Aug 26, 2016 3:19 pm

You are most welcome!
http://Mikronauts.com - home of EZasPi, RoboPi, Pi Rtc Dio and Pi Jumper @Mikronauts on Twitter
Advanced Robotics, I/O expansion and prototyping boards for the Raspberry Pi

User avatar
bensimmo
Posts: 4622
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Minecraft Cluster?

Fri Aug 26, 2016 6:32 pm

eBay or local school/businesses during a computer update cycle.

Should get you a reasonable processor to run Minecraft server on. Or if you are sat at one now, use that for a bit.

Your network connection to the internet may be a limiting if you are not just using it in an internal LAN.
For that have a read here and the links, once you know how it runs and works...
http://minecraft.gamepedia.com/Tutorial ... p_a_server

As you a writing a custom server you are not limited to Java and you'll also need to keep it up to date as new version run. Or target the win10/console/portable setups and not the large PC setup.
You may find asking these people will know a lot more http://minecraft.gamepedia.com/Custom_server_list

Return to “General discussion”